Linux Basics Flashcards
What command would you use to create an account?
Sudo useradd name
What command would you use to create a group?
sudo addgroup name
What path would user account files be?
/etc/passwd
What command would you use to delete a user?
sudo deluser –remove-home name
What command would you use to execute “Read” Permissions to a file?
chmod +r filename
What command gives read, write, and execute permissions to a user group?
chmod 777 filename
Write the commands the install and configure a DHCP server.
Write the process for installing and configuring a DNS server using BIND.
What permissions uses 7 as its value?
Read, Write, Execute
What permissions uses 6 as its values?
Read and write
What permissions uses 3 as its value?
Write and execute
What is the following directory used for?
/home
A user’s home directory. A directory where the user’s files are stored.
What is the following directory used for?
/var
Variable data; files that is modified by the user is stored here
Ex. /var/log
What is the following directory used for?
/usr
What is the following directory used for?
/opt