history command
View history of the current user’s previously executed commands
history -c command
Clear current users history of previously executed commands
netstat command
Displays network connections for TCP, routing tables, and other network statistics
echo $? command
*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.
echo $SHELL command
outputs the current shell being used