Re: [gentoo-user] bash_history

2006-03-07 Thread Matteo Lanza
On 3/7/06, Haim Ashkenazi <[EMAIL PROTECTED]> wrote: > when you press reboot the shell process dies, so it doesn't save the > history. if you want to save history you have to exit the shell and then > login and enter reboot, or press ctrl+alt+del. What about putting the following: trap "histo

Re: [gentoo-user] bash_history

2006-03-06 Thread Haim Ashkenazi
On Tue, 2006-03-07 at 01:17 +0100, Goran Maksimović wrote: > Hello! > > > > I am wondering what do I need to config so that when a user or root > type reboot the commands typed before a saved in bash_history and also > when the user or root don' type anything but just press combination of > key

[gentoo-user] bash_history

2006-03-06 Thread Goran Maksimović
Hello!   I am wondering what do I need to config so that when a user or root type reboot the commands typed before a saved in bash_history and also when the user or root don' type anything but just press combination of keys ctrl+alt+del?   Goran

Re: [gentoo-user] .bash_history not updating

2005-11-24 Thread maxim wexler
--- Stroller <[EMAIL PROTECTED]> wrote: > > On Nov 24, 2005, at 3:05 am, maxim wexler wrote: > > $ ls -l .bash_history > > > > -rw--- 1 blissfix usb8021 Nov 22 11:31 > > .bash_history > > > > Is there some sort of chron thingee going off > every > > nine days? > > Maybe you're only

Re: [gentoo-user] .bash_history not updating

2005-11-23 Thread Stroller
On Nov 24, 2005, at 3:05 am, maxim wexler wrote: $ ls -l .bash_history -rw--- 1 blissfix usb8021 Nov 22 11:31 .bash_history Is there some sort of chron thingee going off every nine days? Maybe you're only logging out every 9 days?? Stroller. -- gentoo-user@gentoo.org mailing lis

Re: [gentoo-user] .bash_history not updating

2005-11-23 Thread maxim wexler
--- Stroller <[EMAIL PROTECTED]> wrote: > > On Nov 23, 2005, at 7:35 pm, maxim wexler wrote: > > > > My .bash_history file stopped being updated on Nov > 13 > > 10:06. A look at /var/log/messages for that > particular > > time revealed nothing amiss. > > Ok... this could be a dumb question, b

Re: [gentoo-user] .bash_history not updating

2005-11-23 Thread Stroller
On Nov 23, 2005, at 7:35 pm, maxim wexler wrote: My .bash_history file stopped being updated on Nov 13 10:06. A look at /var/log/messages for that particular time revealed nothing amiss. Ok... this could be a dumb question, but how much disk space do you have free? Stroller. -- gentoo-use

[gentoo-user] .bash_history not updating

2005-11-23 Thread maxim wexler
Hello everybody, My .bash_history file stopped being updated on Nov 13 10:06. A look at /var/log/messages for that particular time revealed nothing amiss. Anybody shed light on this issue? -mw __ Start your day with Yahoo! - Make it your home

RE: [gentoo-user] bash_history missing

2005-07-25 Thread maxim wexler
> So if you do "ls -l .bash*" in your home directory, > what's the output? [EMAIL PROTECTED] 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:

Re: [gentoo-user] bash_history missing --now w/ dead pc

2005-07-08 Thread A. Khattri
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.c

Re: [gentoo-user] bash_history missing --now w/ dead pc

2005-07-08 Thread Mark Shields
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, maxi

Re: [gentoo-user] bash_history missing --now w/ dead pc

2005-07-08 Thread maxim wexler
> > 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 t

Re: [gentoo-user] bash_history missing

2005-07-08 Thread Richard Fish
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 >slo

Re: [gentoo-user] bash_history missing

2005-07-08 Thread Hans-Werner Hilse
Hi, On Thu, 7 Jul 2005 21:14:44 -0700 (PDT) maxim wexler <[EMAIL PROTECTED]> 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 di

Re: [gentoo-user] bash_history missing

2005-07-07 Thread Marshal Newrock
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 RA

Re: [gentoo-user] bash_history missing

2005-07-07 Thread maxim wexler
> > 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

Re: [gentoo-user] bash_history missing

2005-07-07 Thread David Morgan
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*

RE: [gentoo-user] bash_history missing

2005-07-07 Thread Dave Nebinger
> > 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@

Re: [gentoo-user] bash_history missing

2005-07-06 Thread Willie Wong
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 sessio

RE: [gentoo-user] bash_history missing

2005-07-06 Thread maxim wexler
> > 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

Re: [gentoo-user] bash_history missing

2005-07-06 Thread maxim wexler
> > 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

RE: [gentoo-user] bash_history missing

2005-07-06 Thread Dave Nebinger
> > 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

Re: [gentoo-user] bash_history missing

2005-07-06 Thread Holly Bostick
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

Re: [gentoo-user] bash_history missing

2005-07-06 Thread maxim wexler
> 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-spac

Re: [gentoo-user] bash_history missing

2005-07-05 Thread Norbert Kamenicky
maxim wexler wrote: > Hello everybody, > > I note there's no .bash_history file in my /home dir. > I created one in the vain hope that gentoo would start > filling it with command-line entries. No such luck. Try to adjust those variables: HISTFILE=/home/your_account/.bash_history HISTFILESIZE=50

[gentoo-user] bash_history missing

2005-07-05 Thread maxim wexler
Hello everybody, I note there's no .bash_history file in my /home dir. I created one in the vain hope that gentoo would start filling it with command-line entries. No such luck. Anybody suggest a fix? TIA -mw __ Do You Yahoo!? Tired of spam? Y