command-line-basics Flashcards

1
Q

What is a CLI?

A

command line interface- processes commands to a computer program in the form of lines of text.

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

What is a GUI?

A

graphical user interface-allows users to interact with electronic devices through graphical icons and audio indicator

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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- look at the manuals for commands
cat- show contents of a file 
ls- show list of directories and files
pwd- show you current working directory
echo-display line of text as an argument
touch-create/change file timestamp
mkdir- make a new directory
mv- change name of file or directory
rm-delete a file or directory
cp-copy files or directories
How well did you know this?
1
Not at all
2
3
4
5
Perfectly