PDA

View Full Version : bash - terminal commands


DoorGunner
January 15th, 2006, 02:00 AM
Hi

I am somewhat new to making bash files. Is it possible to open up terminal with a predetermined code and execute it?

What i am trying to do is open gnome-terminal and issue the code $ lxdvdrip and have it start up. This would help to automate it so my wife can operate it on her own.

23meg
January 15th, 2006, 02:03 AM
You can do it with gnome-terminal's --command option. Take a look at its manpage for more info.

DoorGunner
January 15th, 2006, 02:13 AM
thats great....thanks