GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

Linux Essentials End Term

Kyle Healan Computer Science Englisch 40 Karten

Karten in diesem Stapel (40)

  1. 1The number of users logged in is in a variable called USERS. How would you test to see if 5 users are logged in?test $USERS -eq 5
  2. 2Given the following script: while [ ! –f /tmp/foo ]; do echo –n “.” process_data > /tmp/foo done Which of the following are true?If a file called /tmp/foo exists, process_data won't be run.
    Process_data will be called at most once
  3. 3A conditional that lets you make multiple comparisons with a pattern is called:case
  4. 4What is the meaning of $(( $i + 1)) ?1 will be added to the i variable
  5. 5How would you write a test that says “if /tmp/foo is a directory or USERS is greater than 5”?test –d /tmp/foo –o $USERS –gt 5
  6. 6A division of a hard drive may be referred to as a _______ .Partition
    Slice
  7. 7Which of the following are valid partitioning types?MBR
    GPT
  8. 8The fdisk command is a tool used for working with the MBR partitioned disks. True or False?True
  9. 9Which of the following is the valid device file name for the first IDE hard drive on the system?/dev/hda
  10. 10Which of the following are valid video cable connector types? (choose two)DVI
    VGA
  11. 11A command that will continuously update statistics about running processes:top
  12. 12The following are valid Linux option styles: (choose three)All except DOS slash (/)
  13. 13Which file contains the information passed to the kernel at boot time?/proc/cmdline
  14. 14To make changes permanent for kernel parameter files found under /proc/sys, the following file can have entries added to it:/etc/sysctl.conf
  15. 15To get a list of all packages installed on a system using RPM Package Management you can execute:rpm -qa
  16. 16Which of the following would be considered a host?A printer attached to the network via an IP address
  17. 17What option to the netstat command has information shown as numbers rather than names?-n
  18. 18Which of the following commands will allow you to log into the machine server1 with the account name nick?ssh nick@server1
  19. 19The RSA key fingerprint allows the dig command to connect to remote systems. True or False?False
  20. 20Which files contain user account information? (choose two)/etc/shadow
    /etc/passwd
  21. 21Sudo privileges can be used to specify which user can use the sudo command to execute commands as other users. True or False?True
  22. 22In distributions that do not allow the root user to login directly or via the su command, the installation process automatically configures one user account to be able to use the sudo command to execute commands as if they were executed by the root user. True or False?True
  23. 23Which of the following commands will display how long the system has been running since the last boot? (choose two)w
    uptime
  24. 24The /etc/shadow file contains plain-text passwords. True or False?False
  25. 25Which command can be used to view the /etc/passwd file entries?getent
  26. 26Which command can be used to determine a user’s most recent log in?last
  27. 27Which of the following files contains encrypted user password information?/etc/shadow
  28. 28Which of the following files contains user IDs?/etc/passwd
  29. 29Which of the following files does the groupadd command use to determine the new GID when a GID isn’t specified?/etc/group
  30. 30Which of the following commands, run as root, will prevent the user bob from logging in?usermod -L bob
  31. 31The chmod command can be used on a file by:The file owner and root
  32. 32Which option for the chown command can be used to change the owner of a directory and all the files and directories below it?-R
  33. 33The chown command will only accept one file at a time as an argument. True or False?False
  34. 34The “execute” permission is never set on files by default. True or False?True
  35. 35The user owner of a file will always have the same or higher permissions as “other”. True or False?False
  36. 36A source and a hard link must be part of the same filesystem. True or False?True
  37. 37Deleting a source file will break an associated symbolic link. True or False?True
  38. 38A source file and a symbolic link must be part of the same file system. True or False?False
  39. 39Which of the following commands would create a hard link, link to file?ln file link
  40. 40Which of the following commands would create a symbolic link, link to file?ln -s file link

Informationen

Beschreibung
Computer Science Karteikarten am Linux Essentials End Term, erstellt von Kyle Healan am 12/07/2018.
Erstellt von
Kyle Healan · Jul 2018
Aktualisiert
17 Jul 2018
Aufrufe
14
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck