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...
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...
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...
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...
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...
Directories can contain a lot of files. When working with filesystem, may need to determine how many files are in a given directory and subdirectories. This tutorial shows how to...
Directory can contain many subdirectories and files inside it. When working with filesystem in Linux, might be need to remove all files and subdirectories contained in a directory. This process...
When working with files in Linux, there might be required to clear the contents of a file without deleting file itself. One way to achieve that would be to open...
In Linux operating system all executed commands are tracked and stored in the history file. It can be used to view and recall the past commands. However, for security reasons...