Bash Terminal Command Line Flashcards
What code language uses Bash Terminal in a major way?
Linux
What is the benefit of using a terminal verses point and click?
Allows me to do things quickly with just a small command
What does the Bash Terminal assume?
That I know what I want and I know what I am doing (it is blank)
What is the default shell on most systems?
Bash
What does “ls” command show?
A list everything that is in the current directory that I am logged into.
What does “ls” stand for?
“list storage”
What is the default directory that I am usually logged into?
Home directory
What does the “~” (tilde) character tell me?
That I am in the home folder/directory
What does the “$” indicate
That I am logged in as a standard user with regular privileges
What is “root?”
The base of a file system on a Linux or Unix machine
What are contained within the root?
Directories
What are “directories?”
Files that contain more files
Where are my personal files located in my computer’s root system?
Within the “home” directory
What does “pwd” command tell me?
Tells me the “full path” of exactly where I am in my computer’s root file system
What is a “full path” location
The exact path from root to folder that I need to take to get to my file
Are “directories” also known as “folders?”
Yes, they are interchangeable terms
Why are “directories” also known as “folders?”
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.
What is the name for the “full path” that “pwd” shows me?
Absolute Path
What is “Relative Path”
How I get to something from where I am right now assuming that it is located within my current working directory
What does “ls Documents/” do?
List everything in the documents folder
Is “ls Documents/” command a Relative or Absolute path command?
Relative because I am not providing the exact steps I would take (from root to end path) to get to my end goal
How can I ask my computer to show me everything (including hidden) that is in my current directory (folder)?
With command “ls -a”
What does command “ls -l” perform?
Shows me a LONG list of everything in my current directory (folder)
How can I see a long list AND hidden files in my current directory (folder)?
With command “ls -la”
What are the features of the “cd” command
Allows me to from one place to the next
What does “cd” stand for?
Change Directory