Basic Bash Commands Flashcards
ls -a
hidden files
ls -l
outputs in long form
ls
lists contents of current directory
ls /var/log
lists contents of specified directory
touch
creates a new file or updates timestamp on existing file
shutdown system with no time delay
shutdown -h
shutdown system in 90 seconds
shutdown -h -t 90
reboot system with no time delay (without reboot command)
shutdown -r
su command, meaning
substitute user
log in as root
su - root
Searches the name section of all man pages for a keyword the user provides. Helps you describe a command then search man pages to find a command that does what you want
apropos
Displays a brief description of a command, telling you what it does
whatis
Alternative to man pages - favored by man project but not as widely adopted as man
info
Displays a quick summary of the usage of a command and a list of arguments that can be used
–help
This directory contains documentation for libraries, system utilities and other software packages installed on the system. Each package has its own subfolder and each subfolder usually contains seperate documents that list the authors, licensing information, installation instructions, generate README, etc
/usr/share/doc/