awk $1>10 -F '{print $1, $NR}'

awk -F ' '  '$5>30 {print $5}' file3
0
6
87
4096
29
400
0
4096


awk -F ' '  '/4096/ {print $5}' file3
4096
4096

$NF last field
awk '{print $1,$NF}' file3
total 24
-rw-rw-r-- .hiddenfile
-rw-rw-r-- testfile1
-rw-rw-r-- sc2

awk '$5>500' file3
drwxr-xr-x 45 ubuntu2 ubuntu2 4096 Feb 26 07:21 ..
drwxrwxr-x  2 ubuntu2 ubuntu2 4096 Feb 26 10:55 .

Comments

Popular posts from this blog

HAproxy logging

teamcity Automatic Agent Start under Linux

NFS mount add in fstab _netdev instead of default | firewall-cmd --list-all