-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/23/09 8:31 PM, Thomas Taylor wrote:
> I'm new to bash scripting and am wondering how to tie two or more commands 
> together.  As an example, to start an xterm session and run a command within 
> it.  
> 
> Start xterm & run "ps -ux in it.
> 
> I can do each separately in bash but haven't figured how to do them in unison.


xterm -e "ps -ux"


> 
> Thanks for any help.
> 
> Also, what would be a good reference book for bash that's not too expensive?
> 

man bash

Brian

- -- 
- ---[Office 70.9F]--[Outside 34.4F]--[Server 106.4F]--[Coaster 70.0F]---
- ---[           HYAK (366773030) @ 47 33.6980 -122 37.4883          ]---
Software, Linux, Microcontrollers             http://www.brianlane.com
AIS Parser SDK                                http://www.aisparser.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Remember Lexington Green!

iD8DBQFLMvyNIftj/pcSws0RAo09AJ4t2u7SVDz2mJlqfWHIgEMjk6U1JQCgixQO
WTjsoNtnWy+u1pZOIva1YTY=
=bCbh
-----END PGP SIGNATURE-----

Reply via email to