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 history -w
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
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
keys
--- 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 logging out every 9
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
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.
--
--- 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, but how much
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
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:
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
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 dice.
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 --
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
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
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
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
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
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
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
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
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
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
22 matches
Mail list logo