mirror of
https://github.com/Erreur32/cheat.git
synced 2024-11-13 07:31:16 +01:00
7afb33aee4
* Update a mistake in ifconfig * Add example for a SOCKS proxy in ssh * Add an example for mounting a NFS dir in mount * Add a description for git blame * Add some examples in grep * Add example for specifing an interface in dhclient * Add a description for apt-get install * Add some commands in apt-cache * Add an example of pretty printing jsons using python
8 lines
267 B
Text
8 lines
267 B
Text
# To mount / partition as read-write in repair mode:
|
|
mount -o remount,rw /
|
|
|
|
# To mount Usb disk as user writable:
|
|
mount -o uid=username,gid=usergroup /dev/sdx /mnt/xxx
|
|
|
|
# To mount a remote NFS directory
|
|
mount -t nfs example.com:/remote/example/dir /local/example/dir
|