Search code examples
ruby-on-railsrubyubuntunginxlinode

Cant open nginx.conf file via sudo mate command in Linode Ubuntu 10.04 box


when we run sudo mate /opt/nginx/conf/nginx.conf we get two different errors

sudo: unable to resolve host myhost

sudo: mate: command not found

how can we get this file to open? sudo mate wont open it


Solution

  • mate is a command installed by Textmate, which is an OS X app, not a Linux one. You need to use something like emacs or vim or nano to edit files on your Linode instance.