![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| csh History | aladdin | UNIX for Dummies Questions & Answers | 8 | 01-25-2008 03:39 AM |
| History | JuniorJack | UNIX for Dummies Questions & Answers | 2 | 06-02-2005 01:37 AM |
| Any History | igorsch | Linux | 1 | 09-25-2004 09:45 AM |
| history | tselvanin | UNIX for Dummies Questions & Answers | 2 | 09-23-2003 12:40 AM |
| history in ksh | vince_ascend | Shell Programming and Scripting | 5 | 11-08-2001 01:36 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
history
I need the script that will write to a file all commands which were executed
and the time for all of this commands. Or maybe it can be done with history, or script utility (bash)? |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
What you want to do can easily be done in the bash shell. For timestamps, just set HISTTIMEFORMAT. Check out HISTFILE, HISTSIZE, HISTFILESIZE, HISTCONTROL, HISTIGNORE also.
|
|||
| Google The UNIX and Linux Forums |