What is the path of the root users home directory?
/root
What are the 3 valid permission types in Linux operating systems?
Read (r), Write (w), & Execute (x)
What command is used to create a new user?
useradd
What is the command used to manage hard drive partitions?
fdisk
What are the 3 types of loops taught in this course?
What is the absolute path to the file which stores public user information?
/etc/passwd
What command is used to modify permissions for existing files?
chmod
What is the useradd parameter that lets you define the comment field for a user?
useradd -c
What is the common filesystem used by linux?
EXT4
What is the line that forces a script file to run using the bash shell?
#!/bin/bash
What variable can be printed to view the current shell being used within Terminal?
$SHELL
What command is used to change the default file/directory permissions?
umask
What parameters are needed to define a new home directory and move all the content from the old home to the new home?
-d & -m
What is the "Linux Swap" system ID within the fdisk command?
82
What is the variable that returns the exit status of a command?
$?
In regards to output redirection, what are the 2 types of outputs that can be redirected to a file?
STDOUT & STDERR
Assume you've created a new directory and the default permissions are "-wxr-xrw-", what is the current umask value?
421
Assuming you have an existing group named "Puppy Lovers", what is the full command that could be used to set user "Hanna" as an admin of the group?
gpasswd -A Hanna "Puppy Lovers"
What command is used to validate that a partition is not corrupt and has no errors?
fsck
What can be added at the end of a command to redirect any output to /dev/null?
&> /dev/null
Who created Linux?
Linus Torvalds
Based on the umask 624, what permissions would a newly created file have?
---r---w-
Assuming you have an existing user named Akin, what is the full command that would be used to change Akin's username to "Glen"?
usermod -l "Glen" Akin
List the commands needed to mount, format, create, and validate a partition in the correct order.
fdisk, mkfs, fsck, mount