ubuntuGet current hostname in CLI
Usage example
hostname -f
output
ip-172-26-12-191.eu-central-1.compute.internal
More of Ubuntu
- How to list users in CLI
- How to change timezone in CLI
- How to use ipcalc with IP address
- Show hardware info in CLI
- How to download Youtube video in CLI
- How to extract tar.gz in CLI
- How to change password in CLI for another user
- How to download Youtube playlist in CLI
- Update programs and remove unused packages
See more codes...