Commands Flashcards
1
Q
history command
A
View history of the current user’s previously executed commands
2
Q
history -c command
A
Clear current users history of previously executed commands
3
Q
netstat command
A
Displays network connections for TCP, routing tables, and other network statistics
4
Q
echo $? command
A
*Display the exit code of the last command executed from the shell.
*If the result is 0, then the last command was successfully run without any errors.
5
Q
echo $SHELL command
A
outputs the current shell being used