mirror of
https://github.com/cheat/cheat.git
synced 2024-12-23 04:59:45 +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
9 lines
267 B
Plaintext
9 lines
267 B
Plaintext
# 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
|