Unix Flashcards

1
Q

What is the command to list your files?

A

ls

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

Explain the action of the following command:

ls

A

Lists your files.

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

What is the command to list your files in long format?

A

ls -l

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

Explain the action of the following command:

ls -l

A

Lists your files in long format.

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

What is the command that lists all files, even the hidden ones (the ones that begin with a ‘.’).

A

ls -a

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

Explain the action of the following command:

ls -a

A

Lists all files - even the hidden ones (the ones that begin with a ‘.’).

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

Command that shows the first part of a file, just as much as will fit on one screen.

A

more file_name

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

more filename

A

Command that shows the first part of a file, just as much as will fit on one screen.

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

cal

A

Show calendar in command line

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

whoami

A

shows username

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

date

A

shows date

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

touch “file_name”

A

creates file

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

open “file_name”

A

opens file

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

mkdir “directory_name”

A

makes folder

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

bin/rails

A

.

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