One of the jobs of the kernel is to:
- Manage the systems resources
Unix is:
- An operating system
- A trademark
Linux is written in:
- C
Source code refers to:
- A human readable version of computer software
What is the standard option to provide a command line program to view its documentation?
- --help
The command
man -k
is the same as the command apropos
.- True
The
whatis
command is the same as man -w
.- False
The directory where additional documentation for software packages most likely can be found is:
- /usr/share/doc
Hidden files are files that begin with what character?
- A period (.)
What option for the
ls
command will display all files, including hidden files?- -a
The top-level directory on a Linux system is represented as:
- /
Is the following path absolute or relative?
/etc/ppp
- Absolute
Is the following path absolute or relative?
sysadmin/Documents
- Relative
In general, for which of the following would you want to use lossless compression?
- A log file
Lossy compression:
- Usually results better compression than lossless
- Sacrifices some quality
- Is often used with images
A successful command will print output to STDOUT.
- True
Which of the following commands will direct error messages to the file, error.log?
- ls /root 2> error.log
Channel 2 is:
- STDERR
The
echo
command:- Is used to output text to the console
A file begins with
#!/bin/csh
. This means:- Running the script will invoke /bin/csh to interpret the rest of the file
Most of nanos commands take the form of:
- Control and another character
What does this shell script do?
FOO=/tmp/foo if [ ! d $FOO ]; then mkdir $FOO fi
- Creates /tmp/foo if it does not exist
Which of the following are valid CPU types for Intel-based platforms?
- 32 bit
- 64 bit
64 bit platforms can access more memory than 32 bit platforms.
- True
Which of the following are package management commands for distributions with software distributed in files ending in .deb?
- dpkg
- aptitude
- apt-get
A network packet contains ...
- ...the IP address of the destination machine.
- ...the IP address of the source machine.
Only servers have hostnames.
- False
Which files contain user account information?
- /etc/passwd
- /etc/shadow
Which user can view the /etc/shadow file?
- The root user
Which command will display the UID, GID and groups your current user belongs to?
- id
Which command will display the users that are currently logged in to the system?
- who
Which of the following options for the
useradd
command allows root to specify the UID to be associated with the account?- -u
Which of the following options for the
useradd
command allows root to specify supplementary groups the user will be a member of?- -G
On a system that does not use UPG, the
useradd
command will also create a user group. For example, user bob, group bob.- False
Which of the following commands sets "other" permissions on file to r-x?
- chmod 775 file
Only one set (user, group, other) of permission can be changed at once using the symbolic method.
- False
Which of the following are methods for setting permissions using the
chmod
command?- octal
- symbolic
The
chown
command can be used to change the owner and group of a file.- True
The Samba application is a:
- File Server
Which of the following are examples of desktop software?
- Web browser
- Music player
If you wanted to set up a blog, which software would be most helpful?
- WordPress
Which of the following pieces of software deal with file sharing?
- Samba
- Netatalk
- NFS
Which of the following is true about graphical mode?
- You access this mode by logging into a graphical display
- You have menus and tools to help you find what you are looking for
- After login, you are provided with a desktop
In graphical mode, you can get to a shell by running which applications?
- terminal
- xterm
Select all the applications that provide access to the Command Line Interface (CLI)?
- Terminal window
- Virtual Terminal
Which environment variable contains a list of directories that is searched for commands to execute?
- PATH
Select the command that can report the location of a command:
- which
The /tmp directory is a temporary directory and will not exist on a system at all times.
- False
The "sticky bit" permission...
- ...prevents others from removing files they don't own from a common directory.
The "setuid" permission...
- ...allows a command to be run as the file owner.
0 comments:
Posting Komentar