linux

User Login

User Name
Password
   
Forgot Password                  Sign Up

What's up ?

We value your feedbacks,ideas and your articles.Please navigate to the following links.

  • Feedback
  • I have an Idea
  • Advertise
  • The Article

    Would you like to post an article on this web site, then please navigaet here to do that.

    Submit an article

    Newletter SignUp

    Please register to receive a Newsletter.

    Register Here

    Linux Command History

    Command history

    It is unnecessary to type the same command over and over. The linux bash shell remembers your past commands.These commands are stored in the .bash_history file in each user's home directory.

    To use the history, press the up arrow to scroll backward through the commands you have already entered. The [Ctrl]-[R] shortcut searches through your previous commands. Press [Ctrl]-[R] and type the beginning of the command you previously issued. The linux command history stops at the most recent version of that command.

    Commands that you only typed partially and did not follow with [Enter] are not saved into your command history file. To clear your command history, type history -c.

    By default, RedHat Linux stores 1000 commands. Each terminal window or shell prompt stores a separate set of commands. If you gain root privileges by using the command su -, the history file (and thus the commands) you access are root's, not the user's.



    About Author

    Mobeen Noorbash
    Author Name : Mobeen Noorbash

    About him : He is a Software Developer and working in Germany ,Munich . He works on several different technologies.

    His Interests : Traveling , Music

    Located at : Munich , Germany