use following command to update the fileformat of a file to unix based file format :
:set fileformat=unix
eg -
[atg@endeca control]$ vi initialize_services.sh
:set fileformat=unix
:set fileformat=unix
eg -
[atg@endeca control]$ vi initialize_services.sh
:set fileformat=unix
No comments:
Post a Comment