I want to open file in editor using command line.
Actually I want to edit file with as sudo… now I have to change ownership of file to edit and run everytime (the config file)
Thanks for Link, but I want to open the editor from command line, can I bind it with command ,.lets say some-keyword file.txt
, so file.txt is opened in the editor already present