May 2017
Beginner
552 pages
28h 47m
English
The awk command is frequently used for this task.
$ awk '{ print $5 }' filename
The following command will print the permission and filename of each file in the current directory:
$ ls -l | awk '{ print $1 " : " $8 }'
-rw-r--r-- : delimited_data.txt
-rw-r--r-- : obfuscated.txt
-rw-r--r-- : paste1.txt
-rw-r--r-- : paste2.txt