Results 1 to 10 of 10
  1. #1
    Learning the Command Line - Shell Scripts
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,395
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Learning the Command Line - Shell Scripts
    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.

  2. #2
    Learning the Command Line - Shell Scripts
    TattooedMac's Avatar
    Member Since
    May 19, 2009
    Location
    Waiting for a mate . . .
    Posts
    8,379
    Specs:
    21" iMac 2.9Ghz 16GB RAM & 13"MBP 2.9Ghz i7 8GB RAM 10.10.3, iPhone5 & iPad Air 2 iOS 8.3, ATV3
    This is great . . .
    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 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
    Dont forget to use the Reputation System if someone has helped you out !!!
    Arguing with a zealot is only slightly easier than tunneling through a mountain with your forehead!!!!!
    MoTM ☆☆☆

  3. #3
    Learning the Command Line - Shell Scripts
    cradom's Avatar
    Member Since
    Feb 14, 2004
    Location
    Nederland, Texas
    Posts
    4,074
    Specs:
    13in macbook - 10.10.4
    Err...Brent? That's one of my pieces. Glad you like it.
    Craig Domingue
    (\__/)
    (='.'=) This is Bunny. Copy and paste Bunny into your
    (")_(") signature to help him gain world domination

  4. #4
    Learning the Command Line - Shell Scripts
    TattooedMac's Avatar
    Member Since
    May 19, 2009
    Location
    Waiting for a mate . . .
    Posts
    8,379
    Specs:
    21" iMac 2.9Ghz 16GB RAM & 13"MBP 2.9Ghz i7 8GB RAM 10.10.3, iPhone5 & iPad Air 2 iOS 8.3, ATV3
    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
    Dont forget to use the Reputation System if someone has helped you out !!!
    Arguing with a zealot is only slightly easier than tunneling through a mountain with your forehead!!!!!
    MoTM ☆☆☆

  5. #5
    Learning the Command Line - Shell Scripts
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,395
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    I'm happy to take the credit though...
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  6. #6
    Learning the Command Line - Shell Scripts
    cradom's Avatar
    Member Since
    Feb 14, 2004
    Location
    Nederland, Texas
    Posts
    4,074
    Specs:
    13in macbook - 10.10.4
    Uh huh...
    Anyone looked at the new one yet?
    Craig Domingue
    (\__/)
    (='.'=) This is Bunny. Copy and paste Bunny into your
    (")_(") signature to help him gain world domination

  7. #7
    Learning the Command Line - Shell Scripts
    TattooedMac's Avatar
    Member Since
    May 19, 2009
    Location
    Waiting for a mate . . .
    Posts
    8,379
    Specs:
    21" iMac 2.9Ghz 16GB RAM & 13"MBP 2.9Ghz i7 8GB RAM 10.10.3, iPhone5 & iPad Air 2 iOS 8.3, ATV3
    Quote Originally Posted by cradom View Post
    Uh huh...
    Anyone looked at the new one yet?
    No its not where the one I read is ??
    Dont forget to use the Reputation System if someone has helped you out !!!
    Arguing with a zealot is only slightly easier than tunneling through a mountain with your forehead!!!!!
    MoTM ☆☆☆

  8. #8
    Learning the Command Line - Shell Scripts
    cradom's Avatar
    Member Since
    Feb 14, 2004
    Location
    Nederland, Texas
    Posts
    4,074
    Specs:
    13in macbook - 10.10.4
    Hasn't been published yet, hence the question.
    Craig Domingue
    (\__/)
    (='.'=) This is Bunny. Copy and paste Bunny into your
    (")_(") signature to help him gain world domination

  9. #9
    Learning the Command Line - Shell Scripts
    TattooedMac's Avatar
    Member Since
    May 19, 2009
    Location
    Waiting for a mate . . .
    Posts
    8,379
    Specs:
    21" iMac 2.9Ghz 16GB RAM & 13"MBP 2.9Ghz i7 8GB RAM 10.10.3, iPhone5 & iPad Air 2 iOS 8.3, ATV3
    Quote Originally Posted by cradom View Post
    Hasn't been published yet, hence the question.
    Ahhh aimed @ Van . . .. So Vansmith ?? Has it been edited yet and ready for Publication ?
    Dont forget to use the Reputation System if someone has helped you out !!!
    Arguing with a zealot is only slightly easier than tunneling through a mountain with your forehead!!!!!
    MoTM ☆☆☆

  10. #10
    Learning the Command Line - Shell Scripts
    cradom's Avatar
    Member Since
    Feb 14, 2004
    Location
    Nederland, Texas
    Posts
    4,074
    Specs:
    13in macbook - 10.10.4
    Not necessarily aimed at him, he's not the only one who can do this. And he's been busy.
    Craig Domingue
    (\__/)
    (='.'=) This is Bunny. Copy and paste Bunny into your
    (")_(") signature to help him gain world domination

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. New Blog: Learning the Command Line ? Shell Scripts
    By MF Blog Bot in forum Apple Rumors and Reports
    Replies: 0
    Last Post: 01-27-2014, 09:30 AM
  2. Learning the Command Line - File System
    By vansmith in forum Apple Rumors and Reports
    Replies: 1
    Last Post: 01-24-2014, 08:13 PM
  3. New Blog: Learning the Command Line (Part One)
    By MF Blog Bot in forum Apple Rumors and Reports
    Replies: 5
    Last Post: 04-30-2012, 11:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •