Command used to print the current directory you are in.
What is PWD
Name and path of the file that stores user information.
What is /etc/passwd
On Linux it is the software that interfaces with the hardware.
What is the Kernel?
The most powerful user on a Linux system. Also called the superuser.
Who is root user?
Directory used to store temporary files.
What is /tmp
Command to long list the files and directories.
What is `ls -l`
/root
What is the root users home directory?
Different family or flavors of Linux
What are distributions?
Command to change to a different user
What is `su` command?
Apache and Nginx default port
What is port 80?
Command to print contents of a file to the terminal.
What is the `cat` command?
The way you make hidden files or directories.
2 different command line based text editors we have learned.
What is nano and vim?
What is `sudo` command?
Directory where you will find most system configuration files.
What is /etc
Command to print the first 20 lines of a file called syslog.log
File and path where hashed user passwords are stored.
What is /etc/shadow
I environmental variable with directories to look for executables
What is the PATH variable?
User has read, write and execute. Everyone has execute. Group have read and execute.
What is rwxr-x--x or 751?
File with path that allows you to map IP and DNS names.
What is /etc/hosts
Command on a systemd init system to start the apache service.
What is `systemctl start apache2`
What is /etc/login.defs
What is `apt` and `dpkg`?
Command to add secondary group "students" to to the user "sam".
What is `sudo usermod -a -G students sam`
Command to add execute permissions for user, group and other to a file called file.txt
What is `chmod +x file.txt`