My "uniq" has problems...
Sun 04, 2007 20:13 |
Permalink |
Comments (0) |
Trackbacks (0)
krani1@0x82:~/router/logs/archive$ ls
auth.log.1 crond.1 errors.log.1 iptables.log.1 mail.log.1 store.log.2 user.log.2
auth.log.2 crond.2 errors.log.2 iptables.log.2 messages.log.1 syslog.log.1
cache.log.1 daemon.log.1 everything.log.1 kernel.log.1 messages.log.2 syslog.log.2
cache.log.2 daemon.log.2 everything.log.2 kernel.log.2 store.log.1 user.log.1
krani1@0x82:~/router/logs/archive$ ls | cut -f1 -d'.' | head
auth
auth
cache
cache
crond
crond
daemon
daemon
errors
errors
krani1@0x82:~/router/logs/archive$ ls | cut -f1 -d'.' | sort | uniq | head
auth
auth
cache
crond
daemon
errors
everything
iptables
kernel
mail
Can someone please explain me the double auth??
UPDATE: Thank you Alberto for the tip on the comment. I owe you a launch…
0 Comments | rss | atom | xml | json
You can use Textile 2 markup here. The XHTML tags accepted are: a, abbr, acronym, b, blockquote, code, em, i, strike and strong.