Closed Mattio-cmd closed 1 year ago
uname -a | awk
is unnecessary, just use uname -n
- Not all system has awk.
Which systems does not have awk?
google "awk command not found" and you will see thousands of people struggling with this.
There, i changed it to uname -n
Not all unix and unix-like operating systems have
hostname
command installed by default. I used the standarduname
with the-a
flag and then i did some basic text processing with awk.