Which of the following best describes the difference between HISTSIZE and HISTFILESIZE in Bash?

Which of the following best describes the difference between HISTSIZE and HISTFILESIZE in Bash?A . HISTSIZE and HISTFILESIZE are the same.B . HISTSIZE is the number of overall history entries to keep in the .bash_history, while HISTFILESIZE sets the number of commands to keep for the current session.C . HISTFILESIZE...

February 11, 2020 1 Comment READ MORE +

Which of the following commands will change all occurrences of dog in the file animals.txt to mutt in the screen display?

Which of the following commands will change all occurrences of dog in the file animals.txt to mutt in the screen display?A . sed Cs “dog” “mutt” animals.txtB . grep Cs “dog||mutt” animals.txtC . sed ‘s/dog/mutt/g’ animals.txtD . cat animals.txt | grep Cc “dog” “mutt”E . fmt animals.txt | cut ‘dog’...

February 10, 2020 No Comments READ MORE +

Which command can be run to determine the default priority for processes spawned by the current user?

Which command can be run to determine the default priority for processes spawned by the current user?A . reniceB . prioC . niceD . defpriorityView AnswerAnswer: C

February 10, 2020 No Comments READ MORE +

Which command can you use to send a message to all users who are currently logged into a system?

Which command can you use to send a message to all users who are currently logged into a system?A . catB . sshC . wallD . teeView AnswerAnswer: C

February 10, 2020 No Comments READ MORE +

Which option to both mv and cp will cause the command to prompt before overwriting files that already exist?

Which option to both mv and cp will cause the command to prompt before overwriting files that already exist?A . -fB . -iC . -rD . -ZView AnswerAnswer: B

February 10, 2020 No Comments READ MORE +

Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem's make/creation time and does NOT generate them as needed? (Choose TWO correct answers.)

Which of the following Linux filesystems preallocates a fixed number of inodes at the filesystem's make/creation time and does NOT generate them as needed? (Choose TWO correct answers.)A . XFSB . ext2C . procfsD . ext3E . JFSView AnswerAnswer: BD

February 9, 2020 No Comments READ MORE +

Which of the following commands will print the last 10 lines of a text file to the standard output?

Which of the following commands will print the last 10 lines of a text file to the standard output?A . dump -n 10 filenameB . tail -n 10 filenameC . head -n 10 filenameD . cat -n 10 filenameView AnswerAnswer: B

February 9, 2020 No Comments READ MORE +

Which of the following commands adds /usr/local/lib to the LD_LIBRARY_PATH when using Bash shell?

Which of the following commands adds /usr/local/lib to the LD_LIBRARY_PATH when using Bash shell?A . set PATH=/usr/local/libB . LD_LIBRARY_PATH=/usr/local/libC . export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/libD . connectpath LD_LIBRARY_PATH=/usr/local/libView AnswerAnswer: C

February 9, 2020 No Comments READ MORE +

Within which folder are systemd unit configuration files stored?

Within which folder are systemd unit configuration files stored?A . /lib/system.conf.dB . /lib/systemd/systemC . /etc/sysconfdD . /etc/system.conf.dView AnswerAnswer: B

February 9, 2020 No Comments READ MORE +

Determine whether the given solution is correct?

In the vi editor, what vi command will copy (but not paste) from the current line at the cursor and the following 16 lines (17 lines total)? (Specify the correct vi command without spaces.) Solution: 17yy Determine whether the given solution is correct?A . IncorrectB . CorrectView AnswerAnswer: B

February 8, 2020 No Comments READ MORE +