Permalink
Browse files

Add date aliases with iso-8601 options

  • Loading branch information...
1 parent 86e33cb commit 7a1c35b16a70ce1ec8f1a8d422ca728624429f8e @StephenBrown2 committed Mar 4, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 sh_aliases
View
@@ -12,6 +12,11 @@ alias l.='ls -d .* --color=tty'
alias ll='ls -l --color=tty'
alias ls='ls -F --color=tty'
alias allcron='cut -d: -f1 /etc/passwd | grep -vE "#" | xargs -i{} crontab -u{} -l'
+alias d8='date --iso-8601'
+alias d8h='date --iso-8601=hour'
+alias d8m='date --iso-8601=minute'
+alias d8s='date --iso-8601=second'
+alias d8t='date +%FT%T'
alias hist='history | less'
alias cdv='cd /var/www'
alias cdd='cd /etc/init.d'

0 comments on commit 7a1c35b

Please sign in to comment.