<< Prev Question Next Question >>

Question 201/234

Which command will display the last line of the file foo.txt?

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (234q)
Question 1: Which of the following commands will change the quota for a ...
Question 2: Which of the following commands creates an ext3 filesystem o...
Question 3: Which of the following shell redirections will write standar...
Question 4: Which approach will provide a listing of the contents in a t...
Question 5: Which SysV init configuration file should be modified to dis...
Question 6: What does the exit status 0 indicate about a process?...
Question 7: Which of the following commands will send output from the pr...
Question 8: SIMULATION What is the name of the simple graphical login ma...
Question 9: The output of the program date should be saved in the variab...
Question 10: What does the command mount -a do?...
Question 11: Which of the following commands prints all files and directo...
Question 12: Which command is used to set restrictions on the size of a c...
Question 13: Which of the following commands lists all currently installe...
Question 14: From a Bash shell, which of the following commands directly ...
Question 15: Which of the following find commands will print out a list o...
Question 16: What is the purpose of the Bash built-in export command?...
Question 17: In a nested directory structure, which find command line opt...
Question 18: What is true regarding a default route?...
Question 19: What is the output of the following command sequence? for to...
Question 20: SIMULATION Which command will disable swapping on a device? ...
Question 21: Which of the following information is stored within the BIOS...
Question 22: What of the following can be done by the command ifconfig? (...
Question 23: Which of the following steps prevents a user from obtaining ...
Question 24: Given the following routing table: (Exhibit) How would an ou...
Question 25: Which of the following keywords can be used in the file /etc...
Question 26: What is the default nice level when a process is started usi...
Question 27: During a system boot cycle, what program is executed after t...
Question 28: Which of the following crontab entries will execute myscript...
Question 29: SIMULATION Please specify the top directory containing the c...
Question 30: Which of the following characters can be combined with a sep...
Question 31: SIMULATION After configuring printing on a Linux server, the...
Question 32: Which character starts a comment line in a shell script file...
Question 33: What is true regarding the file ~/.forward?...
Question 34: What information can the lspci command display about the sys...
Question 35: After moving data to a new filesystem, how can the former pa...
Question 36: After issuing: function myfunction { echo $1 $2 ; } in Bash,...
Question 37: SIMULATION Which option in the /etc/ntp.conf file specifies ...
Question 38: Where are user specific crontabs stored?...
Question 39: Which of the following commands replaces each occurrence of ...
Question 40: Which character in the password field of /etc/passwd is used...
Question 41: SIMULATION Which file contains a set of services and hosts t...
Question 42: Which of the following signals is sent to a process when the...
Question 43: Which of the following commands can be used to locate progra...
Question 44: SIMULATION Which command can be used to investigate the prop...
Question 45: Which of the following fields can be found in the /etc/group...
Question 46: SIMULATION Which file specifies the user accounts that can N...
Question 47: Which RPM command will output the name of the package which ...
Question 48: SIMULATION The presence of what file will temporarily preven...
Question 49: Which commands can be used to change a user's account aging ...
Question 50: SIMULATION What argument to the -type option of find will ma...
Question 51: Which of the following commands can be used to display the i...
Question 52: Which variable defines the directories in which a Bash shell...
Question 53: Immediately after deleting 3 lines of text in vi and moving ...
Question 54: What is the difference between the commands test -e path and...
Question 55: Which of the following commands can be used to limit the amo...
Question 56: In order to display all currently mounted filesystems, which...
Question 57: Which of the following fields are available in both the glob...
Question 58: Creating a hard link to an ordinary file returns an error. W...
Question 59: What is the purpose of the command mailq?...
Question 60: Which of the following commands will create an archive file,...
Question 61: SIMULATION What is the name of the main configuration file f...
Question 62: SIMULATION What word is missing from the following SQL state...
Question 63: Which of the following files, located in the user home direc...
Question 64: What command will generate a list of user names from /etc/pa...
Question 65: In compliance with the FHS, in which of the directories are ...
Question 66: What is the first program that is usually started, at boot t...
Question 67: Which of the following commands is used to rotate, compress,...
Question 68: Which of the following commands lists all defined variables ...
Question 69: Which of the following may occur as a consequence of using t...
Question 70: Which of the following parameters are used for journalctl to...
Question 71: Why is the correct configuration of a system's time zone imp...
Question 72: SIMULATION Which umask value will result in the default acce...
Question 73: SIMULATION Which command will display messages from the kern...
Question 74: Which of the following commands can remove a user from a gro...
Question 75: SIMULATION In an xinetd configuration file, which attribute ...
Question 76: What do the permissions -rwSr-xr-x mean for a binary file wh...
Question 77: SIMULATION Which command, available with all MTAs, is used t...
Question 78: How can the existing environment variable FOOBAR be suppress...
Question 79: Which of the following IPv4 networks are reserved by IANA fo...
Question 80: SIMULATION What is the lowest numbered unprivileged TCP port...
Question 81: SIMULATION Which environment variable should be set in order...
Question 82: What output will the following command produce? seq 1 5 20...
Question 83: Which command makes the shell variable named VARIABLE visibl...
Question 84: What is the purpose of the file /etc/profile?...
Question 85: Which of the following commands shows the current color dept...
Question 86: Which of the following commands will output all of the lines...
Question 87: Which command can be used to delete a group from a Linux sys...
Question 88: SIMULATION Which file lists which users can execute commands...
Question 89: Which of the following command sequences overwrites the file...
Question 90: Which of the following environment variables overrides or ex...
Question 91: How can the normal output of a command be written to a file ...
Question 92: SIMULATION Which keyword must be listed in the hosts option ...
Question 93: In Bash, inserting 1&gt;&amp;2 after a command redirects...
Question 94: After successfully creating a hard link called bar to the or...
Question 95: SIMULATION Which signal is missing from the following comman...
Question 96: What is the purpose of a screen reader?...
Question 97: Which of the following commands puts the output of the comma...
Question 98: Which type of filesystem is created by mkfs when it is execu...
Question 99: Which of the following files assigns a user to its primary g...
Question 100: Which of the following are init systems used within Linux sy...
Question 101: Which of the following commands can be used to download the ...
Question 102: Which of the following Linux filesystems preallocates a fixe...
Question 103: Which of the following commands can be used to search for th...
Question 104: What of the following statements are true regarding /dev/ wh...
Question 105: Which of the following options for the kernel's command line...
Question 106: Which of the following are commonly used Mail Transfer Agent...
Question 107: What is the maximum niceness value that a regular user can a...
Question 108: SIMULATION In which file, if present, must all users be list...
Question 109: Which of the following programs uses the hosts.allow file to...
Question 110: What output will the command seq 10 produce?...
Question 111: Which of the following are syslog facilities? (Choose TWO co...
Question 112: The X11 configuration file xorg.conf is grouped into section...
Question 113: Which function key is used to start Safe Mode in Windows NT?...
Question 114: Which of the following commands determines the type of a fil...
Question 115: Which of the following commands redirects the output of cmd ...
Question 116: Which file used by XDM specifies the default wallpaper?...
Question 117: Which of the following commands changes the number of days b...
Question 118: Which of the following commands can be used to create a USB ...
Question 119: Which of the following commands displays the contents of a g...
Question 120: What is the default action of the split command on an input ...
Question 121: Which of the following commands overwrites the bootloader lo...
Question 122: Which of the following details is NOT provided in any output...
Question 123: To prevent a specific user from scheduling tasks with at, wh...
Question 124: SIMULATION On a Linux system with shadow passwords enabled, ...
Question 125: In the vi editor, which of the following commands will copy ...
Question 126: What is a purpose of an SSH host key?...
Question 127: What happens after issuing the command vi without any additi...
Question 128: SIMULATION Which command is used to add an empty group to th...
Question 129: Which command chain will count the number of regular files w...
Question 130: Instead of supplying an explicit device in /etc/fstab for mo...
Question 131: On a regular users workstation the route command takes a lon...
Question 132: Which of the following commands shows the definition of a gi...
Question 133: Regarding the command: nice -5 /usr/bin/prog Which of the fo...
Question 134: Which utility would be used to change how often a filesystem...
Question 135: Which run levels should never be declared as the default run...
Question 136: Which of the following commands connects to the remote host ...
Question 137: Which of the following commands makes /bin/foo executable by...
Question 138: Which of the following commands lists the dependencies of a ...
Question 139: In the vi editor, how can commands such as moving the cursor...
Question 140: Which of the following commands will help identify a broken ...
Question 141: What is the command to delete the default gateway from the s...
Question 142: When the command echo $$ outputs 12942, what is the meaning ...
Question 143: SIMULATION What two character sequence is present at the beg...
Question 144: What is the purpose of the iconv command?...
Question 145: Which of the following commands will set the variable text t...
Question 146: Which of the following commands changes the ownership of fil...
Question 147: SIMULATION Which Bash environment variable defines in which ...
Question 148: SIMULATION The system's timezone may be set by linking /etc/...
Question 149: What can the Logical Volume Manager (LVM) be used for? (Choo...
Question 150: SIMULATION What word is missing from the following SQL state...
Question 151: What is the correct command to extract the contents of the a...
Question 152: Which of the following commands is used to update the list o...
Question 153: After modifying GNU GRUB's configuration file, which command...
Question 154: What is NOT contained in the locale setting of the operating...
Question 155: Which of the following sequences in the vi editor saves the ...
Question 156: SIMULATION How many IP-addresses can be used for unique host...
Question 157: When trying to unmount a device it is reported as being busy...
Question 158: Which of the following commands can be used to display the l...
Question 159: Which of the following is observed and corrected by a NTP cl...
Question 160: What is true regarding the command userdel --force --remove ...
Question 161: What is the difference between the i and a commands of the v...
Question 162: Which of the following files, when existing, affect the beha...
Question 163: Which of the following words is used to restrict the records...
Question 164: Which of the following tools used for DNS debugging, reports...
Question 165: Which of the following commands will print the last 10 lines...
Question 166: Which of the following is a legacy program provided by CUPS ...
Question 167: Which file should be edited to select the network locations ...
Question 168: Which of the following is the device file name for the secon...
Question 169: When the command echo $ outputs 1, which of the following st...
Question 170: SIMULATION By default, the contents of which directory will ...
Question 171: Which of the following statements is correct when talking ab...
Question 172: SIMULATION What command displays all aliases defined in the ...
Question 173: Which grep command will print only the lines that do not end...
Question 174: When running the command sed -e "s/a/b/" /tmp/file &gt;/tmp/...
Question 175: Which of the following pieces of information of an existing ...
Question 176: SIMULATION In which directory must definition files be place...
Question 177: Which of the following kernel parameters instructs the kerne...
Question 178: What is true regarding the command sendmail?...
Question 179: Which of the following commands can be used to determine how...
Question 180: SUMULATION Which file in the /proc filesystem lists paramete...
Question 181: SIMULATION Which command is used to set the hostname of the ...
Question 182: Which of the following commands will NOT update the modify t...
Question 183: Each entry in a crontab must end with what character?...
Question 184: SIMULATION After adding a new email alias to the configurati...
Question 185: What is true about the file /etc/localtime?...
Question 186: The script, script.sh, consists of the following lines: #!/b...
Question 187: Which character, added to the end of a command, runs that co...
Question 188: Which of the following is true about IPv6?...
Question 189: SIMULATION Which command is used to sync the hardware clock ...
Question 190: Which of the following commands can be used to extract conte...
Question 191: Which file inside the CUPS configuration directory contains ...
Question 192: SIMULATION Which command, depending on its options, can disp...
Question 193: Which of the following file permissions belong to a symbolic...
Question 194: SIMULATION With X11 forwarding in ssh, what environment vari...
Question 195: What output will the following command sequence produce? ech...
Question 196: What is the effect of the egrep command when the -v option i...
Question 197: Which of the following SQL queries counts the number of occu...
Question 198: When using rpm --verify to check files created during the in...
Question 199: Which of the following lines are valid in the file /etc/host...
Question 200: Which of the following commands preloads and manages keys th...
Question 201: Which command will display the last line of the file foo.txt...
Question 202: When given the following command line. echo "foo bar" | tee ...
Question 203: Which of the following tasks can be accomplished using the c...
Question 204: SIMULATION Which port is the default server port for the HTT...
Question 205: A user accidentally created the subdirectory \dir in his hom...
Question 206: Which of the following commands updates the linker cache of ...
Question 207: What entry can be added to the syslog.conf file to have all ...
Question 208: Which of the following is a valid IPv6 address?...
Question 209: Which of the following commands prints a list of usernames (...
Question 210: Which of the following is correct when talking about mount p...
Question 211: SIMULATION Which command is used to create and initialize th...
Question 212: What is the purpose of the nsswitch.conf file?...
Question 213: Which of the following keywords can be used in the file /etc...
Question 214: Which of the following are tasks handled by a display manage...
Question 215: How is a display manager started?...
Question 216: What is true regarding TCP port 23?...
Question 217: Which configuration file would be edited to change the defau...
Question 218: Which of the following are requirements in order to run a sh...
Question 219: Which of the following options is used in a GRUB Legacy conf...
Question 220: SIMULATION Which option to the yum command will update the e...
Question 221: SIMULATION What is the default name of the configuration fil...
Question 222: Which shell command is used to continue background execution...
Question 223: Which of the following commands will write a message to the ...
Question 224: Which of the following are valid stream redirection operator...
Question 225: Which of the following commands set the sticky bit for the d...
Question 226: SIMULATION Which command displays a list of all background t...
Question 227: SIMULATION Which world-writable directory should be placed o...
Question 228: When removing a package, which of the following dpkg options...
Question 229: Which of the following command sets the Bash variable named ...
Question 230: When starting a program with the nice command without any ad...
Question 231: Which of the following commands reboots the system when usin...
Question 232: SIMULATION Which command is used in a Linux environment to c...
Question 233: SIMULATION Which directory holds the files that configure th...
Question 234: SIMULATION Which Debian package management tool asks the con...