Learn Linux in 5 Days Flashcards
(19 cards)
ls
Lists directory contents.
cd
Changes the current directory.
pwd
Displays the present working directory.
cat
Concatenates and displays files.
echo
Displays arguments to the screen.
man
Displays the online manual.
exit
Exits the shell or your current session.
clear
Clears the screen.
-l
Long listing format.
Are Linux commands case sensitive?
Yes.
which
Locate a command.
which tac
Displays the file’s contents in reverse order.
man -k SEARCH_TERM
Searches man pages in whatever your search term is.
man -k calendar
Searches calendar
man
Used to display documentation.
$PATH
Controls your search path.
which
Locate a command.
You can learn the full path of commands with which.
–help or -h
Ask commands for help.
man -k
Searches man pages.