public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Dave Nebinger" <dnebinger@joat.com>
To: <gentoo-user@lists.gentoo.org>
Cc: <blissfix@yahoo.com>
Subject: RE: [gentoo-user] bash_history missing
Date: Wed, 06 Jul 2005 14:24:45 -0400	[thread overview]
Message-ID: <004401c58257$fcf0eae0$5f01010a@jnetlab.lcl> (raw)
In-Reply-To: <20050706181146.77198.qmail@web31703.mail.mud.yahoo.com>


> > Try to adjust those variables:
> >
> > HISTFILE=/home/your_account/.bash_history
> > HISTFILESIZE=500
> > HISTSIZE=500
> 
> I had to run the above from root and sure enough, they
> were written into my home dir .bash_history, along
> with the exit command to get back to user-space. So I
> ran a series of ls's just to check but they don't
> appear.
> 
> So what now?

The environment variables only apply to the scope that they were set in.
When you set them as root they only applied to the root session; exiting
back to user space removed them.

You want to delete the current .bash_history file as it is probably only
writable by root.

Then set the same environment variables in your current shell and they
should stick.

When they work add them to your .bashrc file.


-- 
gentoo-user@gentoo.org mailing list



  parent reply	other threads:[~2005-07-06 18:36 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <42CAF6C3.4040709@xmedia.sk>
2005-07-06 18:11 ` [gentoo-user] bash_history missing maxim wexler
2005-07-06 18:22   ` Holly Bostick
2005-07-06 20:47     ` maxim wexler
2005-07-06 18:24   ` Dave Nebinger [this message]
2005-07-06 21:06     ` maxim wexler
2005-07-06 23:35       ` Willie Wong
2005-07-07 12:51       ` Dave Nebinger
2005-07-07 13:00         ` David Morgan
2005-07-07 14:37           ` [gentoo-user] still struggeling with kuser Uwe Thiem
2005-07-08  4:14           ` [gentoo-user] bash_history missing maxim wexler
2005-07-08  6:45             ` Marshal Newrock
2005-07-08  8:11             ` Hans-Werner Hilse
2005-07-08 18:02             ` Richard Fish
2005-07-08 19:09               ` [gentoo-user] bash_history missing --now w/ dead pc maxim wexler
2005-07-08 20:19                 ` Mark Shields
2005-07-08 22:05                   ` A. Khattri
2005-07-25 18:29         ` [gentoo-user] bash_history missing maxim wexler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='004401c58257$fcf0eae0$5f01010a@jnetlab.lcl' \
    --to=dnebinger@joat.com \
    --cc=blissfix@yahoo.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox