Chapter 1 Flashcards

1
Q

BASH

A

Bourne-again shell

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

What is the history command?

A

Shows you all the commands you typed into the terminal.

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

What command will show you the day, month, year and current time.

A

date

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

How do you copy and paste using the mouse in the terminal?

A

Double click the file name or word.

Middle click on the cursor to paste.

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

What does the up arrow do?

A

Recalls the previous commands.

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

What does the down arrow do?

A

Scrolls down the list of previous commands.

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

How do you cancel a process?

A

ctrl + c

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

What will the cd - command do?

A

Brings you back to the previous folder you were in. This doesn’t have to be a parent or subfolder.

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

ctrl + u will?

A

Delete from the cursor to the start of the line.

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

ctrl + right arrow will?

A

Move the cursor to the right one word.

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

What is the home folder?

A

Holds personal directories for regular users.

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

ctrl + E or ^E will?

A

Move the cursor to the end of the line.

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

What are the short cut keys to copy something from the terminal?

A

ctrl + shift + c

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

What does the cd command stand for and what does it do on its own?

A

Stands for change directory.

cd on its own will bring you back to your home directory.

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

What is the command to bring up a calendar?

A

cal

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

What short cut command brings the cursor left one word?

A

ctrl + left arrow

17
Q

ls -l will?

A

Will bring up files and folders in a long list, along with information.

18
Q

What are these options? ls -lhFs
ls -lht
ls -lhr

A
  • F Puts an indicator character on each of the listed items. (a directory would have / )
  • s Sorts list by file size.
  • t Sorts list be modification time.
  • r Sorts list in reverse order.
19
Q

What short cut keys will paste to the terminal?

A

ctrl + shift + v

20
Q

What are the short cut keys bring up a list of All the commands you have typed in the terminal (even from previous sessions)

A

ctrl + R

21
Q

What is the short cut key to delete from the cursor to the end of the line?

A

ctrl + k

22
Q

ls -R will?

A

-R is the recursive option and will list files / folders and SUBFOLDERS.

23
Q

What is the -h option? Thats used with ls -lh

A

The -h option must be used with the -l option. ls -lh
Human readable changes the file sizes from bytes to kb, mg, gb tb.

24
Q

ls -F will?

A

Blah