PDFprof.comSearch Engine CopyRight

Whereis command linux


whereis command is used to find the location of source/binary file of a command and manuals sections for a specified file in Linux system.

What is the ~/ in Linux?

~/ (tilde slash)\n\n The tilde (~) is a Linux "shortcut" to denote a user's home directory. Thus tilde slash (~/) is the beginning of a path to a file or directory below the user's home directory. For example, for user01, file /home/user01/test. file can also be denoted by ~/test.

How do I use find command in Linux?

Finding files by name is probably the most common use of the find command. To find a file by its name, use the -name option followed by the name of the file you are searching for.

What is the difference between which and whereis command in Linux?

The where, whereis and whatis commands provide useful summaries of commands, showing where the executables are located and pointing to the relevant man pages. The which command can also verify which executable you are using when you type a command name.