Tag archives: mail

RSS feed of mail

My Shell cheatsheet

Published June 25, 2015 in Development, System administration - Last update on July 8, 2015.

There are some tricks I do a long time ago then I forget or want to share:

Save time with history expansion

First daily use case, I want to run a command but I forgot to make it as root user.

$ ls /root/
ls: cannot open directory /root/: Permission denied
$ sudo !!
sudo ls /root/
file1 ...

Continue reading