I want to schedule -mkdir to make directory everyday with the date of the day.
Is there any way to get today's date for the command:
hdfs dfs -mkdir /home/<date>
Use the linux date command
date
hdfs dfs -mkdir /home/`date +%Y%m%d`