[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] Autostart af program i terminal + slut med prompt



On Wed, Dec 23, 2009 at 09:24:16AM +0100, Kristian Nørgaard wrote:
> Hvordan kan jeg automatisk starte et program så det kører i en terminal 
> og så følgende er opfyldt:
> 
> 1) Når programmet slutter skal jeg have den sædvanlige kommandoprompt i 
> terminalen
> 
> 2) Ctrl-c skal afbryde mit program og efterlade den sædvanlige 
> kommandoprompt i terminalen
> 
> Antag f.eks. at mit program er:
> echo "start"; sleep 10; echo "slut"

Hvad med bare at bruge .bashrc ...

/kallenberg


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2010-01-01, 02:01 CET [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *