cheatsheet-linux
Differences
This shows you the differences between two versions of the page.
| cheatsheet-linux [2025/10/25 18:06] – created - external edit 127.0.0.1 | cheatsheet-linux [2025/10/26 20:11] (current) – sjoerd | ||
|---|---|---|---|
| Line 254: | Line 254: | ||
| hostname | hostname | ||
| hostname -s | hostname -s | ||
| + | </ | ||
| + | \\ | ||
| + | > Show and renew the IP address | ||
| + | <code bash> | ||
| + | # These commands work on UbuntuServer 18.04-LTS deployed on Azure | ||
| + | # Show lists of network cards | ||
| + | sjoerd@jumpbox: | ||
| + | IDX LINK TYPE | ||
| + | 1 lo | ||
| + | 2 eth0 ether routable | ||
| + | |||
| + | 2 links listed. | ||
| + | # Renew IP address | ||
| + | sjoerd@jumpbox: | ||
| + | [sudo] password for sjoerd: | ||
| + | # Show IP address | ||
| + | sjoerd@jumpbox: | ||
| + | ● Interfaces: 2, 1 | ||
| + | | ||
| + | Online state: online | ||
| + | | ||
| + | | ||
| + | DNS: 10.10.0.10 | ||
| + | Search Domains: reddog.microsoft.com | ||
| </ | </ | ||
| \\ | \\ | ||
cheatsheet-linux.1761415596.txt.gz · Last modified: by 127.0.0.1
