In Linux shell, am I able to create a directory but the name would be a string returned from another program? And if I am able, how to?
In particular I am asked to create a new directory in my Home, and its name would be the minute on my computer's clock. Let's suppose
01 is the minutes on my clock.
I was thinking something like pipeline
date +"%M" | mkdir but I do not know how I am gonna put that returned number into the
Finally another idea came to my mind, something like this
mkdir (date +"%M") but this as well is a mistake. Any help please?