KUMPULAN SOAL-SOAL PERINTAH DASAR LINUX TERLENGKAP

KUMPULAN SOAL-SOAL PERINTAH DASAR LINUX TERLENGKAP

KUMPULAN SOAL-SOAL PERINTAH DASAR LINUX TERLENGKAP

KUMPULAN SOAL-SOAL PERINTAH DASAR LINUX TERLENGKAP:
Commands are case-sensitive.
• ✔ True

When entering a command, do arguments or options typically come first?
• ✔ Options

Which of the following is NOT a correct way to combine options?
• ✔ -r l

Which of the following is NOT an example of an absolute path?
• ✔ Documents

Which of the following is NOT an example of a relative path?
• ✔ /home

The .. (double period) characters are used to represent:
• ✔ The directory above the current directory

The ls command without options or arguments...
• ✔ ...lists the contents of the current directory.

The first character in a long listing ls -l indicates:
• ✔ File Type

Which option to the ls will sort the output by file size?
• ✔ -S

Which of these commands will create a new shell logged in as the root user?
• ✔ su

Which of the following sets has the owner permissions highlighted?
• ✔ rw-rw-r--

Which of the following sets has the other permissions highlighted?
• ✔ rw-rw-r--

Which of the following permission sets indicates the other owner has only the read permission?
• ✔ rw-rw-r--

Changing the user owner of a file requires administrative access.
• ✔ True

Which of the following commands can be used to rename a file?
• ✔ mv

The mv command requires at least two arguments.
• ✔ True

Which command can be used to copy a file?
• ✔ cp

The cp command requires at least two arguments.
• ✔ True

Which command is used to copy files at the bit level?
• ✔ dd

Which option to the rm command will allow a user to delete directories?
• ✔ -r

Which of the following commands is used to filter text?
• ✔ grep

Which of the following commands can be used to display network configuration information?
• ✔ ifconfig

Which of the following commands will display every process?
• ✔ ps -e

Which of the following commands will update all packages?
• ✔ apt-get upgrade

Which of the following will delete all of a package's files?
• ✔ apt-get purge

Which of the following commands should be executed before installing a package?
• ✔ apt-get update

Users can update their own passwords.
• ✔ True

The root user can change the password of any user.
• ✔ True

Which option can be used to view status information about the current user's password?
• ✔ -S

Which command will print your current location in the filesystem?
• ✔ pwd

Which command will allow you to change your current directory?
• ✔ cd

Which of the following is NOT an example of an absolute path?
• ✔ Documents

Which of the following is NOT an example of a relative path?
• ✔ /home

The .. (double period) characters are used to represent:
• ✔ The directory above the current directory

The . (period) character is used to represent:
• ✔ The current directory

The ls command without options or arguments...
• ✔ ...lists the contents of the current directory.

The first character in a long listing ls -l indicates:
• ✔ File Type

Which option to the ls will sort the output by file size?
• ✔ -S

Which of these commands will create a new shell logged in as the root user?
• ✔ su

Which of the following sets has the owner permissions highlighted?
• ✔ rw-rw-r--

Which of the following sets has the group permissions highlighted?
• ✔ rw-rw-r--

Which command will allow a user to change the permissions of a file?
• ✔ chmod

Which of the following commands is used to change the ownership of a file?
• ✔ chown

Which command can be used to copy a file?
• ✔ cp

The cp command requires at least two arguments.
• ✔ True

Which command is used to copy files at the bit level?
• ✔ dd

The rm command requires at least two arguments.
• ✔ False

Which option to the rm command will allow a user to delete directories?
• ✔ -r

Which of the following commands is used to filter text?
• ✔ grep

Which of the following commands will return only lines that end with test?
• ✔ grep 'test$' file.txt

Which of the following lines would be returned by the grep 'b[oe]t' file.txt command?
• ✔ bet

Which of the following commands will NOT shutdown the system immediately?
• ✔ shutdown now

Which of the following commands can be used to display network configuration information?
• ✔ ifconfig

Which of the following commands will display every process?
• ✔ ps -e

The ps command requires administrative access.
• ✔ False

Which of the following commands will update all packages?
• ✔ apt-get upgrade

Which of the following will delete all of a package's files?
• ✔ apt-get purge

The root user can change the password of any user.
• ✔ True

Which option can be used to view status information about the current user's password?
• ✔ -S

Related Posts

Previous
Next Post »