General Commands Flashcards

(35 cards)

1
Q

pwd

A

Print working directory

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

ls

A

List directory

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

ls -a

A

List hidden files in directory

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

ls –all

A

List hidden files in directory

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

ls -l

A

List long list of information on directory files

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

ls -la

A

List long list of all files including hidden information

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

filename@

A

Shortcut file or folder

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

filename.sh*

A

Executable file

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

cd ..

A

Change directory

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

mkdir

A

Make directory

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

rmdir

A

Remove directory

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

rm

A

Delete files and subdirectory and files. “No Warning if directory contains files.”

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

ls -r

A

Reverse the files’ order of listing

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

cat

A

Display the content of a file.

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

Ctrl + Alt + T

A

Brings up the Bash Shell Terminal

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

What does “cat” abbreviate?

17
Q

Catenate means

A

Arrange a string of characters into a chained list.

18
Q

Ctrl + Alt + D

A

End of file command

19
Q

What command prints the contents of a file to the screen?

20
Q

cat > filename.txt, does what?

A

Creates the file named “filename.txt” and allows user to enter text into the file.

21
Q

” > “ Means what?

22
Q

”&raquo_space; “ Means what?

A

Redirection appending a file.

23
Q

“cat filename1.txt filename2.txt > filename3.txt” does what?

A

Adds the content to filename1 and filename3 to a newly created file called filename3.

24
Q

“cat filename1.txt&raquo_space; filename2.txt” does what?

A

Appends flilname2.txt with the contents of filename1.txt

25
"mkdir -p" does what?
Make a directory where parents don't exist.
26
"mkdir -- parents" does what?
Make a directory where parents don't exist.
27
"mkdir -p /kevin/desktop/{math, english}" does what?
Creates both math and english directories at the same time on the desktop.
28
"ls -R"
Lists all files and directories in the current directory and off spring directories and files.
29
"mv" command does what?
Renames files and folders
30
"mv -i" means what?
Rename interactive mode.
31
"less" command does what?
Displays the contents of text files. Has more features.
32
"more" command does what?
Displays the contents of text files. Has less features.
33
"shotwell" command does what?
Opens the Shotwell photo view client.
34
How do you deal with spaces?
Use auto-complete by using the TAB button.
35
The "cal" command display what?
Calender