Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a shell script for backups and I need the Weekday of tomorrow.

$Today = $(date +%a)
#$Tomorrow = ?
share|improve this question

closed as off-topic by Jenny D, mdpc, dawud, Ward, Tom O'Connor Mar 21 '14 at 9:40

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must be relevant to professional system administration. Server Fault is dedicated to professional system and network administrators. End user and enthusiast questions are off-topic (contact your system administrator or hire a professional to help you out). Please see the Help Center for more information." – Jenny D, mdpc, Ward, Tom O'Connor
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 2 down vote accepted
$ date +%a --date="tomorrow"
share|improve this answer
@Martin - by the way, I didn't know this previously, but the answer was in the first link for a google search for "linux date tomorrow". – EEAA Mar 19 '14 at 21:00
Thanks, I googled Ubuntu shell date – Martin Mar 19 '14 at 21:06

Not the answer you're looking for? Browse other questions tagged or ask your own question.