🔆Whatis command in Linux🔆 by @hackfluentz
The whatis command is used to get brief information about Linux commands or functions. It displays the manual page description in a single line of the command that passes with the whatis command. It searches for the strings that have been passed with it from its index databases. Its index database is maintained by the mandb program.
The whatis command selects a short description of the 'NAME' section in the manual page of the commands passed with it. It facilitates various command-line options to assist the user in getting a short description of the specified command.
〽️Syntax:
whatis [-options]
To understand the whatis command, first, understand the manual pages:
〽️What are the manual pages?
Manual pages or man pages are one of the most useful resources to learn about a particular command from the terminal. A man page of a command contains a lot of descriptions about the command. There may be a time when you stuck while executing a command; in such cases, you can simply access the manual page to get more information about that command.
〽️To explore a manual page of any command, execute the command as follows:
〽️man command_ name
The above command will work for all the Linux commands. Consider the below output:
〽️Whatis command in Linux
The above output displays the manual page of the cat command. Similarly, we can list the manuals of any command in Linux.
‼️MAKE @HACKFLUENTZ 💚ADMIN IN YOUR CHANNEL I POST📝 🤯MIND BLOWING UNLEAKED COURSE and BLOGS ‼️
⚜JOIN FOR MORE⚜
➖ @zEd_HacKs ➖
The whatis command is used to get brief information about Linux commands or functions. It displays the manual page description in a single line of the command that passes with the whatis command. It searches for the strings that have been passed with it from its index databases. Its index database is maintained by the mandb program.
The whatis command selects a short description of the 'NAME' section in the manual page of the commands passed with it. It facilitates various command-line options to assist the user in getting a short description of the specified command.
〽️Syntax:
whatis [-options]
To understand the whatis command, first, understand the manual pages:
〽️What are the manual pages?
Manual pages or man pages are one of the most useful resources to learn about a particular command from the terminal. A man page of a command contains a lot of descriptions about the command. There may be a time when you stuck while executing a command; in such cases, you can simply access the manual page to get more information about that command.
〽️To explore a manual page of any command, execute the command as follows:
〽️man command_ name
The above command will work for all the Linux commands. Consider the below output:
〽️Whatis command in Linux
The above output displays the manual page of the cat command. Similarly, we can list the manuals of any command in Linux.
‼️MAKE @HACKFLUENTZ 💚ADMIN IN YOUR CHANNEL I POST📝 🤯MIND BLOWING UNLEAKED COURSE and BLOGS ‼️
⚜JOIN FOR MORE⚜
➖ @zEd_HacKs ➖