aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2018-04-11 13:26:21 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2018-04-11 13:26:54 +0300
commit2f104239a369f9534d47fa7038f0382bde34ffe6 (patch)
treeada39074e1aacd9ad8e7817f3b890c34541595f5
parentmysql.sh: support $MYSQL_DATABASE (diff)
downloadlinux-home-2f104239a369f9534d47fa7038f0382bde34ffe6.tar.gz
linux-home-2f104239a369f9534d47fa7038f0382bde34ffe6.zip
.bashrc: add date aliases
-rw-r--r--%HOME%/.bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc
index 71f7172..0ce7b81 100644
--- a/%HOME%/.bashrc
+++ b/%HOME%/.bashrc
@@ -33,6 +33,9 @@ alias dir='ls --format=vertical'
alias less='less --ignore-case --RAW-CONTROL-CHARS'
alias tree='tree -a'
+alias utc_file_name='date --utc +"%Y%m%d%H%M%S"'
+alias utc_iso='date --utc +"%Y-%m-%dT%H:%M:%SZ"'
+
#alias sed='sed --follow-symlinks'
# The alias above doesn't actually work with stdin in sed 4.2.2, it's a bug
# fixed in sed 4.3.