Which command can you use to view the commands that have been executed during the current session?
When troubleshooting a problem, you look through .bash_history to determine commands that you’ve recently executed.
However, the file does not contain information from your current session.
Which command can you use to view the commands that have been executed during the current session?
A . pwd
B . history
C . cmdhist
D . cmds
Answer: B
Latest 101-500 Practice Questions with 242 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments