Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-19-2013, 03:51 PM   #1
LQ Newbie
Registered: Nov 2013
Posts: 8

Rep: Reputation: 0
The ignorespace option for history does not work in pclinuxos 64bit


When I was using pclinuxos 32 bit version, the ignorespace worked without a hitch. Now that I am using pclinuxos 64 bit, it does not seem to work. Below is how the HISTCONTROL line looks in my /etc/profile file.

I even tried using ignorespaces to no avail

Any ideas why the ignorespace doesn't work?


Last edited by SDF; 11-19-2013 at 03:53 PM.
Old 11-19-2013, 04:08 PM   #2
LQ Newbie
Registered: Nov 2013
Posts: 8

Original Poster
Rep: Reputation: 0
Not sure why, but this method works for me. I put the command below in my .bashrc file

export HISTCONTROL=ignoredups:erasedups:ignorespace
Now when I open a terminal session and put a space before any command it is not recorded to the history file. It's better than nothing but at least it does what I want.

Last edited by SDF; 11-19-2013 at 04:28 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
will a playstation to usb converter adapter work on pclinuxos baronobeefdip Linux - Hardware 2 07-18-2009 12:48 AM
Help with getting bigpond wireless usb to work with PClinuxOS reddingo9 Linux - Newbie 1 06-10-2009 10:51 PM
history -c in shell file does not work babu198649 Linux - Newbie 5 05-09-2009 08:32 AM
Delete history does not work patsyking Linux - Newbie 30 01-04-2009 06:57 PM
synaptic didnt work, nor did apt tools on pclinuxos thinkpad t22 noobix_cube Linux - Newbie 2 07-03-2008 04:01 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration