When working with file manipulation in Linux system, may needed to remove empty lines from a file to make it easier to read or to be processed further. This tutorial...
When working with Linux system as a administrator, may need to get a list of all groups in the system or to count the number of groups. This tutorial explains...
When executing commands as sudo user in Linux, the system asks to provide password for authentification. It might be annoying when system is used for testing purpose. This tutorial shows...
SSH keys can be used to establish a secure connection to remote host using SSH protocol. SSH supports password-based authentication, but recommended to use SSH keys instead. This tutorial demonstrates...
A tar is an archive file (.tar) that allows to store collection of files and directories. A tar archive file can be compressed using various algorithms such as gzip. By...
When troubleshooting network connectivity issues, may be helpful to know public IP address of the machine. A public IP address is an IP address that is used for communication between...
When working with files and directories in Linux, can be useful to determine current working directory. It is directory in which the user is currently working in. This tutorial provides...
In Linux systems, files and directories starting with . (a dot) are hidden. Commonly, hidden files and directories are used to prevent accidental changes to them. This tutorial provides a...
When working with filesystem in Linux, may need to create a new directory in another directory which does not already exist. A process that creates a specified directory and parent...
In Linux system, each group is identified by unique identifier known as group ID or GID. It is used to determine which system resources users of that group can access...