Why does the following command: mkdir -p '~/something'
creates a directory directory named as '~' in the current, instead of creating a directory named as something in the home directory? Is there any way to fix this?
ps. I get the value ~/something as an environment variable wrapped in single quotation.