Command-Line basics Flashcards
What is CLI?
command-line interface / processor: uses a command-line interface to receive commands from a user in a form of lines of texts.
What is GUI?
graphical user interface: aimed at consumers of technology (end-users)
man
pulls up manual
cat
concat and prints files
ls
lists files in directory
pwd
prints working directory
echo
displays lines of text
touch
change file timestamps.
Updates the access and modification times of each FILE to the current time.
mv
moves and renames files
Rename SOURCE or DEST or move SOURCE(s) to DIRECTORY
mkdir
make directory
rm
removes files or directories
cp
copy files or directories
history
the History Library keeps track of the user’s command input lines, associates arbitrary data with each line, and utilizes info from previous lines in composing new ones.