#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Location
    entlegen
    Posts
    442
    Rep Power
    14

    why there is previous command in my up/down arrow key?


    why there is previous command in my up/down arrow key?


    do I miss any files and miss install any things?
    regards,

    wish to use AT 89c51 single chip computer to do remote sensing and send the data back from woods to office via nokie 3330 and internet. HOW?
    first I must revise C program thro' example, what's next?
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2001
    Location
    Boston
    Posts
    12
    Rep Power
    0
    What is your question exactly?

    If it is:

    1) Why can't I access my command history with up arrow - down arrow?

    Your answer might be dependant upon your shell. Try `echo $SHELL`

    Some shells do not have history accessible by default. Bash does for sure. C Shell does not by default but I believe there is a way to enable it.

    or

    2) How come when I push the up arrow do I see the last bunch of commands I typed?

    Your answer is: It makes life simple!


    Thanks!
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Location
    entlegen
    Posts
    442
    Rep Power
    14
    up / down used to store the past command.

    why it is lost????
    regards,

    wish to use AT 89c51 single chip computer to do remote sensing and send the data back from woods to office via nokie 3330 and internet. HOW?
    first I must revise C program thro' example, what's next?
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2002
    Posts
    13
    Rep Power
    0
    if your command line history doesnt work, make sure you have a file called .bash_history in you home directory, and make sure the permissions are set correctly.

IMN logo majestic logo threadwatch logo seochat tools logo