A question on shell scripting

Status
Not open for further replies.

wxando

Newbie level 1
Joined
Feb 5, 2006
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,286
Hello everyone

I would like to take all the commands i enter in a shell session and save it in a shell script.

how can i do this?

thank you
 

I'm not sure what you're asking but you should be able to copy the commands in your .bash_history file (if you're using bash) into a .sh shell script. Then execute that.
 

    wxando

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…