About this topic
- Tool
- Core commands
- Level
- Basic
- Commands
- 6
- Access
- Free
- Source
- Linux man-pages
Commands
man ls
Opens a command's manual page. Press q to quit.
man- manual: shows the manual page
ls- command to look up
ls --help
Briefly lists the command's options.
ls- command you want help for
--help- short usage summary
whatis grep
Tells you in one line what a command does.
whatis- shows the one-line description from the manual
grep- command to describe
which python3
Prints the path of the file that runs for a program.
which- finds the file path of a command
python3- program to look for
type cd
Shows whether a command is built into the shell or a separate program.
type- tells the type of a command
cd- command to check
echo $SHELL
Prints the value of the SHELL variable.
echo- prints the given text
$SHELL- path of the shell you use
Start practising
Practise the commands in your browser: learn mode explains every part, exam mode shows only the question.