mirror of
https://github.com/cheat/cheat.git
synced 2025-09-03 02:28:29 +02:00
Update and some new examples
* 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
This commit is contained in:
@ -5,3 +5,6 @@ sudo dhclient -r
|
||||
sudo dhclient
|
||||
|
||||
# Running the above in sequence is a common way of refreshing an IP.
|
||||
|
||||
# To obtain a new IP address for a specific interface:
|
||||
sudo dhclient eth0
|
||||
|
Reference in New Issue
Block a user