cat <<'EOF' >>~/.bashrc
alias dt='date +%Y.%m.%d.%H%M'
EOF


# it might be better to put this in 
cat <<'EOF' >>~/.bash_aliases
alias dt='date +%Y.%m.%d.%H%M'
EOF

. ~/.bash_aliases

bashrc (last edited 2018-03-30 14:35:07 by localhost)