-
Notifications
You must be signed in to change notification settings - Fork 0
Pro tips
Daisho Komiyama edited this page Jul 27, 2020
·
2 revisions
Here's a list of useful tips when you ssh to your server.
-
sudo !!
: Executes the previous command with sudo permission -
head
prints the first 10 lines of file -
tail
prints the last 10 lines of file -
tail -f /var/log/auth.log
watches auth.log last lines so you can watch auth.log in real time.