All posts by Tuna Peyo

whereis command

May 27,93

The whereis command in Linux is used to locate the binary, source, and manual page files for a command. This command searches for …

Read More

Determine file type

May 27,93

To determine the file type in Linux, we can use the file command. This command runs three sets of tests: the filesystem …

Read More

Count lines in a file

May 27,93

wc (short for word count) is a command in Linux that displays a count of lines (newline characters, to be …

Read More

Search for files using locate

May 27,93

The locate command searches a database of filenames in Linux. Unlike the find command, which can find files by permissions, …

Read More

Search for files using find

May 27,93

The find command is used in Linux to search for files in the directory tree starting from the location specified. …

Read More

Search for text strings using grep

May 27,93

The grep tool is used to locates files by scanning their content. You can search a single file or a whole …

Read More
Geek University 2022