Create Directories Recursively in Linux
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...
Get Group ID (GID) in Linux
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....
Get User ID (UID) in Linux
In Linux system, each user is identified by unique identifier known as user ID or UID. It is used to determine which system resources the user can access. This tutorial...
Find Which Groups User Belongs To in Linux
In Linux system, a group is a collection of users which have the same permissions on files and directories. When troubleshooting problems related with access rights, can be helpful to...
Schedule Reboot Regularly in Linux
System reboot resets all processes, free up memory, remove temporary files, etc. It can reduce system loads. This tutorial shows how to schedule reboot regularly in Linux. To reboot Linux...
Find Files that Contains Specific Text in Linux
When working with files in Linux, there may need to find all files that contains a specific text. This tutorial shows how to do that. The grep command can be...
Change File Permissions Recursively in Linux
When working with filesystem in the Linux, there might be a situation that unable to create or edit file due insufficient permissions. This problem can be solved by setting the...
Extract Tar Gz File in Linux
A tar is an archive file (.tar) for storing collection of files and directories. Various algorithms can be used to compress a tar archive file. The gzip algorithm is one...
Create Tar Gz File in Linux
A tar is an archive file (.tar) to store collection of files and directories. A tar archive file can be compressed using various algorithms. The gzip algorithm is one of...
Check How Long Process Has Been Running in Linux
When monitoring processes in Linux system, can be useful to know how long process has been running. This tutorial shows how to determine that. First of all, find process ID...