[Ubuntu-ma] Re : Lot Ubuntu-ma, Vol 18, Parution 17

borkisoufiane at aol.fr borkisoufiane at aol.fr
Dim 28 Nov 17:37:59 GMT 2010


Bonjour

Pour executer une commande Linux( une commande qui peut s'executer sur 
un shell)  sur un langage de programmation de Type java par exemple :

tu as l'instruction suivante : Runtime.getRuntime().exec()

tu  peux avoir plus d'information sur la classe Runtime sur le site De 
sun .

un simple exemple est fourni sur ce site . :

http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

Cordialement.

-Gourp COFIMAG EUROCALL-
Support Technique SFR.
Borki Soufiane



-----E-mail d'origine-----
De : ubuntu-ma-request at lists.ubuntu.com
A : ubuntu-ma at lists.ubuntu.com
Envoyé le : Dimanche, 28 Novembre 2010 12:00
Sujet : Lot Ubuntu-ma, Vol 18, Parution 17


Envoyez vos messages pour la liste Ubuntu-ma à
    ubuntu-ma at lists.ubuntu.com

Pour vous (dés)abonner par le web, consultez
    https://lists.ubuntu.com/mailman/listinfo/ubuntu-ma

ou, par email, envoyez un message avec 'help' dans le corps ou dans le
sujet à
    ubuntu-ma-request at lists.ubuntu.com

Vous pouvez contacter l'administrateur de la liste à l'adresse
    ubuntu-ma-owner at lists.ubuntu.com

Si vous répondez, n'oubliez pas de changer l'objet du message afin
qu'il soit plus spécifique que "Re: Contenu du digest de Ubuntu-ma..."


Thèmes du jour :

   1.  cmd inclus ds une lang (ZLIGUI Hammou)
   2. Re:  cmd inclus ds une lang (Azzeddine Ouadyani)
   3. Re:  cmd inclus ds une lang (Azzaddine Amjahed)
   4. Re:  cmd inclus ds une lang (mohamed boulaich)
   5. Re:  cmd inclus ds une lang (mohamed boulaich)


----------------------------------------------------------------------

Message: 1
Date: Sat, 27 Nov 2010 19:53:58 +0000
From: ZLIGUI Hammou <hammou3 at gmail.com>
Subject: [Ubuntu-ma] cmd inclus ds une lang
To: Ubuntu Moroccan Users <ubuntu-ma at lists.ubuntu.com>, Abdellah
    BOULOUZ <boulouz_a at yahoo.fr>
Message-ID:
    <AANLkTin5m5s9kvRaz=f6dMykr=pz86-v3ennqpedhtDi at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Bonjour Ts le monde

ma question est simple

est ce que on peut trouve un moyen d'execute les command SHELL a 
l'interier
d'un langage de programation ( exemple de Java )

comme Oracle :
host clear
host x / telque x est une command de system ( shell )

Merci beaucoup
et bon weekend linuxians


--
*-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- HAMMOU ZLIGUI -- 
--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Ubuntu-ma mailing list
Ubuntu-ma at lists.ubuntu.com
http://www.youtube.com/user/hammou3
hammou3 at gmail.com*
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: 
https://lists.ubuntu.com/archives/ubuntu-ma/attachments/20101127/a81a684e/attachment-0001.htm 



------------------------------

Message: 2
Date: Sat, 27 Nov 2010 20:01:55 +0000
From: Azzeddine Ouadyani <azzeddine.ouadyani at gmail.com>
Subject: Re: [Ubuntu-ma] cmd inclus ds une lang
To: Ubuntu Moroccan Users <ubuntu-ma at lists.ubuntu.com>
Message-ID:
    <AANLkTimpDFsUurKZUZuYZUTSe7oW+-74+DBa_KB-16ja at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Google est ton ami !

PHP: exec("ls -la"); / system("ls -la", $returnVar);
JAVA: Runtime.exec("ls -la");

--
Azzeddine Ouadyani.


2010/11/27 ZLIGUI Hammou <hammou3 at gmail.com>

> Bonjour Ts le monde
>
> ma question est simple
>
> est ce que on peut trouve un moyen d'execute les command SHELL a 
l'interier
> d'un langage de programation ( exemple de Java )
>
> comme Oracle :
> host clear
> host x / telque x est une command de system ( shell )
>
> Merci beaucoup
> et bon weekend linuxians
>
>
> --
> *-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- HAMMOU ZLIGUI 
-- --
> -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
> Ubuntu-ma mailing list
> Ubuntu-ma at lists.ubuntu.com
> http://www.youtube.com/user/hammou3
> hammou3 at gmail.com*
>
>
> --
> Ubuntu-ma mailing list
> Ubuntu-ma at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ma
>
>
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: 
https://lists.ubuntu.com/archives/ubuntu-ma/attachments/20101127/1c6626e3/attachment-0001.htm 



------------------------------

Message: 3
Date: Sat, 27 Nov 2010 22:38:07 +0000
From: Azzaddine Amjahed <aamjahed at gmail.com>
Subject: Re: [Ubuntu-ma] cmd inclus ds une lang
To: Ubuntu Moroccan Users <ubuntu-ma at lists.ubuntu.com>
Message-ID:
    <AANLkTi=mLn_ZQrfkVdx1cAi3O+3g6=B-aP-zXje_zqHf at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Assalaam alaykoum,
Google.fr :
How to run shell commands within java
How to run shell commands within php
How to run shell commands within C
...
:)
Wa assalaam alaykoum.
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: 
https://lists.ubuntu.com/archives/ubuntu-ma/attachments/20101127/5e93bae9/attachment-0001.htm 



------------------------------

Message: 4
Date: Sat, 27 Nov 2010 22:41:50 +0000
From: mohamed boulaich <mohamedboulaich at gmail.com>
Subject: Re: [Ubuntu-ma] cmd inclus ds une lang
To: Ubuntu Moroccan Users <ubuntu-ma at lists.ubuntu.com>
Message-ID:
    <AANLkTinpDD6EVEsAGZGn7qVvf3WdveMgcCsjNJw_sSF+ at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

pour java c'est facile
Runtime.getRuntime().getRuntime().exec(command);

2010/11/27 Apour zzaddine Amjahed <aamjahed at gmail.com>

> Assalaam alaykoum,
> Google.fr :
> How to run shell commands within java
> How to run shell commands within php
> How to run shell commands within C
> ...
> :)
> Wa assalaam alaykoum.
>
> --
> Ubuntu-ma mailing list
> Ubuntu-ma at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ma
>
>


--
Mohammed Boulaich
Ingénieur d'état en informatique
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: 
https://lists.ubuntu.com/archives/ubuntu-ma/attachments/20101127/0a39c996/attachment-0001.htm 



------------------------------

Message: 5
Date: Sat, 27 Nov 2010 22:44:15 +0000
From: mohamed boulaich <mohamedboulaich at gmail.com>
Subject: Re: [Ubuntu-ma] cmd inclus ds une lang
To: Ubuntu Moroccan Users <ubuntu-ma at lists.ubuntu.com>
Message-ID:
    <AANLkTikJDwWVSKotZCAR9Q1KS-uYxBzmNuR=24WY1zQz at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

dans ce cadre Ubuntu Moroccan ne prévois pas des projets developement :
en tout les cas je suis ingénieur developpeur java jee si vous avez des
projets je serai ravie a participé

Le 27 novembre 2010 22:41, mohamed boulaich <mohamedboulaich at gmail.com> 
a
écrit :

> pour java c'est facile
> Runtime.getRuntime().getRuntime().exec(command);
>
> 2010/11/27 Apour zzaddine Amjahed <aamjahed at gmail.com>
>
>> Assalaam alaykoum,
>> Google.fr :
>> How to run shell commands within java
>> How to run shell commands within php
>> How to run shell commands within C
>> ...
>> :)
>> Wa assalaam alaykoum.
>>
>> --
>> Ubuntu-ma mailing list
>> Ubuntu-ma at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ma
>>
>>
>
>
> --
> Mohammed Boulaich
> Ingénieur d'état en informatique
>
>


--
Mohammed Boulaich
Ingénieur d'état en informatique
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: 
https://lists.ubuntu.com/archives/ubuntu-ma/attachments/20101127/496181a5/attachment-0001.htm 



------------------------------

--
Ubuntu-ma mailing list
Ubuntu-ma at lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-ma


Fin de Lot Ubuntu-ma, Vol 18, Parution 17
*****************************************

  



Plus d'informations sur la liste de diffusion Ubuntu-ma