I am trying print the first field of the first row of an output. Here is the case. I just need to print only SUSE
from this output.
# cat /etc/*release
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 2
Tried with cat /etc/*release | awk {'print $1}'
but that print the first string of every row
SUSE
VERSION
PATCHLEVEL