Command Line Flashcards
. command
current directory
.. command
previous directory
What is “" used for?
To escape a character
ls command
list the current filesystem
mv command
move a file
cp command
copy a file
what’s the difference between starting a filesystem with or without a “/”?
a starting / means it is an absolute path; not starting with one means a relative path
rm command
remove something
*
wildcard operator that matches any number of characters
-r
recursive option
find command
search for things
man command
brings up the manual
su command
substitute user: su <username> <password></password></username>
normal user privileges
can modify own stuff. can’t modify system stuff
root user privileges
You can modify anything. It is usually disabled
sudo command
briefly take command as a root user
why do file permissions have 9 slots?
3 groups of 3 permissions each. The groups are the current user, the group, and others. the type of permissions are read, write, and execute.