Find the answer to your Linux question:
Results 1 to 2 of 2
so i understand that previous commands are preserved and able to be recalled by UP ARROW from one login to the next. why/how does the BASH shell recalls these commands? ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2012
    Posts
    1

    up arrow persistant through logins


    so i understand that previous commands are preserved and able to be recalled by UP ARROW from one login to the next.

    why/how does the BASH shell recalls these commands?

    what is the technical answer as to what the shell uses to perform this action?

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,706
    It uses the information in ~/.bash_history.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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