what is the executable file format in linux (ubuntu) and macintosh (macos catalina)
like .exe in windows os please help me.
Answers
Answer:
idk okkkkkkkkkkkkkkkk
Answer:
Make a file executable in Terminal on Mac
Shell scripts must be executable files in order to run. You can use the chmod command to indicate that the text file is executable (that is, its contents can be run as a shell script).
In the Terminal app on your Mac, use the cd command to move into the directory that contains the file you want to make executable. For example:
% cd YourScriptDirectory
Enter the chmod command. For example:
% chmod 755 YourScriptName.sh
After making the shell script file executable, you can run it by entering its pathname. For example:
% ~/Documents/Dev/YourScriptName.sh
or
% cd ~/Documents/Dev/
% ./YourScriptName.sh
See also
About shell scripts in Terminal on Mac
Apple Support article: Use zsh as the default shell on your Mac
Script management with launchd in Terminal on Mac
chmod command man page
cd command man page
please mark me as brianliest