💥 Add finding a date in the future

This commit is contained in:
Jake Brinkmann 2016-11-11 17:43:17 -06:00 committed by GitHub
parent 855c7cf106
commit fa4db19572

View File

@ -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._