To print single column from a text file
#awk -F: '{print $1}' /etc/passwd
To print multiple columns from a text file
# awk -F: '{print $1,$7}' /etc/passwd
[On] Red Hat Enterprise Linux Server release 7.4 (Maipo) Apache was not running and attempt to start the httpd service failed. The natural t...
No comments:
Post a Comment