Which command will display the last line of the file fo… seenagape 8 years ago 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 ← Previous question Next question →