Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

mawk print file contents

 ### note '{ print }' '{ print $0 }' '1' all are same ###
awk '{ print }' /path/to/file
awk '{}1' /path/to/file
awk '1' /path/to/file
awk '{ print $0 }' /path/to/file
awk '{}1' /etc/passwd
awk '{print $0}' /etc/hosts
awk '{print}' /etc/hosts
Source by www.cyberciti.biz #
 
PREVIOUS NEXT
Tagged: #mawk #print #file #contents
ADD COMMENT
Topic
Name
3+5 =