Terminal Commands Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

ls

A

List content of current directory(folder)

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

start .

A

Opens that directory(folder)

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

ls Pictures

A

This will list things inside specific directory(folder)

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

clear

A

This will reset the terminal back to new

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

ls/Pictures/All

A

List the path of a specific folder

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

pwd

A

Print Working Directory
/Users/Docum/Term
prints the path to the current directory

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

cd Documents

A

This will bring you to the announced directory

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

**cd .. **

A

Will bring you backwards to the directory before

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

touch blue.txt

A

This will create a file in the current directory you are in

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

mkdir Plants

A

This will create a new folder in the current directory you are in

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

mkdir Seaturtles Landturtles

A

This will create two folders in the current directory

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

rm purple.txt

A

This will perm delete the file

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

rm -rf Plants

A

This will perm delete a directory

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

ls -a

A

This will list all in current directory including hidden files

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

ls -a

A

This will show All and hidden directory

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