[LINUX] If The Script Does Not Run
Check:
- Is the script saved in Linux/Unix format (If saved in DOS format you may see "Command not found" error message). The command to remove the '\r' from DOS format is
$ tr -d '\r' < DOS_file > UNIX_file
The '<' is to input the DOS_file to command 'tr' and '>' is to output the file without '\r'. The commands including UNIX-to-DOS conversion can be found here - Is the script executable (if not you may see "Permission denied" error message
1 comment:
Keep up the good work.
Post a Comment