Quantcast
Channel: nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format (RSS/FEED)
Browsing all 2612 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Bash see if an input number is an integer or notnixCraft

While working on the bash shell script wrapper, I needed to ensure that I only passed an integer in the Bash script under Linux and Unix-like systems. Here is how to check if a number is an integer in...

View Article


Image may be NSFW.
Clik here to view.

How to upgrade OpenSUSE 15.4 to 15.5 using the CLInixCraft

The latest version of OpenSUSE Linux, version 15.5 "Leap," has been released. This version offers unparalleled stability due to its use of the SUSE Linux Enterprise (SLE) source and community...

View Article


Image may be NSFW.
Clik here to view.

How to upgrade Debian 11 to Debian 12 bookworm using CLInixCraft

Debian Linux 12 "Bookworm" has been released. The new version offers updated packages and five years of support. This page provides a step-by-step guide to updating Debian 11 Bullseye to Debian 12...

View Article

Image may be NSFW.
Clik here to view.

Alpine Linux fatal error: ncurses.h: No such file or directory fixnixCraft

When I try to compile a program on Alpine Linux, it fails with the following error: app.c:1:10: fatal error: ncurses.h: No such file or directory 1 | #include | ^~~~~~~~~~~ compilation terminated.Love...

View Article

Image may be NSFW.
Clik here to view.

How to restart network service in Alpine LinuxnixCraft

You need to restart the network service in Alpine Linux using "/etc/init.d/networking restart" command to activate the network configuration defined in the /etc/network/interfaces config file. Do not...

View Article


Image may be NSFW.
Clik here to view.

How to view the open file limit for a Linux processnixCraft

Do you need to view the open file limit for a Linux process? Try "limits" files in /proc/${PID} directory with its process ID (PID) or ulimit command or prlimit command to see the open file limit for a...

View Article

Image may be NSFW.
Clik here to view.

How to install ZFS in Debian 12 “Bookworm”nixCraft

Here is a quick tutorial on installing ZFS support in Debian Linux 12 "Bookworm" using "apt" or "apt-get" command-line option.Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp -...

View Article

Image may be NSFW.
Clik here to view.

How to kill process or user by tty name in LinuxnixCraft

Sometimes we must kill a process or user account by tty name in Linux. It would be best if you used w command or who command to print users accessing tty and then run the pkill command against...

View Article


Image may be NSFW.
Clik here to view.

How to open a TCP port 43 for whois command using iptablesnixCraft Updated...

{Updated} Do you need to open a TCP port 43 for outgoing whois command for communication using iptables command/ufw command/Firewalld? Fear not. You can add a rule to allow incoming or outgoing traffic...

View Article


Image may be NSFW.
Clik here to view.

How To Set Up a Firewall with UFW on Debian 12nixCraft

If you're using Debian 12, you can easily manage your firewall with the help of Uncomplicated Firewall (UFW). UFW interface simplifies firewall management and handles the complexities of packet...

View Article

Setting up VSCode for Ansible Lightspeed AI in Ubuntu 22.04 desktopnixCraft

Red Hat launched the Ansible Lightspeed Code Assistant Generative AI with IBM Watson Code Assistant in May 2023. This preview is now available to all Ansible users, allowing them to explore the...

View Article

Debian Linux 12.1 released with Security UpdatesnixCraft

Debian Linux project announces the first update of the Debian project's stable distribution, Debian 12 (codename "bookworm") named Debian 12.1. This update mainly addresses security issues and...

View Article

Image may be NSFW.
Clik here to view.

How to check for ssh connectivity in a shell scriptnixCraft

Let us see how to check for ssh connectivity in a shell script running under macOS, FreeBSD, or Linux/Unix desktop using BatchMode=yes and ConnectTimeout=$VALUE options. This simple trick helps write a...

View Article


Image may be NSFW.
Clik here to view.

How to check for Wayland or Xorg (X11) Linux desktopnixCraft

Am I using X11 (Xorg) or Wayland? Here is how to check for Wayland or Xorg (X11) Linux desktops using the CLI and GUI options.Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp -...

View Article

Image may be NSFW.
Clik here to view.

How Do I install .deb Packages in Ubuntu Linux Using the CLI or GUI?nixCraft...

{Updated} You need to use the dpkg command or apt-get command/apt command, which is a package manager from shell/command prompt under a Debian and Ubuntu Linux. You can use this tool to install, build,...

View Article


Image may be NSFW.
Clik here to view.

How to Mount NFS File System in Ubuntu LinuxnixCraft Updated Tutorials/Posts

{Updated} NFS (Network File System) client allows you to access the shared directory from the Linux client. The computer sharing the directory is called the NFS server (it can be a NAS server, too),...

View Article

Image may be NSFW.
Clik here to view.

How to run script after mounting NFS with systemd in LinuxnixCraft

If you need to execute a shell script or command following the mounting of a particular file system in Linux using systemd, you can do so. For instance, you can run a backup task when a USB hard disk...

View Article


Image may be NSFW.
Clik here to view.

Howto Find Out or Learn Harddisk Size in Linux or UNIXnixCraft Updated...

{Updated} There are many ways to show btrfs, zfs, and ext4/3 disk info in Linux and Unix. Here are a few of the most common commands for developers and sysadmins to find out their hard disk size using...

View Article

Image may be NSFW.
Clik here to view.

How check or see laptop battery health in LinuxnixCraft

There are a few ways to check your Laptop's battery health in Linux. Here are a few methods that use the upower and acpi commands to check your Laptop's battery health in Linux, such as battery...

View Article

Image may be NSFW.
Clik here to view.

Debian/Ubuntu Linux show package changelog commandnixCraft

Are you interested in checking the changelog of a package on Debian or Ubuntu and Linux Mint? You may need to search to see if the particular CVE (Common Vulnerabilities and Exposures) is fixed....

View Article
Browsing all 2612 articles
Browse latest View live