Re:Show HN: Memorize Terminal Commands
by BanazirGalbasi on Monday July 29, 2019 @01:53PM
(#20557320)
I also got a similar result with this:
Question: Write the command that reads the file that has the name (text.txt) and shows only one page each time you hit space and it allows you to explore the file back and forward.
Your answer: less test.txt
Correct answer: less text.txt
echo -n hello world considered wrong as well.
Also
Question: Write the command that you use if you finish working with the terminal and you want to log out from the current session.
Your answer:logout
Correct answer:exit
Your answer: dev
Correct answer: /dev
Edit: Also
Question: Write the command that shows a text 'hello world' in the console without moving to a new line after executing the command
Your answer: printf '%s' 'hello world'
Correct answer: echo -n 'hello world'