Fun error message

Posted on 14 February 2010 at 3:25 am in Techie.

I was playing around on my web server tonight and used a quick tail command to view a logfile while I was in the wrong directory.

I ended up with an error message that I found a tad humorous (I do actually realize that my sense of what is funny may be different than most) :

# tail -f $(ls -c1rt logs/*.log | tail -1)
/bin/ls: logs/*.log: No such file or directory
tail: warning: following standard input indefinitely is ineffective

Top