mirror of
https://github.com/you-dont-need/You-Dont-Need-GUI.git
synced 2025-01-17 21:38:30 +01:00
💥 Add finding a date in the future
This commit is contained in:
parent
855c7cf106
commit
fa4db19572
19
readme.md
19
readme.md
@ -32,6 +32,7 @@ As a computer expert, we want to be more efficient and do our jobs better. We kn
|
|||||||
1. [list folder contents](#listfolder)
|
1. [list folder contents](#listfolder)
|
||||||
1. [find a stale file](#findfile)
|
1. [find a stale file](#findfile)
|
||||||
1. [show a calendar](#showcal)
|
1. [show a calendar](#showcal)
|
||||||
|
1. [find a future date](#calcdate)
|
||||||
|
|
||||||
|
|
||||||
## <a id="copyfile"></a>copy a file
|
## <a id="copyfile"></a>copy a file
|
||||||
@ -197,11 +198,27 @@ find my_folder -mtime +5
|
|||||||
|
|
||||||
**STOP LOOKING UP WHAT DAY IT IS BY CALENDAR WIDGETS**
|
**STOP LOOKING UP WHAT DAY IT IS BY CALENDAR WIDGETS**
|
||||||
|
|
||||||
Display a text calendar, highlighting the current day
|
Display a text calendar
|
||||||
|
|
||||||
```
|
```
|
||||||
cal
|
cal
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## <a id="calcdate"></a>find a future date
|
||||||
|
|
||||||
|
**STOP USING WEBAPPS TO CALCULATE FUTURE DATES**
|
||||||
|
|
||||||
|
What is todays date?
|
||||||
|
|
||||||
|
```
|
||||||
|
date +%m/%d/%Y
|
||||||
|
```
|
||||||
|
|
||||||
|
What about a week from now?
|
||||||
|
|
||||||
|
```
|
||||||
|
date -d "+7 days"
|
||||||
|
```
|
||||||
|
|
||||||
===
|
===
|
||||||
_Remember, you can always google or `man` the commands you are not familiar with._
|
_Remember, you can always google or `man` the commands you are not familiar with._
|
||||||
|
Loading…
x
Reference in New Issue
Block a user