1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-23 19:15:25 +02:00

Better formatting.

This commit is contained in:
hemanth.hm 2014-06-27 21:31:28 +05:30
parent c21f4de00e
commit 7e5ba0ce48

View file

@ -4,20 +4,17 @@
- Listing of an unreadable directory:
`sudo ls /usr/local/scrt`
`sudo {{ls}} {{/usr/local/scrt}}`
- To list the home directory of non-root user
`sudo -u Jhon ls ~Jhon`
- To edit a file as user www:
`sudo -u www vi /var/www/index.html`
`sudo -u {{www}} {{vi}} {{/var/www/index.html}}`
- To shutdown the machine:
`sudo shutdown -r +10 "Cya soon!"`
`sudo {{shutdown}} -r +10 {{"Cya soon!"}}`
- To repeat the last command as sudo
`sudo !!`
`sudo {{!!}}`