Basic Commands Flashcards
(24 cards)
What is the command
“hostname”?
my computer network name
What is the command
“pwd”?
print working directory
What is the command
“mkdir”?
make directory
What is the command
“cd”?
change directory
What is the command
“ls”?
list directory
What is the command
“rmdir”?
remove directory
What is the command
“pushd”?
push directory
What is the command
“popd”?
pop directory
What is the command
“cp”?
copy a file or directory
What is the command
“mv”?
move a file or directory
What is the command
“less”?
pass through a file
What is the command
“cat”?
print the whole file
What is the command
“xargs”?
executes argument
What is the command
“find”?
find files
What is the command
“grep”?
find things in file
What is the command
“man”?
read a manual page
What is the command
“apropos”?
find appropriate man page
What is the command
“env”?
look at your environment
What is the command
“echo”?
prints some arguments
What is the command
“export”?
export/set a new environment variable
What is the command
“exit”?
exit the shell
What is the command
“sudo”?
DANGER! become super user root DANGER!
What is the command
“chmod”?
change permission modifiers
What is the command
“chown”?
change ownership