I am using Ubuntu 17.10, I want to make a folder in opt folder/directory and paste something but when I open the opt folder and right click on it the new folder option is unhighlighted and also the paste option I tried to make the folder in opt folder using terminal by mkdir command but it shows Permission denied.
Plz tell me how to do it?
/optdirectory. Could you edit your question and explain why you want to put something in there? I'd rather understand what you are doing before giving you an answer that could potentially be a bit dangerous.sudo chmod +w /optshould do the trick.