-1
I am trying to create a directory via shell script, using the command:
mkdir -m755 "/var/www/app.dominio.com/html/$1"
where the folder name is passed by parameter, you are getting a question mark "name_da_folder?" at the end and it is inaccessible, what I must do to make it properly created?
More details are missing: How are you passing the name of the folder? What do you call your script? Do you have the script you are doing? I did some tests and I did not have this error that you’re having
– Tuxpilgrim
I found that the error was the line breaking character due I have created the script in windows.
– Victor M.