Remove Empty Lines From File in Linux
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...
Get List of Groups in Linux
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...
Use sudo Without Password in Linux
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...
Generate SSH Key Pair in Linux
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...
View Content of Tar Gz File Without Extracting in Linux
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...
3 Methods to Get Current Working Directory on Windows
When working with files and directories via command line on Windows, may be useful to determine current working directory. It is directory in which the user is currently working in....
2 Methods to Get Public IP Address on Windows
When trying to solve network connectivity problems, may be useful to know public IP address of the machine. A public IP address is an IP address which is used for...
Get Public IP Address in Linux
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...
2 Methods to Get Current Working Directory in Linux
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...
Show Hidden Files and Directories in Linux
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...