bash history
g
geleem at bellsouth.net
Sun Apr 29 00:15:18 UTC 2012
On 04/28/2012 09:38 PM, Peter Gueckel wrote:
> I read about a shell variable called HISTIGNORE that is supposed to prevent
> duplicate> commands from occurring in .bash_history.
>
> I put the following line into ~/.bash_profile:
>
> export HISTIGNORE="&"
>
> It's not working.
-=-
what made you think it would?, ie, from where do you find above variable
and it's use?
> I still have duplicate commands galore.
-=-
not surprised.
> Why isn't is working?
-=-
wrong command.
try;
HISTCONTROL="ignoredupes"
export HISTCONTROL
wfm ;)
--
peace out.
tc.hago,
g
.
*please reply "plain text" only. "html text" are deleted*
****
in a free world without fences, who needs gates.
**
help microsoft stamp out piracy - give linux to a friend today.
**
to mess up a linux box, you need to work at it.
to mess up an ms windows box, you just need to *look* at it.
**
The installation instructions stated to install Windows 2000 or better.
So I installed Linux.
**
learn linux:
'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html
'The Linux Documentation Project' http://www.tldp.org/
'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html
'HowtoForge' http://howtoforge.com/
****
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 545 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120429/9dca1825/attachment.sig>
More information about the users
mailing list