Posted on 2011-10-24
Last Modified: 2013-11-15
What do you have to do to the script to be able to execute it?
Question by:Grad2012

    Author Comment

    Thank you, can you help?
    LVL 31

    Accepted Solution

    You have to provide execute permission

    chmod +x scriptname

    And to run
    LVL 31

    Expert Comment

    Here is your test script
    echo "HELLO WORLD"

    Open in new window

    Save it as

    Then issue command
    chmod 755 hello

    Then run it

    LVL 12

    Expert Comment

    by:Gary Coltharp
    You must also specify the path to the script if it is not in the path... ie /foo/foo/ or if currently in the directory, just ./


    Author Closing Comment

    Thank you

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
    1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now