
Linux Tip: How to use the history command
Interactive Video
•
Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary function of the Bash History Command?
To create new command aliases
To delete old commands
To show and reuse recently used commands
To encrypt command history
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you determine the size of your history buffer?
By typing 'history size'
By typing 'history buffer'
By typing 'echo hisst size'
By typing 'buffer size'
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command can be used to view only the last few commands from your history?
history | grep
history | head
history | tail
history | sort
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is one way to quickly reuse a command from your history?
Press the DOWN Arrow key
Type the entire command again
Press the UP Arrow key
Use the LEFT Arrow key
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you rerun a command by using its number in the history buffer?
Type the command number directly
Use an exclamation point followed by the command number
Use a question mark followed by the command number
Type 'run' followed by the command number
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?