Results 1 to 6 of 6

Thread: How do I run a script?

  1. #1
    Join Date
    Sep 2008
    Beans
    21

    Unhappy How do I run a script?

    I think that this is so basic that it doesn't get articulated.

    How do I run a script? I want to install ALSA updates, as per
    http://ubuntuforums.org/showpost.php...&postcount=104

    _but_ then I don't know how to open it, or untar it, or anything. I don't knwo what application I should use, and if I use tar -zxvf and then the file name, it tells me no such file or directory.

    Maybe it's because I don't really know what directory it landed in? (And have no idea how to check it.)

    Help! (And thank you! I will be _so_ excited when I can finally record sound.)

  2. #2
    Join Date
    Mar 2008
    Beans
    796

    Re: How do I run a script?

    the command tar xfvz <path to file here> will work just fine in untaring the package for you. From there if it's just a shell script just run it in the terminal by cd'ing to the directory and then sh ./<filename>.sh

  3. #3
    Join Date
    Mar 2008
    Location
    Copenhagen Denmark
    Beans
    722
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: How do I run a script?

    you need to find it first. Check your home folder and some subfolders.
    Ubuntu 10.10 Maverick | ASUS A6Rp | Intel(R) Celeron(R) M CPU 420 @ 1.60GHz | 4 GB ram |
    Graphic Card: ATI Technologies inc RC410 [Radeon Xpress 200M]

  4. #4
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: How do I run a script?

    Firefox downloads to the desktop by default. All you have to do is double click the file and File-Roller will automatically open and ask you want to extract it to.

    Once you have the file extracted check out the the read me file as it will tell you what depends you need to install before running the script.

    Jim

  5. #5
    Join Date
    Sep 2008
    Location
    Korea
    Beans
    938
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How do I run a script?

    Are you using firefox? If you are then you check where the file landed by starting firefox and going to Edit->Preferences and see what the "Save files to" field says.
    If the file is on the desktop, say, then you need to type in
    Code:
    cd Desktop
    and then type in the tar command

  6. #6
    Join Date
    Apr 2008
    Location
    AZ
    Beans
    2,064
    Distro
    Ubuntu

    Re: How do I run a script?

    to help you find the file, in a terminal type

    Code:
    sudo updatedb

    then you can use the command locate to find where your file is. for example to find all files that end with .zip you would type

    Code:
    locate *.zip

Tags for this Thread

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
  •