Which command will display the last line of the file foo.txt?
A) head -n 1 foo.txt
B) tail foo.txt
C) last -n 1 foo.txt
D) tail -n 1 foo.txt
Correct Answer:
Verified
Q58: Which command displays the list of groups
Q59: You have a program called /usr/bin/foo. You
Q60: Which statement about users and user groups
Q61: What keyword is missing from the following
Q62: SIMULATION What two character sequence is present
Q64: What is the output of the following
Q65: The output of the program date should
Q67: Which of the following commands will create
Q68: Which commands will archive /home and its
Q139: How can the current directory and its
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents