When working with files in Linux, there might be needed to add text at the end of the file without deleting its content. This operation is known as text appending...
When working with file processing in Linux system, may needed to remove duplicate lines from a file. It can be useful with log files which often contains repeated lines. This...
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...