I've only recently started working on the embedded linux platform and I'm not very familiar with it. I'm trying to combine a set of commands into one script file to configure my wifi module on the daughter board to avoid executing each set of instructions separately . Here's a list of steps that I've done:
- Created a new script file using vi editor and saved it in /usr/folder_name
- Added executable permission using chmod 755 script_file_name
- Tried to execute the script using ./script_file_name
But, I get an error on the last command saying that -sh: ./script_file_name: not found
The script file now juts has an echo command to spit out "Hello World", which I already ran under desktop linux but i'm unable to do so on the bash for embedded linux.