Linux Flashcards
Displays the path of the current directory on screen.
pwd (print working directory)
Displays the IP address and the subnet mask assigned to this system.
ifconfig
Displays a list of files and subdirectories that exist within a directory.
- a (displays all files, including hidden files)
- l (displays a detailed (long) listing of directory contents)
- R (displays the contents of the directory and all of its subdirectories)
ls
Displays a brief summary of how to use the command.
–help
Starts a new Bourne-again shell session.
bash
Displays the manual page for a command. Use Q key to quit and go back to the shell prompt.
man
Displays more extensive documentation about the command.
info
Changes directories in the file system.
cd
Copies files and directories from one location in the file system to another.
cp
Moves and/or renames files and directories form one location or name to another.
mv
Deletes files and directories form the file system.
rm
Displays the contents of a text file on the screen.
cat
Displays the contents of a text file on the screen, pausing the output one screen at a time.
less
Displays the first few lines of a text file on the screen.
head
Displays the last few lines of a text file on the screen.
tail