Chapter 1 Flashcards
BASH
Bourne-again shell
What is the history command?
Shows you all the commands you typed into the terminal.
What command will show you the day, month, year and current time.
date
How do you copy and paste using the mouse in the terminal?
Double click the file name or word.
Middle click on the cursor to paste.
What does the up arrow do?
Recalls the previous commands.
What does the down arrow do?
Scrolls down the list of previous commands.
How do you cancel a process?
ctrl + c
What will the cd - command do?
Brings you back to the previous folder you were in. This doesn’t have to be a parent or subfolder.
ctrl + u will?
Delete from the cursor to the start of the line.
ctrl + right arrow will?
Move the cursor to the right one word.
What is the home folder?
Holds personal directories for regular users.
ctrl + E or ^E will?
Move the cursor to the end of the line.
What are the short cut keys to copy something from the terminal?
ctrl + shift + c
What does the cd command stand for and what does it do on its own?
Stands for change directory.
cd on its own will bring you back to your home directory.
What is the command to bring up a calendar?
cal
What short cut command brings the cursor left one word?
ctrl + left arrow
ls -l will?
Will bring up files and folders in a long list, along with information.
What are these options? ls -lhFs
ls -lht
ls -lhr
- 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.
What short cut keys will paste to the terminal?
ctrl + shift + v
What are the short cut keys bring up a list of All the commands you have typed in the terminal (even from previous sessions)
ctrl + R
What is the short cut key to delete from the cursor to the end of the line?
ctrl + k
ls -R will?
-R is the recursive option and will list files / folders and SUBFOLDERS.
What is the -h option? Thats used with ls -lh
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.
ls -F will?
Blah