Results 1 to 2 of 2

Thread: Run a sh file when ubuntu startup

  1. #1
    Join Date
    Jul 2011
    Beans
    1

    Run a sh file when ubuntu startup

    Hi Friends,
    I need to run a sh file when the ubuntu 9.04 startup.Please help me how to do. Thanks.
    Last edited by shivashiva; February 10th, 2012 at 07:18 AM.

  2. #2
    Join Date
    Apr 2007
    Location
    SoCal
    Beans
    53
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Run a sh file when ubuntu startup

    goto
    system/preferences/startup applicatoins
    click the add button and add your .sh script.




    alternatively, you can add it to cron:
    https://help.ubuntu.com/community/CronHowto

    ie,
    Code:
    crontab -e
    @reboot /home/jayshomebrew/bin/mycoolscript.sh

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
  •