Command line · Question 3 of 12

Which command lists the commands recently entered in Bash, with numbers?

1 answer is correct. Easy Created with AI

Show answer

Answer

  • C history

Explanation

history is a Bash builtin that shows the command history. last, by contrast, lists past logins, w lists the users logged in right now, and journalctl shows the system journal.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications