• Table of Contents
  • Submit Your Hack
  • RSS
  • Get New Hacks by Email

Linux 101 Hacks

From the category archives:

08. Command Line History

Hack 64. Ignore specific commands from the history using HISTIGNORE

by Ramesh

Hack 63. Disable the usage of history using HISTSIZE

by Ramesh

Hack 62. Substitute a specific argument for a specific command

by Ramesh

Hack 61. Substitute words from history commands

by Ramesh

Hack 60. Clear all the previous history using option -c

by Ramesh

Hack 59. Force history not to remember a particular command using HISTCONTROL

by Ramesh

Hack 58. Erase duplicates across the whole history using HISTCONTROL

by Ramesh

Hack 57. Eliminate the continuous repeated entry from history using HISTCONTROL

by Ramesh

Hack 56. Change the history file name using HISTFILE

by Ramesh

Hack 55. Control the total number of lines in the history using HISTSIZE

by Ramesh

← Previous Entries

  • Vim 101 Hacks Book

    "Vim offers just about everything you could ever want from an editor. The best that can happen is when an experienced user shows you the way and accompanies you as you learn. This book does exactly this. " --Prof. Dr. Fritz Mehner (Author of several Vim plugins)

    Get Vim 101 Hacks eBook

  • Get new linux hacks delivered to your in-box    

    RSS Subscribe Follow us on Twitter


    Submit your hack. Got a killer UNIX / Linux hack? We'll publish it.
  • LINUX 101 HACKS – CHAPTERS

    • 01. CD Command (6)
    • 02. Date Manipulation (5)
    • 03. SSH Client Commands (5)
    • 04. Essential Linux Commands (12)
    • 05. Linux Prompts (5)
    • 06. Colorful Shell Prompt Using PS1 (10)
    • 07. Archive and Compression (6)
    • 08. Command Line History (15)
    • 09. System Administration Tasks (11)
    • 10. Apachectl and HTTPD Examples (8)
    • 11. BASH Scripting (5)
    • 12. System Monitoring and Performance (13)
    • 13. Bonus Hacks (20)
  • RECENT COMMENTS

    • Motherdawg: I got it to work… with some help from penguiniator & David the H. over at linuxquestions.org. I...
    • Motherdawg: Hi guys, I got a good one! I colorized my prompt as follow; Green for normal user, Red for root: Root...
    • Dana Marble: I use nohup in combination with the watch command to move filtered syslog files to a particular...
    • namus: yum install gnochm
    • sanjay kumar: Hi I am linux proessional. I got RHCE sertified in year 2008 & working as a linux professional...
    • kmohan: Hi Ramesh, awesome stuffs you have been providing. How could I get the Proxy server IP for a particular...
    • RAGHU SUBRAMANIAM: -i is not there in RHEL
    • Arun: In redhat linux RHEL4 etc. renice 5 -p This is the command, where 5 is the nice value. The -n is omitted. The...

Copyright © 2009–2010 Ramesh Natarajan. All rights reserved | Terms of Service
Questions or Comments