UNIX commands Flashcards
0
Q
Change working directory to home
A
cd
1
Q
Create a directory
A
mkdir DirectoryName
2
Q
Change working directory
A
cd DirectoryName
3
Q
List contents of working directory
A
ls
4
Q
List contents of directory
A
ls DirectoryName
5
Q
Remove directory
A
rmdir DirectoryName
6
Q
Remove a file
A
rm FileName
7
Q
Rename file or directory
A
mv OldFileName NewFileName
8
Q
Move a file to a different directory
A
mv FileName DirectoryName
9
Q
Copy a file
A
cp OriginalName CopyName
10
Q
Clear screen / window
A
clear
11
Q
Record what appears on the screen
A
script
12
Q
Edit a file
A
xemacs FileName
13
Q
Create a file
A
emacs NewFileName.code &