Command Prompts Flashcards
Pwd
Print working directory
hostname
computer’s network name
mkdir
Make directory
Cd
Change directory
Ls
List directory
Rmdir
Remove dir
Pushd
Push dire
Cp
Copy a file or directory
Mv
Move a file
Less
Page through a file
Cat (mac) or type (windows)
Print the whole file
Xargs
Execute arguments
Find
Find files
Grep
Find things inside files
Man
Read a manual page
Apropos
Find what man page is appropriate
Env
Look at your environment
Echo
Print some argument
Export
Export/set a new environment variable
Exit
Exit the shell
Sudo
Danger! Become super root danger!
Popd (windows)
Pop directory
Robocopy (windows)
Robust copy
More (windows)
Page through a file
Forfiles (windows)
Run a command on lots of files
Dir-r (windows)
Find files
Select-string (windows)
Find things inside files
Help (windows)
Read a manual page
Help (windows)
Read a manual page
Helpctr (windows)
Find what man page is appropriate
Echo (windows)
Print some arguments
Set (windows)
Export/set a new environment variable
Exit (windows)
Exit the shell
Runas (windows)
Danger! Become super user root danger!