mirror of
https://github.com/Erreur32/cheat.git
synced 2024-12-22 13:42:11 +01:00
Two new cheats in date and ln sheets
This commit is contained in:
parent
97dd037538
commit
ae45265317
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue