SyntaxFix
Write A Post
Hire A Developer
Questions
I have shell script in Linux and following code worked for me:
#!/bin/bash yesterday=`TZ=EST+24 date +%Y%m%d` # Yesterday is a variable mkdir $yesterday # creates a directory with YYYYMMDD format