mirror of
https://github.com/cheat/cheat.git
synced 2025-04-15 05:56:06 +02:00
Two new cheats in date and ln sheets
This commit is contained in:
parent
97dd037538
commit
ae45265317
@ -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"
|
date +"%Y%m%d_%H%M%S"
|
||||||
|
|
||||||
|
# Convert Unix timestamp to Date
|
||||||
|
date -d @1440359821
|
||||||
|
@ -1,2 +1,5 @@
|
|||||||
# To create a symlink:
|
# To create a symlink:
|
||||||
ln -s path/to/the/target/directory name-of-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…
x
Reference in New Issue
Block a user