hi. i'm interested in peforming some basic CLI stuff--- just to start an app really, but i want to do it in particular from Bluefish.
If you're a web developer, of if you've modified HTML to any degree in linux, chances are you probably are familiar w/ bluefish. if not, then here's the deal...
(i may get the tech terms wrong, so forgive me if i do!)
bluefish allows for the execution of commands via a Preferences > External Apps > dialogue. from there, i can do simple stuff like "firefox %s&" which will launch FF w/ the current page in focus in Bluefish to open in FF. this is cool cause i can set it to do whatever i what w/ which ever app.
but, i want to create a custom button, as w/ the browsers, but instead to activate the coldfusion server i've installed. from the CLI, this would be :
@localhost bin]$ cd /opt/jrun4/bin/
then, on a new line:
@localhost bin]$ ./jrun start cfusion
so, how do i create this series of commands from w/in bluefish? i feel like i'm stuck at the two-separate-functions junction. for example, i tried putting it all in one (yes, i have no idea-- just trial and error, w/ emphasis on error...) only ommitting the "CD" part, like so, :
@localhost bin]$ /opt/jrun4/bin/ ./jrun start cfusion
needless to say, it didn't work as i expected. how should i have composed that line?