about history control

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shwet Srivastava
    New Member
    • Sep 2010
    • 7

    about history control

    i am using export HISTCONTROL=ign oreboth command after that history command, history is not storing repeated command but when i use this command export HISTCONTROL=ign oredups then it also work as previous command.
    i can't understand the difference b/w both. plz define both and what is work of both command.
  • ashitpro
    Recognized Expert Contributor
    • Aug 2007
    • 542

    #2
    There are three supported values.

    ignorespace: Doesn't write lines started with spaces

    ignoredups: Doesn't write duplicate commands.

    ignoreboth: Combined above two options.

    Comment

    • Shwet Srivastava
      New Member
      • Sep 2010
      • 7

      #3
      thanks for help

      Comment

      Working...