title: Sudo command not found (every sudo command is not working) (Mac)
body: <p>I am trying to use 'Sudo' command for solving firewall problem. </p>
  
  <p>so I typed 'sudo ufw allow 22' and 'sudo ufw allow 22/tcp' on my bash terminal. </p>
  
  <p>but terminal keep saying "sudo command not found" </p>
  
  <p><strong>*:~ *</strong>$ sudo ufw allow 22
  Password:
  sudo: ufw: command not found</p>
  
  <p>I tried to change path on bash_profile.
  export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:$PATH </p>
  
  <p>until 5 hours ago sudo command was working well and ssh too.</p>
  
  <p>but after I changed /etc/network/interfaces information, all of sudden I couldn't use ssc and sudo. </p>
  
  <p>Is there anyone can help me? It will be really appreciated. </p>