UNIX Commands Flashcards
What command shows you what directory you are currently working on?
pwd
What command clears the console screen for you?
clear
What command would you use to display a file one page at a time?
more (filename)
What command would you use to display contents of a file all at once?
cat (filename)
What command removes/deletes a directory?
rmdir (directory name)
What command removes/deletes a file?
rm (filename)
What command renames a file?
mv (file1) (file2)
What command copies a file to another file?
cp (file1) (file2)
What command would you use to backtrack back 1 directory?
cd ..
What command takes you back to your root directory?
cd
How do you change directories?
cd (directory)
How would you make a new directory?
mkdir (directory)
What command shows the file names of your current working directory?
ls
Which command opens the manual for a specific command?
man (Command)