How helpful was this page?

LINUX COMMAND REFERENCE

awk

date

    Example #1:

    returns yesterdays date

    [...]$date --date=yesterday
    Tue Jul 16 05:18:59 MST 2019
    [...]$

    Example #2:

    returns tomorrows date

    [...]$date --date=tomorrow
    Thu Jul 18 05:18:59 MST 2019
    [...]$

    Example #3:

    returns tomorrows date

    [...]$date --date="next week"
    Wed Jul 24 05:18:59 MST 2019
    [...]$

    Example #4:

    returns the date a week ago

    [...]$date --date="week ago"
    Wed Jul 10 05:18:59 MST 2019
    [...]$

    Example #5:

    returns the date a week ago

    [...]$date +%m/%d/%Y
    07/17/2019
    [...]$

sed

smbmount

sort


For more information, please send e-mail to:
Info@Elliott-Technologies.com