Command Line Interface Flashcards
1
Q
cat
A
used to read the contents of a file(text file), or to print out contents without opening a file
2
Q
ls
A
shows the directories available
3
Q
pwd
A
prints the name of the current/working directory
4
Q
echo
A
displays a line of text, can use it to put text into files (command line version of console.log)
5
Q
touch
A
lets you change file timestamps, or creates an empty file (if you touch a file that doesn’t exist, it will be created)
6
Q
mkdir
A
lets you make directories (files) if they do not already exist
7
Q
mv
A
lets you rename or move directories
8
Q
rm
A
lets you delete files
9
Q
cp
A
lets you copy files
10
Q
What is a CLI?
A
command line interface