command line Flashcards
1
Q
What is a CLI?
A
command-line interfaces usually refers to a specific program and uses text to navigate commands
2
Q
What is a GUI?
A
graphical user interface navigates commands using graphics
3
Q
Give at least one use case for each of the commands listed in this exercise.
-man
-cat
-ls
-pwd
-echo
-touch
-mkdir
-mv
-rm
-cp
A
- man = manual to learn more on a command
- cat = prints files in the terminal
- ls = list to see the files in the directory or check if the files were created ( dash l gives more info )
- pwd = prints parent directory to see the full path
- echo = to print out a prompt
- touch = to see if its been modified and last accessed
- mkdir = creates a directory
- mv = move or rename files
- rm = remove files
- cp = copy files to a new spot with a new name