Search:

Type: Posts; User: thecodejunkie; Keyword(s):

Search: Search took 0.03 seconds.

  1. Replies
    19
    Views
    5,236

    Re: Run a bash script on Terminal Startup

    I would learn how to adapt it to my script.

    I could analyze someone else's code and figure out how they did it in a few minutes, or I could spend hours trying to apply it myself and get nowhere.
  2. Replies
    19
    Views
    5,236

    Re: Run a bash script on Terminal Startup

    How would I apply this to my script?
  3. Replies
    19
    Views
    5,236

    Re: Run a bash script on Terminal Startup

    Thanks, but that's still not really what I asked. I asked how to change MY SCRIPT to have stars instead of the password or the -s thing or whatever.

    It seems like nobody on this forum has any...
  4. Replies
    19
    Views
    5,236

    Re: Run a bash script on Terminal Startup

    I had originally posted this in the absolute beginners section, so telling me that doesn't really tell me anything.
  5. Replies
    19
    Views
    5,236

    Re: Run a bash script on Terminal Startup

    Well yeah but I asked how to hide input with *
  6. Replies
    19
    Views
    5,236

    Re: Run a bash script on Terminal Startup

    Keep in mind that this is in fact the Absolute Beginners Section, I have no idea how to use that in the proper context.
  7. Replies
    19
    Views
    5,236

    Re: Run a bash script on Terminal Startup

    Now if I wanted to hide the user input with *'s, how would I do that?

    Slightly updated script:

    clear

    echo EVTech TermLock Protocol v1.0.1
    echo #
    echo Enter password now:
    read password
  8. Replies
    19
    Views
    5,236

    Re: Run a bash script on Terminal Startup

    I figured it out, had to unhide the files. Thanks! It works now. I'll perfect the script :D
  9. Replies
    19
    Views
    5,236

    Re: Run a bash script on Terminal Startup

    I do know that it's stupid and simple and provides no real protection, but I'm really just doing it to learn.

    How do I get to said "~/.bashrc"?
  10. Replies
    19
    Views
    5,236

    Run a bash script on Terminal Startup

    I have Ubuntu 12.

    I made a simple script to ask for a password before I can get in the terminal, but how do I make it so it runs this script every single time I start Terminal? Here's the script:...
Results 1 to 10 of 10