vansmith
Senior Member
- Joined
- Oct 19, 2008
- Messages
- 19,924
- Reaction score
- 559
- Points
- 113
- Location
- Queensland
- Your Mac's Specs
- Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
Terminal commands are great but what if you want to have something done every time you login? What if you need to do something on several files or some other repetitive action and don't want to type in the commands every time. That could get time consuming and dreary. In this article, we will set up our Terminal environment to make certain things a little easier and get a start on shell scripting.
A shell script is a text file with all the commands you want run, one after another. It's almost like a regular programming language but in many ways easier to use.
Open Terminal and type:
cp /etc... ... Return to article to continue reading.
A shell script is a text file with all the commands you want run, one after another. It's almost like a regular programming language but in many ways easier to use.
Open Terminal and type:
cp /etc... ... Return to article to continue reading.