PDA

View Full Version : Learning the Command Line - Shell Scripts



vansmith
01-27-2014, 10:28 AM
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. (http://www.mac-forums.com/blog/learning-command-line-shell-scripts/)

TattooedMac
04-11-2014, 10:36 PM
Thanks Van for taking the time for the command line.
Its a shame there are so many scared of it, but I'm happy I'm doing my part in learning it, so I can help myself.
Im currently going through Take Control of the Mac Command Line with Terminal (http://www.takecontrolbooks.com/command-line) which is very well written, and takes it easy on those that don't know. Joe teaches well trough a eBook. Now for your 2nd article ;)

cradom
04-12-2014, 09:43 AM
Err...Brent? That's one of my pieces. Glad you like it.

TattooedMac
04-12-2014, 11:05 AM
Doh, my bad Craig. Presumption doesn't get you far these days, as I didn't really read the Author but just assumed from Van making the thread.
But yes I do like it thank you :D

vansmith
04-12-2014, 11:21 AM
I'm happy to take the credit though...

cradom
04-12-2014, 06:07 PM
Uh huh... :)
Anyone looked at the new one yet?

TattooedMac
04-13-2014, 02:24 AM
Uh huh... :)
Anyone looked at the new one yet?

No its not where the one I read is ??

cradom
04-13-2014, 09:49 AM
Hasn't been published yet, hence the question.

TattooedMac
04-13-2014, 10:50 PM
Hasn't been published yet, hence the question.

Ahhh aimed @ Van . . .. So Vansmith ?? Has it been edited yet and ready for Publication ?

cradom
04-14-2014, 05:27 AM
Not necessarily aimed at him, he's not the only one who can do this. And he's been busy.