Nguyễn Linh Trang
New member
How do I find the 5th column in UNIX?
Answer
How to do it…
Answer
How to do it…
- To print the fifth column, use the following command: $ awk ‘{ print $5 }’ filename.
- We can also print multiple columns and insert our custom string in between columns. For example, to print the permission and filename of each file in the current directory, use the following set of commands: