Search:

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

Search: Search took 0.03 seconds.

  1. Replies
    4
    Views
    501

    [other] Re: Bash Menu Script

    I just that and I came out with this code


    change_directory () {
    read -r -p 'please enter your directory ' dir
    if [ -d "/$dir" ]
    then
    cd "/$dir"; echo...
  2. Replies
    4
    Views
    501

    [other] Re: Bash Menu Script

    thank you very much for your explanation. I do get your code, What I dont get is: How do I create a condition that would state that $dir is in my Home directory?
    I have tried if [ $dir = $HOME ];...
  3. Replies
    4
    Views
    501

    [other] Bash Menu Script

    HOMEWORK ASSIGNMENT
    I am creating a bash Menu script that would prompt a user to select options. Option 4 is for changing directory. I have accomplished this by using the following:...
  4. Replies
    1
    Views
    693

    [ubuntu] Authentication attempt was unsuccessful

    Well, I just installed Ubuntu 11.0 4 then I set up my login to automatic, it turns down that every time I go to USER ACCOUNTS and try to unlock, a windows pops out and asks for my password, I input...
Results 1 to 4 of 4