Test Question Review Flashcards
Which keyboard shortcut allows copying highlighted text while working in the command line terminal
Ctrl+shift+c
How do you get a typical commands builtin usage information?
–help
Ls -r and the -r means recursive.. what does this command give?
List of files in current directory and any files in sub directory
Typing $ followed by what key twice in rapid succession will list all variables?
Tab
What sections does man page have?
Name,config,return,value, and error sections
What command is used to print one page of text to a screen at a time?
Less command
What option can be used with cat to display line numbers with text of a file to the screen?
-n
What option can be used with tail or head to specify the number of lines to display to the screen?
-n
What is used to redirect the standard out of a command to a file?
1>
What statement is used to get input from the terminal when a shell script is being run?
Read
Which version of Linux should be installed on a system with a 32 bit processor?
X86
What is used as a virtual or pseudo files stem used to interface with the kernel and process?
/proc
What is the command that will show system boot time messages?
Dmesg
What command will display a list of all files in the current directory, including those that may be hidden?
ls -a
What type of link contains the data in the the target file?
Hard link
What is defined by a free software license?
The conditions for modifying or distributing the licensed software
What is the Debian based computer operating system for Raspberry Pi?
Raspbian
What is used as a replacement for Microsoft word?
Writer
What is the UNIX device name for a physical or virtual terminal connection?
Tty
What is the suite of client server software for creating and using hosting service?
ownCloud
What command line can be used to search help files that mention the word ‘copy’?
Man -k copy
What option of the command history can be used to clear the user’s history?
-c
What command shows if /usr/bin is in the current shell search path?
echo $PATH
What keyword should be used to fill in the blank in the following segment of the given shell scripts, for I *;___ cat $i done
do