updated linux notes
This commit is contained in:
parent
b0256ac69a
commit
0caa63cc90
1 changed files with 12 additions and 0 deletions
|
|
@ -88,6 +88,18 @@ ss
|
||||||
To display the history of last logged in users:
|
To display the history of last logged in users:
|
||||||
last
|
last
|
||||||
|
|
||||||
|
To display your previous commands:
|
||||||
|
history
|
||||||
|
|
||||||
|
To find a specific command in history:
|
||||||
|
history | grep <command>
|
||||||
|
|
||||||
|
Then from there you should be able to use that command using the id number returned:
|
||||||
|
!365
|
||||||
|
|
||||||
|
To clear your history:
|
||||||
|
history -c
|
||||||
|
|
||||||
To display your current external/public IP address:
|
To display your current external/public IP address:
|
||||||
curl ifconfig.me
|
curl ifconfig.me
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue