NDG Linux2
NDG Linux2
o A text editor
o A type of hardware
o A distribution of Linux
o A trademark
5. Apple’s OS X is:
(choose three)
(choose three)
(choose two)
(choose two)
o Emacs
o Korn shell
o Bourne Shell
o C Shell
o Python Shell
(choose two)
(choose three)
o Includes symbols
o At least 10 characters long
o A mix of upper and lower case
o Based on easy to remember items like birthdays
o Long so that it can be reused on multiple sites
12. A license where you don’t have access to the source code
is called:
o Closed source
o Sourceless
o Impaired source
o Open source
(choose two)
o True
o False
o type
o print
o display
o echo
o
18. The _______ command will print a list of the commands
that you’ve previously executed.
o history
o exec
o eval
o list
o An internal command
o An alias
o A path variable
o A local variable
o An environment variable
o /usr/share/doc
o /var/share/doc
o /var/lib/doc
o /usr/software/doc
21. To start searching a man page, the first key you press is:
o s
o !
o /
o F
o help info
o man info
o info -q
o info info
23. The _____ command can be used to find any file, not just
commands or man pages.
o whatis
o whereis
o apropos
o locate
24. Hidden files are files that begin with what character?
o A dash (-)
o A plus (+)
o A period (.)
o An asterisk (*)
o C:
o /home
o /
o /root
o True
o False
30. Which command would list files that do not begin with
a T or a W?
o echo /etc/*[TW!]
o echo /etc/[!TW]*
o echo /etc/!TW
o echo /etc/[*TW]!
o myfile.tar is removed
o An error; you forgot to pass the name of the output file
o myfile.tar is unarchived into the current directory
o myfile.tar.gz holds a compressed version of myfile.tar
o An error; you forgot to specify the file with -f
o True
o False
o STDOUT
o Log files
o STDERR
o STDIN
(choose two)
o GPT
o PC
o MBR
o BIOS
o Packages
o Drivers
o Instructions
o Programs
o gdisk
o sfdisk
o gfdisk
o sgdisk
o cgdisk
o True
o False
46. The free command outputs statistics about:
o Disk usage
o Memory usage
o Software usage
o CPU usage
o /proc/kernel
o /proc/kargs
o /proc/kopts
o /proc/cmdline
o /etc/sysinfo.conf
o /etc/sysctl.conf
o /etc/procctl.conf
o /etc/procsys.conf
o dig
o ifconfig
o route
o ipconfig
o True
o False
o route
o ss
o top
o ifconfig
o groups -a
o group bob
o all bob
o id bob
o 256
o 65,000
o 1
o 10,000
o 16
o True
o False
True or False?
o True
o False
57. The first line of this command displays how long the
system has been running since being rebooted.
o getent
o id
o w
o su
o who
o -G
o -s
o -S
o -g
o True
o False
o /etc/usr
o /etc/shadow
o /etc/group
o /etc/passwd
o /rootfs
o /
o /home
o /user
63. GIDs under 500 (or 1000) are usually reserved for what
kind of groups?
o Administrators
o System use
o User private groups (UPG)
o Are not used for groups, but for user accounts
64. A user cannot delete a file if they do not own it. True or
False?
o True
o False
o ls -l
o ls -z
o ls -a
o ls -la
o …will set the group owner of all files created in the directory to the
group owner of the directory.
o …will allow scripts in the directory to be executed as the group
owner of the directory.
o …does nothing.
o …is not allowed by the system.
o True
o False
70. Which of the following commands would create a hard
link, link to file?
o ln link file
o ln -s file link
o ln -s link file
o ln file link