Print specific values from a list:
# ls -l /etc/ppp -rw------- 1 root root 78 1995-06-22 22:49 chap-secrets -rw-r--r-- 1 root root 2276 2008-12-14 12:57 firewall-masq -rw-r--r-- 1 root root 978 2008-12-14 12:57 firewall-standalone -rw-r--r-- 1 root root 9975 2007-10-06 15:08 options -rw------- 1 root root 77 1995-06-22 22:49 pap-secrets drwxr-xr-x 2 root root 104 2008-12-14 12:57 plugins/ -rw-r--r-- 1 root root 104 2008-12-14 12:57 pppoe-server-options -rw-r--r-- 1 root root 4524 2008-12-14 12:57 pppoe.conf # ls -l /etc/ppp | awk '{ print $8,$5 }' chap-secrets 78 firewall-masq 2276 firewall-standalone 978 options 9975 pap-secrets 77 plugins/ 104 pppoe-server-options 104 pppoe.conf 4524