PDA

View Full Version : How to run Command automatically in Terminal



okie
08-15-2005, 08:20 AM
Hi... I'm newbie in Linux.

I'm using knoppix 3.7. I want to run some command Automatically After my computer reboot.
This what I want my computer Automatic do...
After reboot..
I want My computer Automatic open the Terminal Shell....
Then auto run some command inside...

For example:
okie@home> su
password : xxxxxxx

root@home> ./command 1

And then... in another Tab Terminal Shell.. run another command after run the first command in First Terminal Shell.

IS POSSIBLE to make this work in knoppix 3.7 ??????

Please HELP....

Thanks in advance

sakiZ
08-17-2005, 12:43 AM
Is there some reason why you want to run commands in Knoppix at boot from a terminal shell?

It's easy to add commands at boot up to the etc/initd/bootmisc.sh file.

That way you don't have to open a terminal shell.

sakiZ

okie
08-17-2005, 12:00 PM
Thanks for reply...

I will try it.... soon

If anything error, I hope you can help me... I'm newbie ...

Thanks again

okie
08-17-2005, 12:38 PM
No work for me...

And I still need Terminal shell to run my command... This important for me.

Any other way... ?

Thanks

rja
08-17-2005, 06:07 PM
an example running the "ftp" command in a terminal window:

xterm -e ftp

or:

rxvt -e ftp
konsole -e ftp
etc.

sakiZ
08-17-2005, 06:21 PM
an example running the "ftp" command in a terminal window:

xterm -e ftp

or:

rxvt -e ftp
konsole -e ftp
etc.

Looks good. Does that work for you oakie?

sakiZ