Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Getting rid of history in a terminal
Results 1 to 5 of 5

Thread: Getting rid of history in a terminal

  1. #1

    Getting rid of history in a terminal

    Hi,

    How do I delete the command history in a terminal apart from that Edit menu option called 'Clear all histories? Any particular command to achieve so? Thanks................

  2. #2
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760
    .bash_history file located in the user's home directory.

    /home/andrew/.bash_history is mine for example.

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


  3. #3
    > .bash_history

    the above command will clear the history

  4. #4
    history -c
    arrogance breeds ignorance


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  5. #5
    Newbie
    Join Date
    Apr 2007
    Location
    Siler City NC
    Posts
    4

    Cool I learned something new!!

    Quote Originally Posted by Kernel_Killer View Post
    history -c
    Thanks! I learned something new today.

Similar Threads

  1. Mplayer URL History?
    By zerg445 in forum Linux - Software, Applications & Programming
    Replies: 5
    Last Post: 08-08-2006, 01:41 AM
  2. History is okay.
    By Fatal Error in forum General Chat
    Replies: 0
    Last Post: 02-17-2005, 12:04 AM
  3. History feature
    By ablemonk in forum Windows - General Topics
    Replies: 12
    Last Post: 01-27-2005, 04:27 AM
  4. Epiphany URL history
    By trickster in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 03-24-2004, 12:45 AM
  5. mozilla and it's history
    By bobblebob in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 09-22-2003, 04:10 PM

Bookmarks

Posting Permissions

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