linux6 Flashcards
cd Grep
shows the documentation for grep within the directory
Which of the following is NOT a commonly used shell in Linux?
Darwin
what does rm -rf/.?
delete every single file on your hard drive
cd ~
home/local user to main directory
Service
accts that are specific to the service(HTTP for web and mySQL for database
Always log into a system with a what?
non-privlieged user acct
visudo
verifies/etc/sudoers syntac before committing changes
-c
check file errors
-f
edit/check location
-s
check file in strict mode
-x
output in JSON
Wheel group
exercise root privileges with less potential for damaging the system
PolKit/pkexec
controls system-wide privileges that allows non-privileged processes to communicate with privileged ones
git branch -a
showing the different branches within that file/folder/directory
git checkout
used to switch branches or restore working tree files