UNIX commands Flashcards

0
Q

Change working directory to home

A

cd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

Create a directory

A

mkdir DirectoryName

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Change working directory

A

cd DirectoryName

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

List contents of working directory

A

ls

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

List contents of directory

A

ls DirectoryName

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Remove directory

A

rmdir DirectoryName

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Remove a file

A

rm FileName

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Rename file or directory

A

mv OldFileName NewFileName

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Move a file to a different directory

A

mv FileName DirectoryName

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Copy a file

A

cp OriginalName CopyName

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Clear screen / window

A

clear

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Record what appears on the screen

A

script

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Edit a file

A

xemacs FileName

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Create a file

A

emacs NewFileName.code &

How well did you know this?
1
Not at all
2
3
4
5
Perfectly