Detach process from parent on Linux

Detach process from parent on Linux

Every program you run from your working shell is, to the Linux system, regarded as a process. Each process, except init, has its parent identified by PPID (parent process ID). When you start a process using your current shell, the shell itself becomes a parent for your newly started process. The trouble with this approach is that this may not always be desirable, since when the parent process is terminated, its child dies with it.

Read more

Resolving the bash: netstat: command not found error on Debian/Ubuntu Linux

inxi installation and usage on Ubuntu/Debian

The inxi Linux command can be used to see various system information and other handy bits of data right from your terminal. The command is ordinarily not installed by default. However, it is a small software package that provides access to the command, and it proves especially useful to system administrators and power users.

Read more

Retrieve Weather information using Linux command line

Retrieve Weather information using Linux command line

Although most Linux users will use a GUI tool to retrieve weather information, it is also possible to do get a weather forecast from the command line. Whether you are stubborn command line user or you wish to automate flower watering using your Linux system and cron, there are several different options that can do the job. Some tools even allow you to retrieve information such as current outside temperature, wind, pressure, humidity, altitude, and more, directly from your Linux terminal.

Read more

Resolving the bash: netstat: command not found error on Debian/Ubuntu Linux

bash: netstat: command not found – Debian/Ubuntu Linux

The netstat Linux command is used by system administrators to see information about network connections. Netstat is a powerful utility that can print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships. It has been superseded by the ss command in recent years, but is still a viable tool for network diagnostics and troubleshooting.

Read more

Ubuntu 22.04 GPG error: The following signatures couldn’t be verified

Ubuntu 22.04 GPG error: The following signatures couldn’t be verified

The Ubuntu 22.04 GPG error: The following signatures couldn't be verified is the most common error when attempting to include third party package repositories to the apt package manager. The GPG error should rather be treated as a warning against potential package installation from unknown sources. Therefore, the GPG error message prompts the user to verify and manually import the third party signature belonging to relevant package developer.

Read more

Managing kernel modules on Linux

Basic Linux Kernel commands for module administration

The kernel of a Linux system is the core that everything else in the operating system relies on. The functionality of the kernel can be extended by adding modules to it by use of a specific Linux kernel commands. As such, a user can fine tune their kernel settings by enabling or disabling modules. This level of granular control is one of the many reasons why users love Linux in the first place.

Read more

Installing and using the ifconfig command on Debian

How to install missing ifconfig command on Linux

Most of us longtime Linux users have the ifconfig command seared into our brain, after years of repetitive use. It comes as a shock to some when they type the command and are met with an error message (ifconfig command not found). Indeed, the command has become deprecated, but it’s still possible to install ifconfig command.

Read more

Linux command line presentation

Linux command line presentation

There is no need to install tons of software in order to create a nice and informative presentation. tpp, which stands for Text Presentation Program is a simple to use command line presentation tool which allows you to create a fancy text based slide show presentation and share it with your colleagues or students as an ordinary ASCII text file. tpp utilizes ncurses, and it supports colors, slide-in, source code output, animated command line execution and a real time command executions all available from within your terminal.

Read more