Show current machine name (Linux & Windows)

hostname

Example (Linux):

hostname
[root@L1ES01 root]# hostname
L1ES01.linuxd.net

additional hostname switches

No comments:

Recent Posts