Linux Unhatched
In Linux, the command su will create a new shell logged in as the root user?
true
...lists the contents of the current directory.
The ls command without options or arguments...
True
The mv command requires at least two arguments. True or False?
False
The ps command requires administrative access. True or False?
False
The rm command requires at least two arguments. True or False?
True
The root user can change the password of any user. True or False?
A user's home directory
The ~ (tilde) character is used to represent:
True
The cp command requires at least two arguments. True or False?
File Type
The first character in a long listing ls -l indicates:
True
Changing the user owner of a file requires administrative access. True or False?
True
Commands are case-sensitive. True or False?
The current directory
The . (period) character is used to represent:
The directory above the current directory
The .. (double period) characters are used to represent:
True
Users can update their own passwords. True or False?
Command Line Interface
What does CLI stand for?
Options
When entering a command, do arguments or options typically come first?
cp
Which command can be used to copy a file? mv cy cp rm
chmod
Which command will allow a user to change the permissions of a file?
cd
Which command will allow you to change your current directory? cd ch ls chdir
pwd
Which command will print your current location in the filesystem?
mv
Which of the following commands can be used to rename a file? rn cp name mv
chown
Which of the following commands is used to change the ownership of a file?
-r l
Which of the following is NOT a correct way to combine options? -rl -r l -l -r -lr
/home
Which of the following is NOT an example of a relative path? home/sysadmin/Documents/School/Art Documents/Work /home Documents
Documents
Which of the following is NOT an example of an absolute path? / Documents /home/sysadmin
-S
Which option to the ls will sort the output by file size?