Joined: 20 Jun 2010 Posts: 2732 Location: Kiel,Germany
Posted: Thu 15 Mar 2012, 23:55 Post subject:
apparently i have found a solution : kill -1 `pidof sh`
automatically writes to the history file .
since the inittab respawns these consoles get opened again .
this works for all opened consoles , except the current one .
killing that console would also stop poweroff OR reboot .
disciple
Joined: 20 May 2006 Posts: 6199 Location: Auckland, New Zealand
Posted: Fri 16 Mar 2012, 20:01 Post subject:
Is this about the history of which commands you run in the consoles, or the output of those commands? _________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Joined: 20 Jun 2010 Posts: 2732 Location: Kiel,Germany
Posted: Sat 17 Mar 2012, 08:23 Post subject:
Its about the commands .
But if I accidentally copy the output of a X-term console and paste it into it instead of a text editor , the console would try to run the new copied input with a lot of "command not found" messages .
Then i would have (parts of) the console output in the .[[b]ash_]history file .
The simple no-X console writes to .history as far as i experienced .
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum