usor

 0    69 flashcards    tianseb
download mp3 print play test yourself
 
Question español Answer español
Embedded Systems means:
start learning
Systems designed to do a specific task on hardware optimized for only that purpose
Linux originally only ran on:
start learning
Intel 386 PCs
Bundling utilities, management tools, and application software with a Linux kernel is called a:
start learning
A distribution of Linux
A software release cycle describes:
start learning
How often upgrades come out for software
Apple’s OS X is:
start learning
A fully certified UNIX distribution, Tightly integrated with Apple hardware, Partially based on code from the FreeBSD project
Microsoft Windows:
start learning
Is generally backwards compatible with previous versions, Offers both desktop and server products, Has a scripting environment called PowerShell
An interpreted programming language:
start learning
Is converted into machine specific instructions as the program runs, Tends to offer more features than compiled languages
The two main families of Linux shells are:
start learning
Bourne Shell, C Shell
In virtualization, what are the host and guest?
start learning
The host is the machine that runs the virtual machines, A guest is a virtual machine
Cloud computing is:
start learning
All are correct
Which of the following are properties of a strong password?
start learning
Includes symbols, At least 10 characters long, A mix of upper and lower case
A license where you don’t have access to the source code is called:
start learning
Closed source
A copyleft provision in a software license means:
start learning
If you redistribute the software, you must distribute the source to any changes you make
The Free Software Foundation believes that:
start learning
Software should be free to modify, Software should be free to share
What does it mean when a work is placed in the public domain?
start learning
The author has relinquished the copyright on the work
The semicolon (;) can be used to separate multiple commands to be
start learning
executed in order. True
To be able to output messages to the screen, use the _______ command:
start learning
echo
The _______ command will print a list of the commands that you’ve previously executed.
start learning
history
HOME is an example of _________.
start learning
An environment variable
The directory where additional documentation for software packages most likely can be found is:
start learning
/usr/share/doc
To start searching a man page, the first key you press is:
start learning
/
To get help on using the info command, execute:
start learning
man info. info info
The _____ command can be used to find any file, not just commands or man pages.
start learning
locate
Hidden files are files that begin with what character?
start learning
A period (.)
The top-level directory on a Linux system is represented as:
start learning
/
The ls command without options or arguments...
start learning
... lists the contents of the current directory.
The command ls -S will sort files:
start learning
By size, largest to smallest
When using the cp command, you must provide both a source and a destination.?
start learning
True
Which option can be used with the rm command to prompt before deleting?
start learning
-i
Which command would list files that do not begin with a “T” or a “W”?
start learning
echo /etc/[! TW]*
In general, for which of the following would you want to use lossless compression?
start learning
A log file
You type gzip myfile. tar. What happens?
start learning
myfile. tar is removed, myfile. tar. gz holds a compressed version of myfile. tar
Which command will show what is inside the compressed tarball with a name of foo. tar. gz?
start learning
tar –tzf foo. tar. gz
By default, the zip command replaces uncompressed files with compressed files.
start learning
True
Error messages generated by commands are sent where by default?
start learning
STDERR
Which of the following commands will display only lines that begin with test?
start learning
grep ^test file. txt
Which of the following commands will display lines that contain either start or end?
start learning
egrep ‘start
A file begins with #!/bin/csh. This means:
start learning
Running the script will invoke /bin/csh to interpret the rest of the file
Most of nano’s commands take the form of
start learning
Control and another character
The if command looks for what exit code to consider a condition to be true?
start learning
0
The number of users logged in is in a variable called USERS. How would you test to see if 5 users are logged in?
start learning
test $USERS –eq 5
Which of the following are valid partitioning types?
start learning
MBR, GPT
Software that allows hardware devices to communicate with the installed operating system is called?
start learning
Drivers
Which of the following commands will check hard disk GPT partitions?
start learning
sgdisk, gdisk. cgdisk
The process (ps) command shows only processes running in the current shell by default.
start learning
True
The free command outputs statistics about:
start learning
Memory usage
Which file contains the information passed to the kernel at boot time?
start learning
/proc/cmdline
To make changes permanent for kernel parameter files found under /proc/sys, the following file can have entries added to it:
start learning
/etc/sysctl.conf
Which of the following commands will display the IP address on a Linux system?
start learning
ifconfig
The RSA key fingerprint allows the dig command to connect to remote systems.?
start learning
False
When issuing the service network restart command, which of the following occurs?
start learning
... takes down all network interfaces, re-reads all related configuration files and then the networking for the system is restarted.
Which of the following commands can be used to display socket statistics, and supports all major packet and socket types?
start learning
ss
Which of the following commands will display the groups that the user bob belongs to?
start learning
id bob
Traditional UNIX systems allowed users to belong to how many groups?
start learning
16
A value of 0 in the “minimum” password aging field means the user cannot change their password.
start learning
False
Sudo privileges allow users to execute commands as another user?
start learning
True
The first line of this command displays how long the system has been running since being rebooted.
start learning
w
Which option for the usermod command can be used to specify a user’s group ID (either primary or secondary)?
start learning
-g,-G
The groupmod command can be used to add users to a group.
start learning
False
Which of the following files contains user IDs?
start learning
/etc/passwd
Which of the following commands, run as root, will prevent the user bob from logging in?
start learning
usermod -L bob
What directory contains a user’s home directory?
start learning
/home
GIDs under 500 (or 1000) are usually reserved for what kind of groups?
start learning
System use
A user cannot delete a file if they do not own it.
start learning
False
The chown command permits changing group ownership done by root only.
start learning
False
Which of the following commands will list hidden files as well as their ownership?
start learning
ls -la
Which of the following commands will set setuid for /usr/bin/program?
start learning
chmod 4755 /usr/bin/program
Setting setgid on a directory...
start learning
... will set the group owner of all files created in the directory to the group owner of the directory.
Which of the following commands would create a hard link, link to file?
start learning
ln file link

You must sign in to write a comment