log_cmd (145B)
- #!/bin/sh
- echo "$(date -u '+%FT%TZ') EXEC $@" >> $HOME/.log_cmd_"$1".log
- "$@"
- echo "$(date -u '+%FT%TZ') EXIT[$?] $@" >> $HOME/.log_cmd_"$1".log
git clone https://hacktivis.me/git/dotfiles.git
log_cmd (145B)
- #!/bin/sh
- echo "$(date -u '+%FT%TZ') EXEC $@" >> $HOME/.log_cmd_"$1".log
- "$@"
- echo "$(date -u '+%FT%TZ') EXIT[$?] $@" >> $HOME/.log_cmd_"$1".log