Trivial Work

by Dan Am

Thursday, October 01, 2015

Fascist logging (but can be turned off by User)

function log2syslog
{
   declare command
   command=$(fc -ln -0)
   logger -p local1.notice -t bash -i -- $USER : $command
}
trap log2syslog DEBUG

Gepostet von Dan Am unter 11:18:00 AM

Practical Shell Aliases ( not only for Germans )

## german version
alias l='ls -ltr'
alias la='ls -ltra'
alias lh='ls -ltrh'
alias lah='ls -ltrah'
alias lmaa='echo du mich auch'

Gepostet von Dan Am unter 11:16:00 AM
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ►  2017 (1)
    • ►  01/08 - 01/15 (1)
  • ▼  2015 (19)
    • ►  10/11 - 10/18 (1)
    • ►  10/04 - 10/11 (1)
    • ▼  09/27 - 10/04 (2)
      • Fascist logging (but can be turned off by User)
      • Practical Shell Aliases ( not only for Germans )
    • ►  09/13 - 09/20 (6)
    • ►  09/06 - 09/13 (2)
    • ►  08/23 - 08/30 (1)
    • ►  08/02 - 08/09 (2)
    • ►  07/19 - 07/26 (4)
  • ►  2008 (9)
    • ►  04/20 - 04/27 (1)
    • ►  04/06 - 04/13 (1)
    • ►  03/09 - 03/16 (1)
    • ►  03/02 - 03/09 (4)
    • ►  02/10 - 02/17 (1)
    • ►  01/13 - 01/20 (1)
  • ►  2007 (4)
    • ►  12/16 - 12/23 (2)
    • ►  12/02 - 12/09 (2)
  • ►  2005 (39)
    • ►  09/11 - 09/18 (3)
    • ►  09/04 - 09/11 (3)
    • ►  08/07 - 08/14 (1)
    • ►  07/31 - 08/07 (3)
    • ►  07/24 - 07/31 (4)
    • ►  07/17 - 07/24 (12)
    • ►  04/10 - 04/17 (1)
    • ►  04/03 - 04/10 (2)
    • ►  01/09 - 01/16 (8)
    • ►  01/02 - 01/09 (2)
  • ►  2004 (14)
    • ►  12/26 - 01/02 (8)
    • ►  12/19 - 12/26 (6)
Simple theme. Theme images by luoman. Powered by Blogger.