Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^7: Output of a command

by gaal (Parson)
on Jul 30, 2008 at 18:18 UTC ( #701209=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # automatically keep output of commands in a logfile for immediate
    # subsequent inspection
    alias ll="$PAGER /tmp/last.log"
    l () { if [ "x$1" = "x" ] ; then echo "did you mean 'll'?" ; \
      else /usr/bin/env " $@" 2>&1 | tee /tmp/last.log ; fi }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://701209]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2021-04-16 18:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?