First, By pressing the 'ESC' key, enter command mode in the vi editor. Type ":", then "!", and the command.