This command will allow you to traverse directories
cd
What command is used to display the current working directory?
pwd
What command is used to display file permissions?
ll
OR
ls -l
What command creates an empty file named example.txt?
touch example.txt
What animal is the Linux mascot?
Penguin
This command is used in front of the command syntax and used to resolve most permission errors if the user has been granted that ability.
sudo
How do you list all files, including hidden ones, in a directory?
ls -a OR ll -a
How would you show the permission of a directory named /Tests?
ll -d /Tests
What command is used to create a directory named Projects?
mkdir Projects
What is the name of the Linux mascot?
Tux
This is a command, and also service, that allows for secure logins to a remote machine via the terminal.
ssh
There are 3 main parts to a Linux CLI syntax, what are they? (2 answers)
Command, ___________, ____________
Option(s)
Argument
What command would you use to change the permissions of a file or directory?
chmod
What command would recursively delete a directory named /tmp and all its contents?
rm -r /tmp
What Linux distribution is specifically designed for pen testing and/or ethical hacking?
Kali Linux
What is the name of the Linux text editor that is installed by default on RHEL servers that we've learned to use?
VI/VIM
How would you display the last 10 lines of a file named log.txt?
tail log.txt
chown
You misnamed a file "drafts" as "drfts". How would you rename the file with the correct name?
mv drfts drafts
Who is the creator of Linux?
Linus Torvalds
What type of path, absolute or relative, is required to get to /var/log/ from /var?
Relative
cd log
What is the correct order of these commands/options?
-c | useradd | "Sam Smith" | sudo | smiths1234
sudo useradd -c "Sam Smith" smiths1234
What does the numeric permission 645 mean for a file?
Users can r/w
Group can r
Others can r/x
How would you make a copy of a file named myfile to another named draft_file1
cp myfile draft_file1
Which popular mobile operating system is based on the Linux kernel?
Android