How to set the VI to use syntax on
If you are into the VI, press <ESC> and type:
:syntax on
If you want to set your VI to always have syntax on,you need to create .vimrc in your HOME path.
cd $HOME
vi .vimrc
##### Editing .vimrc #######
syntax on
#### Exit and save your file ########