LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

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


Hello

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.

Quote:
HISTCONTROL=ignoredups:erasedups:ignorespace
I even tried using ignorespaces to no avail

Any ideas why the ignorespace doesn't work?

thanks

Last edited by SDF; 11-19-2013 at 04:53 PM.
 
Old 11-19-2013, 05:08 PM   #2
SDF
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

Code:
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 05:28 PM.
 
  


Reply


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 01:48 AM
Help with getting bigpond wireless usb to work with PClinuxOS reddingo9 Linux - Newbie 1 06-10-2009 11:51 PM
history -c in shell file does not work babu198649 Linux - Newbie 5 05-09-2009 09:32 AM
Delete history does not work patsyking Linux - Newbie 30 01-04-2009 07:57 PM
synaptic didnt work, nor did apt tools on pclinuxos thinkpad t22 noobix_cube Linux - Newbie 2 07-03-2008 05:01 AM


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

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