• executing shells and bins

    From The Millionaire@VERT/PARKAVE to All on Tuesday, August 21, 2007 20:59:00
    I am using Ubuntu Ultimate which is Ubuntu v7.04 (Feisty Fawn) and my
    question is how do I run files like "Install.sh" or installing binary files? I've never done this before because I just started switching over to Linux in June 2007, so I am still learning but have learned a lot in the 3 months so
    far though. Thanks.

    ---
    þ Synchronet þ Park Avenue Place - parkave.synchro.net
  • From Txie@VERT/THECORE to The Millionaire on Wednesday, August 22, 2007 19:25:00
    Re: executing shells and bins
    By: The Millionaire to All on Tue Aug 21 2007 08:59 pm

    I am using Ubuntu Ultimate which is Ubuntu v7.04 (Feisty Fawn) and my question is how do I run files like "Install.sh" or installing binary files? I've never done this before because I just started switching over to Linux i June 2007, so I am still learning but have learned a lot in the 3 months so far though. Thanks.


    You can do it one of 2 ways..

    chmod a+x Install.sh | ./Install.sh

    or

    sh ./Install.sh


    ---
    þ Synchronet þ The Core - the-core.ath.cx - Anime For Everyone!
  • From The Millionaire@VERT/FLAMINGS to Txie on Wednesday, September 12, 2007 19:41:00
    Re: executing shells and bins
    By: Txie to The Millionaire on Wed Aug 22 2007 07:25 pm

    Re: executing shells and bins
    By: The Millionaire to All on Tue Aug 21 2007 08:59 pm

    I am using Ubuntu Ultimate which is Ubuntu v7.04 (Feisty Fawn) and my question is how do I run files like "Install.sh" or installing binary fil I've never done this before because I just started switching over to Linu June 2007, so I am still learning but have learned a lot in the 3 months far though. Thanks.


    You can do it one of 2 ways..

    chmod a+x Install.sh | ./Install.sh

    or

    sh ./Install.sh


    2nd way sounds much simpler. Thanks. :-)

    ---
    þ Synchronet þ DoveNet: Flaming Star BBS * flamingstar.no-ip.info
  • From Nelgin@VERT/MAVBBS to All on Wednesday, September 12, 2007 23:54:00
    Txie <txie@vert/thecore> wrote:
    You can do it one of 2 ways..

    chmod a+x Install.sh | ./Install.sh

    or

    sh ./Install.sh

    What is wrong with

    cat Install.sh|sh

    ;)

    ---
    þ Synchronet þ Maverick BBS - maverick.bbs.us - Come Visit :)
  • From Deuce@VERT/SYNCNIX to The Millionaire on Thursday, September 20, 2007 15:01:00
    Re: executing shells and bins
    By: The Millionaire to Txie on Wed Sep 12 2007 07:41 pm

    You can do it one of 2 ways..

    chmod a+x Install.sh | ./Install.sh

    or

    sh ./Install.sh


    2nd way sounds much simpler. Thanks. :-)

    Or assuming that a Bourne shell is what you are currently using (likely on Linux)

    . Install.sh

    ---
    Synchronet - Jump on the Web 0.2 bandwagon!

    ---
    þ Synchronet þ My Brand-New BBS (All the cool SysOps run STOCK!)
  • From Deuce@VERT/SYNCNIX to Nelgin on Thursday, September 20, 2007 15:36:00
    Re: Re: executing shells and
    By: Nelgin to All on Wed Sep 12 2007 11:54 pm

    What is wrong with

    cat Install.sh|sh

    Same problem as with

    sh -c "$(< Install.sh)"

    ---
    Synchronet - Jump on the Web 0.2 bandwagon!

    ---
    þ Synchronet þ My Brand-New BBS (All the cool SysOps run STOCK!)