Two new cheats in date and ln sheets

This commit is contained in:
Shadab Zafar 2015-06-19 23:18:59 +05:30
parent 97dd037538
commit ae45265317
2 changed files with 7 additions and 1 deletions

View File

@ -1,2 +1,5 @@
# Printout date in format suitable for affixing to file names
# Print date in format suitable for affixing to file names
date +"%Y%m%d_%H%M%S"
# Convert Unix timestamp to Date
date -d @1440359821

View File

@ -1,2 +1,5 @@
# To create a symlink:
ln -s path/to/the/target/directory name-of-symlink
# Symlink, while overwriting existing destination files
ln -sf /some/dir/exec /usr/bin/exec