I tried command like * * * * * mkdir new /home/subir/Desktop But it create "new" directory in my home directory. How to do that On desktop?
21 Answer
The syntax of mkdir is simple. From man mkdir :
mkdir [OPTION]... DIRECTORY...Thus the correct use is mkdir /home/subir/Desktop/new, not mkdir directory /path.
When you specify multiple arguments, and none of them are options, mkdir will threat them as seperate directories to make. Thus, it tried to make new and /home/subir/Desktop.
You should probably learn to use man pages to figure out such things quickly yourself.