Find the answer to your Linux question:
Results 1 to 5 of 5
OK, now I just feel like a tard. I wrote my first basic script. I dropped it in rc0.d so it would execute on shut down and reboot. I was ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User Steven_G's Avatar
    Join Date
    Jun 2012
    Location
    Western US
    Posts
    414

    Dude (or Dudette), where's my script?


    OK, now I just feel like a tard.

    I wrote my first basic script.

    I dropped it in rc0.d so it would execute on shut down and reboot.

    I was doing some system modifications that required reboot and I didn't want the script to run so I renamed it to what I *thought* would keep it from running but leave it in place so I could come back and "fix" it when I was ready for it to run again.

    It's not in rc0.d anymore.

    It has now "disappeared".

    I can't find it anywhere on my system.

    It is still executing on shut down and reboot.

    Where did my friggin script go?

  2. #2
    Linux User Steven_G's Avatar
    Join Date
    Jun 2012
    Location
    Western US
    Posts
    414
    Never mind, found it.

    Now I feel even dumber for asking.

  3. #3
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    3,559
    So where was it?
    What do we want?
    Time machines!

    When do we want 'em?
    Doesn't really matter does it!?


    The Fifth Continent

  4. #4
    Linux User Steven_G's Avatar
    Join Date
    Jun 2012
    Location
    Western US
    Posts
    414
    It was one of those "learning experiences". Yuck!

    The naming convention I used, which I thought would stop it form executing, just made it hidden instead and did not stop it from executing.

    Since it was hidden and I didn't think to look for hidden files in the GUI or TTY I couldn't "see" it.

    DOH!

  5. #5
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Desert
    Posts
    4,082
    /usr/local/bin/.DOH

    ?
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way. I Have a Masters in Raising Hell
    Tech Books
    Free Linux Books
    Newbie Guide
    Courses at Home

Posting Permissions

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