Bash Terminal Command Line Flashcards

1
Q

What code language uses Bash Terminal in a major way?

A

Linux

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

What is the benefit of using a terminal verses point and click?

A

Allows me to do things quickly with just a small command

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

What does the Bash Terminal assume?

A

That I know what I want and I know what I am doing (it is blank)

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

What is the default shell on most systems?

A

Bash

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

What does “ls” command show?

A

A list everything that is in the current directory that I am logged into.

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

What does “ls” stand for?

A

“list storage”

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

What is the default directory that I am usually logged into?

A

Home directory

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

What does the “~” (tilde) character tell me?

A

That I am in the home folder/directory

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

What does the “$” indicate

A

That I am logged in as a standard user with regular privileges

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

What is “root?”

A

The base of a file system on a Linux or Unix machine

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

What are contained within the root?

A

Directories

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

What are “directories?”

A

Files that contain more files

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

Where are my personal files located in my computer’s root system?

A

Within the “home” directory

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

What does “pwd” command tell me?

A

Tells me the “full path” of exactly where I am in my computer’s root file system

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

What is a “full path” location

A

The exact path from root to folder that I need to take to get to my file

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

Are “directories” also known as “folders?”

A

Yes, they are interchangeable terms

17
Q

Why are “directories” also known as “folders?”

A

We were taught, back in the day, that directories were like files in a file cabinet where the hard drive represented the file cabinet, the directories would be the file folders, and the files within the folders would be the documents.

18
Q

What is the name for the “full path” that “pwd” shows me?

A

Absolute Path

19
Q

What is “Relative Path”

A

How I get to something from where I am right now assuming that it is located within my current working directory

20
Q

What does “ls Documents/” do?

A

List everything in the documents folder

21
Q

Is “ls Documents/” command a Relative or Absolute path command?

A

Relative because I am not providing the exact steps I would take (from root to end path) to get to my end goal

22
Q

How can I ask my computer to show me everything (including hidden) that is in my current directory (folder)?

A

With command “ls -a”

23
Q

What does command “ls -l” perform?

A

Shows me a LONG list of everything in my current directory (folder)

24
Q

How can I see a long list AND hidden files in my current directory (folder)?

A

With command “ls -la”

25
Q

What are the features of the “cd” command

A

Allows me to from one place to the next

26
Q

What does “cd” stand for?

A

Change Directory