Find the answer to your Linux question:
Results 1 to 4 of 4
Hi all, I am a new Linux user with very little experience. I am working through some tutorials at the moment. When I finish the tutorials, is there a command ...
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    2

    [SOLVED] Really Basic Question

    Hi all,

    I am a new Linux user with very little experience. I am working through some tutorials at the moment.

    When I finish the tutorials, is there a command I can enter to show me all the commands that I entered in the session?

    I am using Fedora.

    Thanks in advance for your help.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Hi and Welcome !

    Check contents of .bash_history file.
    Code:
    less ~/.bash_histroy
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568

    Smile

    Hi BloodSupper Welcome to Linux

    history
    command will displays everything you typed on terminal.

    checkout ~/.bash_history file actually this file is used by history command.

    history command by default will list upto 1000 entries. if you want extend this limit (say 10000) then edit your /etc/profile

    HISTSIZE=1000
    as

    HISTSIZE=10000
    HTH
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  4. #4
    Just Joined!
    Join Date
    Apr 2009
    Posts
    2
    Thank you for the speedy reply, welcome and clear explanation!!

Posting Permissions

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