[Cialug] icon+bash srcipt
Dan Hockey
icepuck3k at yahoo.com
Mon Apr 1 18:59:25 CDT 2013
It was the su -c that worked instead of su |
> From: Paul Gray <gray at cs.uni.edu>
> Subject: Re: [Cialug] icon+bash srcipt
> To: cialug at cialug.org
> Date: Sunday, March 31, 2013, 7:58 PM
> On 03/31/2013 07:51 PM, Dan Hockey
> wrote:
> > ------------------------------------------------
> > #!/bin/bash
> >
> > cd /home/debian/SimpleIDE-0-7-2
> > su | ./simpleide
> > ------------------------------------------------
> > su works but fails after entering the password because
> it didn't change dirs.
>
>
> 2 things:
>
> Why not just su | home/debian/SimpleIDE-0-7-2/simpleide
>
> Also, I expect you to have an X window permission issue, and
> you'll
> likely find that sux is the command you're really looking
> for.
>
>
> --
> Paul Gray
>
> -o)
> 314 East Gym, Dept. of Computer Science
> /\\
> University of Northern Iowa
> _\_V
> Message void if penguin violated ... Don't mess with
> the penguin
> No one says, "Hey, I can't read that ASCII attachment ya
> sent me."
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
More information about the Cialug
mailing list