* Re: [gentoo-user] bash_history missing
[not found] <42CAF6C3.4040709@xmedia.sk>
@ 2005-07-06 18:11 ` maxim wexler
2005-07-06 18:22 ` Holly Bostick
2005-07-06 18:24 ` Dave Nebinger
0 siblings, 2 replies; 17+ messages in thread
From: maxim wexler @ 2005-07-06 18:11 UTC (permalink / raw
To: gentoo-user
> Try to adjust those variables:
>
> HISTFILE=/home/your_account/.bash_history
> HISTFILESIZE=500
> HISTSIZE=500
>
>
> HTH, noro
Thanks noro.
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?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] bash_history missing
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
1 sibling, 1 reply; 17+ messages in thread
From: Holly Bostick @ 2005-07-06 18:22 UTC (permalink / raw
To: gentoo-user
maxim wexler schreef:
>>Try to adjust those variables:
>>
>>HISTFILE=/home/your_account/.bash_history
>>HISTFILESIZE=500
>>HISTSIZE=500
>>
>>
>>HTH, noro
>
>
> Thanks noro.
>
> 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?
Umm, not that I actually know anything about this, but I find it hard to
imagine that a file written by root wouldn't be owned by root and would
not exclude the user from being able to write to it.
Why did you have to create a user file as root (not saying you didn't
have to, just asking why)?
Holly
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* RE: [gentoo-user] bash_history missing
2005-07-06 18:11 ` [gentoo-user] bash_history missing maxim wexler
2005-07-06 18:22 ` Holly Bostick
@ 2005-07-06 18:24 ` Dave Nebinger
2005-07-06 21:06 ` maxim wexler
1 sibling, 1 reply; 17+ messages in thread
From: Dave Nebinger @ 2005-07-06 18:24 UTC (permalink / raw
To: gentoo-user; +Cc: blissfix
> > 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
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] bash_history missing
2005-07-06 18:22 ` Holly Bostick
@ 2005-07-06 20:47 ` maxim wexler
0 siblings, 0 replies; 17+ messages in thread
From: maxim wexler @ 2005-07-06 20:47 UTC (permalink / raw
To: gentoo-user
>
> Why did you have to create a user file as root (not
> saying you didn't
> have to, just asking why)?
>
> Holly
When I tried running HIST* etc as user I was told I
had to be root.
__________________________________
Yahoo! Mail for Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* RE: [gentoo-user] bash_history missing
2005-07-06 18:24 ` Dave Nebinger
@ 2005-07-06 21:06 ` maxim wexler
2005-07-06 23:35 ` Willie Wong
2005-07-07 12:51 ` Dave Nebinger
0 siblings, 2 replies; 17+ messages in thread
From: maxim wexler @ 2005-07-06 21:06 UTC (permalink / raw
To: gentoo-user
>
> Then set the same environment variables in your
> current shell and they
> should stick.
Nope, .bash_history completely empty after a bunch of
ls's. At least it didn't tell me to become root :o
>
____________________________________________________
Sell on Yahoo! Auctions no fees. Bid on great items.
http://auctions.yahoo.com/
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] bash_history missing
2005-07-06 21:06 ` maxim wexler
@ 2005-07-06 23:35 ` Willie Wong
2005-07-07 12:51 ` Dave Nebinger
1 sibling, 0 replies; 17+ messages in thread
From: Willie Wong @ 2005-07-06 23:35 UTC (permalink / raw
To: gentoo-user
On Wed, Jul 06, 2005 at 02:06:50PM -0700, maxim wexler wrote:
> >
> > Then set the same environment variables in your
> > current shell and they
> > should stick.
>
> Nope, .bash_history completely empty after a bunch of
> ls's. At least it didn't tell me to become root :o
Try exiting the session and log in again. AFAIK .bash_history doesn't
get updated until the session closes. If it does get updated in real
time, it would cause quite a bit of problem when, say, you have 5
xterms open and doing stuff in all of them, neh?
W
--
"What was the self-sacrifice? "
"I jettisoned half of a much loved and I think
irreplaceable pair of shoes. "
"Why was that self-sacrifice? "
"Because they were mine! " said Ford crossly.
"I think we have different value systems. "
"Well mine's better. "
"That's according to your... oh never mind. "
Sortir en Pantoufles: up 3 days, 22:00
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* RE: [gentoo-user] bash_history missing
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-25 18:29 ` [gentoo-user] bash_history missing maxim wexler
1 sibling, 2 replies; 17+ messages in thread
From: Dave Nebinger @ 2005-07-07 12:51 UTC (permalink / raw
To: gentoo-user; +Cc: blissfix
> > Then set the same environment variables in your
> > current shell and they
> > should stick.
>
> Nope, .bash_history completely empty after a bunch of
> ls's. At least it didn't tell me to become root :o
So if you do "ls -l .bash*" in your home directory, what's the output?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] bash_history missing
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-25 18:29 ` [gentoo-user] bash_history missing maxim wexler
1 sibling, 2 replies; 17+ messages in thread
From: David Morgan @ 2005-07-07 13:00 UTC (permalink / raw
To: gentoo-user
On 08:51 Thu 07 Jul , Dave Nebinger wrote:
> > > Then set the same environment variables in your
> > > current shell and they
> > > should stick.
> >
> > Nope, .bash_history completely empty after a bunch of
> > ls's. At least it didn't tell me to become root :o
>
> So if you do "ls -l .bash*" in your home directory, what's the output?
>
I haven't been following this thread, but have you tried doing set -o
history ?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-user] still struggeling with kuser
2005-07-07 13:00 ` David Morgan
@ 2005-07-07 14:37 ` Uwe Thiem
2005-07-08 4:14 ` [gentoo-user] bash_history missing maxim wexler
1 sibling, 0 replies; 17+ messages in thread
From: Uwe Thiem @ 2005-07-07 14:37 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 804 bytes --]
Hi folks,
I am still struggeling with kuser as of KDE 3.4.1 crashing on start-up.
Attached you'll find an strace of kuser. It get's interesting around line
1773. The last system call is uname(), apparently with the right parameters.
Uname() returns 0 which means "successful". Next thing is it gets a SIGSEGV
(segmentation fault).
I am completely baffled why it would segfault right there. Who can shed some
light this?
Strace outputs are quite large but tthe data in them is highly redundant, and
they are therefore well compressible. So I dare send the whole file here as
opposed to putting it on the web and sending a URL. ;-)
Uwe
--
95% of all programmers rate themselves among the top 5% of all software
developers. - Linus Torvalds
http://www.uwix.iway.na (last updated: 20.06.2004)
[-- Attachment #2: kuser.log.bz2 --]
[-- Type: application/x-bzip2, Size: 11955 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] bash_history missing
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 ` maxim wexler
2005-07-08 6:45 ` Marshal Newrock
` (2 more replies)
1 sibling, 3 replies; 17+ messages in thread
From: maxim wexler @ 2005-07-08 4:14 UTC (permalink / raw
To: gentoo-user
> > So if you do "ls -l .bash*" in your home
> directory, what's the output?
> >
>
> I haven't been following this thread, but have you
> tried doing set -o
> history ?
all academic now -- the pc just died :( Not a beep, no
screen o/p. The green light on front of the box comes
on for about 1/10 sec, fan turns a few degrees and
thats IT! Tried another power supply -- no dice. Tried
bypassing the on switch -- nope. Moved RAM to another
slot -- nada. re&re'd the 3V battery -- negative. I've
never seen the like before.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] bash_history missing
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
2 siblings, 0 replies; 17+ messages in thread
From: Marshal Newrock @ 2005-07-08 6:45 UTC (permalink / raw
To: gentoo-user@lists.gentoo.org
On Thu, 7 Jul 2005, maxim wexler wrote:
> all academic now -- the pc just died :( Not a beep, no
> screen o/p. The green light on front of the box comes
> on for about 1/10 sec, fan turns a few degrees and
> thats IT! Tried another power supply -- no dice. Tried
> bypassing the on switch -- nope. Moved RAM to another
> slot -- nada. re&re'd the 3V battery -- negative. I've
> never seen the like before.
Tried replacing the CPU fan? I've seen that before - the motherboard
detects that the CPU fan is spinning too slowly, and shuts down,
preventing diagnosis.
--
That which does not kill me makes me stranger
() The ASCII Ribbon Campaign against HTML Email,
/\ vCards, and proprietary formats.
http://www.georgedillon.com/web/html_email_is_evil.shtml
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] bash_history missing
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
2 siblings, 0 replies; 17+ messages in thread
From: Hans-Werner Hilse @ 2005-07-08 8:11 UTC (permalink / raw
To: gentoo-user
Hi,
On Thu, 7 Jul 2005 21:14:44 -0700 (PDT)
maxim wexler <blissfix@yahoo.com> wrote:
> all academic now -- the pc just died :( Not a beep, no
> screen o/p. The green light on front of the box comes
> on for about 1/10 sec, fan turns a few degrees and
> thats IT! Tried another power supply -- no dice. Tried
> bypassing the on switch -- nope. Moved RAM to another
> slot -- nada. re&re'd the 3V battery -- negative. I've
> never seen the like before.
Sounds like the onboard DC current stabilizers are gone... In my
experiences, it's not unusual that one of the electrolytic capacitors
is burst. Resoldering a new one is not an easy task but possible.
-hwh
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] bash_history missing
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
2 siblings, 1 reply; 17+ messages in thread
From: Richard Fish @ 2005-07-08 18:02 UTC (permalink / raw
To: gentoo-user
maxim wexler wrote:
>all academic now -- the pc just died :( Not a beep, no
>screen o/p. The green light on front of the box comes
>on for about 1/10 sec, fan turns a few degrees and
>thats IT! Tried another power supply -- no dice. Tried
>bypassing the on switch -- nope. Moved RAM to another
>slot -- nada. re&re'd the 3V battery -- negative. I've
>never seen the like before.
>
>
Please tell me it isn't the same system that gave you so much trouble
with grub!! :-<
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] bash_history missing --now w/ dead pc
2005-07-08 18:02 ` Richard Fish
@ 2005-07-08 19:09 ` maxim wexler
2005-07-08 20:19 ` Mark Shields
0 siblings, 1 reply; 17+ messages in thread
From: maxim wexler @ 2005-07-08 19:09 UTC (permalink / raw
To: gentoo-user
>
> Please tell me it isn't the same system that gave
> you so much trouble
> with grub!! :-<
>
> -Richard
It is. Glad I have this spare(K6)
>
> --
> gentoo-user@gentoo.org mailing list
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] bash_history missing --now w/ dead pc
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
0 siblings, 1 reply; 17+ messages in thread
From: Mark Shields @ 2005-07-08 20:19 UTC (permalink / raw
To: gentoo-user
Speaking of dead PC, my server died today. Either the power supply or
motherboard. R.I.P. Gentoo server. I think I overloaded a cheap PS (I
hope). Will find out tonight which component it is.
I apologize for the interruption, we now return to your regularly
scheduled program :)
On 7/8/05, maxim wexler <blissfix@yahoo.com> wrote:
> >
> > Please tell me it isn't the same system that gave
> > you so much trouble
> > with grub!! :-<
> >
> > -Richard
>
> It is. Glad I have this spare(K6)
>
> >
> > --
> > gentoo-user@gentoo.org mailing list
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> --
> gentoo-user@gentoo.org mailing list
>
>
--
- Mark Shields
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] bash_history missing --now w/ dead pc
2005-07-08 20:19 ` Mark Shields
@ 2005-07-08 22:05 ` A. Khattri
0 siblings, 0 replies; 17+ messages in thread
From: A. Khattri @ 2005-07-08 22:05 UTC (permalink / raw
To: gentoo-user
On Fri, 8 Jul 2005, Mark Shields wrote:
> Speaking of dead PC, my server died today. Either the power supply or
> motherboard. R.I.P. Gentoo server. I think I overloaded a cheap PS (I
> hope). Will find out tonight which component it is.
The Hardware Guys swear by Antec:
http://hardwareguys.com/picks/power.html
--
Aj.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
* RE: [gentoo-user] bash_history missing
2005-07-07 12:51 ` Dave Nebinger
2005-07-07 13:00 ` David Morgan
@ 2005-07-25 18:29 ` maxim wexler
1 sibling, 0 replies; 17+ messages in thread
From: maxim wexler @ 2005-07-25 18:29 UTC (permalink / raw
To: gentoo-user
> So if you do "ls -l .bash*" in your home directory,
> what's the output?
blissfix@dayglo blissfix $ ls -l .bash*
-rw-r--r-- 1 blissfix users 0 Jul 6 14:59
.bash_history
-rw-r--r-- 1 blissfix users 232 Jul 2 21:12
.bash_profile
-rw-r--r-- 1 blissfix users 812 Jul 2 21:12 .bashrc
Note: this .bash_history was manually created w/ nano,
whereas some hidden process created the one in root.
And if I delete the home version another doesn't pop
up on its own.
BTW, the root version of .bash_history is chockful of
retrospective goodness :). Also, each home console
session preserves a record somewhere; the up arrow can
access those. Even if I logout in and out they're
still there. It's just when rebooting the unit they
disappear. Where are they kept, I wonder.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2005-07-25 18:40 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox