logo

dotfiles

My dotfiles, one branch per machine, rebased on base git clone https://anongit.hacktivis.me/git/dotfiles.git/

log_cmd (145B)


  1. #!/bin/sh
  2. echo "$(date -u '+%FT%TZ') EXEC $@" >> $HOME/.log_cmd_"$1".log
  3. "$@"
  4. echo "$(date -u '+%FT%TZ') EXIT[$?] $@" >> $HOME/.log_cmd_"$1".log