command line Flashcards
What is a CLI?
command-line interface processes commands to a computer program in the form of lines of text
What is a GUI?
graphical user interface -
form of user interface that allows users to interact with electronic devices through graphical icons and audio indicator
man
an interface to the on-line reference manuals
man man
cat
combine the contents of files
cat hello.txt hi.txt
ls
lists files and directories
pwd
prints the path of the working directory
echo
prints text to terminal
echo ‘Hello, World!’
console.log for the terminal
touch
creates new file touch hi.txt and updates the timestamp of the file
mkdir
make new directories
mv
move files into a different directory
rm
delete files
cp
copy files