SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict
    Join Date
    Sep 2009
    Posts
    316
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question $ sudo and $ curl - What is this?

    I'm embarassed to ask this question because it makes me realize I'm far behind but I need to better understand everything relating to this whole $ sudo, $ curl, whatever, stuff.

    I grew up with DOS. Now I use OSX. I know very little about the terminal or Unix. Everywhere I go there's an assumption of an understanding of those topics and I don't get it. Where should I start to better understand this topic? What is this topic called? I'm confused by it.

    For example I'm reading about meteor.js and the first thing it mentions at the top of the page is:
    Code:
    $ curl https://install.meteor.com/ | sh

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,191
    Mentioned
    191 Post(s)
    Tagged
    2 Thread(s)
    That had me confused the first time I saw it too.

    Have you opened a CLI yet? I'v never used OSX, only DOS, but AFAIK

    Code:
    $ curl https://install.meteor.com/ | sh
    would be the equivalent of the DOS

    Code:
    > curl https://install.meteor.com/ | sh

  3. #3
    SitePoint Addict
    Join Date
    Sep 2009
    Posts
    316
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I actually haven't used DOS in years, since before Win95, when I was a kid. So basically I only remember how to navigate through folders, execute files, and a few other commands. I don't know how that works with these other tools. Do you know where I can turn to in order to understand all of these concepts?



    Quote Originally Posted by Mittineague View Post
    That had me confused the first time I saw it too.

    Have you opened a CLI yet? I'v never used OSX, only DOS, but AFAIK

    Code:
    $ curl https://install.meteor.com/ | sh
    would be the equivalent of the DOS

    Code:
    > curl https://install.meteor.com/ | sh

  4. #4
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,191
    Mentioned
    191 Post(s)
    Tagged
    2 Thread(s)
    The first step is opening up the CLI
    Most apps that I've seen have a "help" that will show you what commands you can use to do what and what the syntax is to use with each command.
    Once you open the CLI try typing the string help and click the enter key.


Bookmarks

Posting Permissions

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