On 9/1/13, Claudius Hubig <debian_1...@chubig.net> wrote:
> Dear Zenaan,
>
> Zenaan Harkness wrote:
>> >From an existing plain xterm, I want this command:
>> uxterm -e /bin/bash -c /usr/bin/screen
>>
>> or eg:
>> uxterm -e /bin/bash -c /bin/sh
>>
>> To result in a nested shell. Basically I want my xterms to open by
>> default with a screen session (which works fine), but I want to be
>> able to log out of screen with CTRL-D, and be left with plain bash in
>> my uxterm.
>>
>> Is this possible?
...
> However:
>
> $ xfce4-terminal -e "/bin/bash -c \"/usr/bin/mc && /bin/sh\""
>
> runs /bin/sh after /usr/bin/mc exits sucessfully (use ; instead of &&
> to ignore return codes).

Perfect. Thank you so much
Zenaan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caosgnsrkmi42p-wa0xa9_wlchmu44qieu6a+dtzkph4ui6n...@mail.gmail.com

Reply via email to