commands Flashcards

1
Q

what does this cmd do

<p>pwd</p>

A

<p> print working directory</p>

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

what does this cmd do

<p>hostname</p>

A

<p> my computer's network name</p>

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

what does this cmd do

<p class=”large” style=”text-align:center”;>mkdir</p>

A

<p class=”large” style=”text-align:center”;> make directory</p>

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

what does this cmd do

<p>cd</p>

A

<p> change directory</p>

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

what does this cmd do

<p>ls</p>

A

<p> list directory</p>

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

what does this cmd do

<p class=”large” style=”text-align:center”;>rmdir</p>

A

<p class=”large” style=”text-align:center”;> remove directory</p>

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

what does this cmd do

<p>pushd</p>

A

<p> push directory</p>

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

what does this cmd do

<p class=”large” style=”text-align:center”;>popd</p>

A

<p class=”large” style=”text-align:center”;> pop directory</p>

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

what does this cmd do

<p>cp</p>

A

<p> copy a file or directory</p>

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

what does this cmd do

<p class=”large” style=”text-align:center”;>mv</p>

A

<p class=”large” style=”text-align:center”;> move a file or directory</p>

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

what does this cmd do

<p>less</p>

A

<p> page through a file</p>

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

what does this cmd do

<p class=”large” style=”text-align:center”;>cat</p>

A

<p class=”large” style=”text-align:center”;> print the whole file</p>

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

what does this cmd do

<p>xargs</p>

A

<p> execute arguments</p>

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

what does this cmd do

<p>find</p>

A

<p> find files</p>

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

what does this cmd do

<p class=”large” style=”text-align:center”;>grep</p>

A

<p class=”large” style=”text-align:center”;> find things inside files</p>

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

what does this cmd do

<p>man</p>

A

<p> read a manual page</p>

17
Q

what does this cmd do

<p class=”large” style=”text-align:center”;>apropos</p>

A

<p class=”large” style=”text-align:center”;> find what man page is appropriate</p>

18
Q

what does this cmd do

<p>env</p>

A

<p> look at your environment</p>

19
Q

what does this cmd do

<p>echo</p>

A

<p> print some arguments</p>

20
Q

what does this cmd do

<p class=”large” style=”text-align:center”;>export</p>

A

<p class=”large” style=”text-align:center”;> export/set a new environment variable</p>

21
Q

what does this cmd do

<p>exit</p>

A

<p> exit the shell</p>

22
Q

what does this cmd do

<p class=”large” style=”text-align:center”;>sudo</p>

A

<p class=”large” style=”text-align:center”;> DANGER! become super user root DANGER!</p>

23
Q

what does this cmd do

<p>chmod</p>

A

<p> change permission modifiers</p>

24
Q

what does this cmd do

<p>chown</p>

A

<p> change ownership</p>