Results 1 to 3 of 3
hey i'm new to all of unix and i'm kinda in a pickle atm... ..
i need to make a program in bash that prints out the commands used by ...
- 06-04-2009 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 2
bash history line
hey i'm new to all of unix and i'm kinda in a pickle atm... ..
i need to make a program in bash that prints out the commands used by a user with the posibility of chosing the period in wich the command was typed and no i cannot use the "history" command, need it to be in editing mode, it needs to be a program in bash :/
if anyone can help me out i'd really appreciated. thank you very much
- 06-04-2009 #2
Are you giving us homework?

You can useto see what a user has executed. But to know the time detail...Code:cat /home/<user>/.bash_history
A candle looses nothing by lighting other candles. - Khalil Zibran.
Registered Linux User #490076
- 06-04-2009 #3Just Joined!
- Join Date
- Jun 2009
- Posts
- 2
uhmm that's just the point i can't use just the history command, it has to be a script in bash and i don't really care about the chosing the period thing, but i really need the script for the history

and yeah i'm giving ya homework


Reply With Quote