How to write and execute shell script on macOS | Shell script tutorial

preview_player
Показать описание
In this tutorial, we discuss about how to write shell script on macOS. I used nano editor, you can use any other like Vi or third party too. By default, it is not executable, so we need to make it executable with the chmod +x command. 100 Likes and I will upload a free cheat sheet of macOS shell scripting tips.

Subscribe and share !
Рекомендации по теме
Комментарии
Автор

Very concise and clearly spoken. Thank you.

SpikeRazorshards
Автор

Good demo! It's Mac OS "ten" not It's also not called "OS X" anymore. As of 2016, it's macOS.

HowieIsaacks
Автор

Can we use VS code as editor if yes then what do we have to write in place of nano

anuragagrahari
Автор

hello, is it possible to run it with double click ?
thank you in advance.

carlotadias
Автор

You didn’t need to start the script with #!/bin/sh

undeze
welcome to shbcf.ru