Salut Gregory!

ça ne fonctionne pas...
avec ta commande ça donne :

echo "ls -l1\n" >/dev/tty5
bash: /dev/tty5: Permission non accordée

j'ai plutôt usé de :
echo "ls -l1"\n >/dev/pts/5

mais le résultat n'est que l'écho affiché dans l'autre terminal sans plus,
aucune exécution de la commande ls, j'aurais cru aussi que cela aurais pu
fonctionner, mais non...

merci quand même...

chao!

2010/11/18 Gregory Eric Sanderson <gzou2...@gmail.com>

> ça m'étonnerait que ça marche (c'est assez exteme), mais tu pourrais
> essayer de piper du texte directement dans le terminal (exemple : echo
> "ls\n" > /dev/ttyX) par contre il faut savoir à l'avance exactement ce qu'il
> y a dans la console, et il faut trouver la bonne
>
> 2010/11/18 Michel Leduc <mledu...@videotron.ca>
>
> Le 2010-11-18 10:33, Fabian Rodriguez a écrit :
>> > -----BEGIN PGP SIGNED MESSAGE-----
>> > Hash: SHA1
>> >
>> > On 10-11-14 06:07 AM, Steve Nadeau wrote:
>> >> Bonjour tout le monde!
>> >>
>> >> je suis à la recherche du mode de fonctionnement pour lancer une
>> commande
>> >> depuis un terminal vers un autre terminal, mais important, la commande
>> dois
>> >> s'exécuter dans l'autre terminal.
>> >>
>> > Sans trop y penser, si ton terminal est dans une console graphique,
>> > pourquoi pas utiliser VNC ?
>> >
>> > A+
>> >
>> > Fabian
>> > -----BEGIN PGP SIGNATURE-----
>> > Version: GnuPG v1.4.10 (GNU/Linux)
>> > Comment: PGP/Mime available upon request
>> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>> >
>> > iQIcBAEBAgAGBQJM5UdFAAoJEFQP0XBCvjQJSHIQAJxuXyXCfhY3CnVjdEzGL5jt
>> > Ct1iqHyfybdrpZ2RVrjxn05VYznN19nfaiJ81pcuq8HaXXxinshn7Ml/rDb+jBP8
>> > zEqJlDP8kBrff5k2FnZjogi++fC16vOdZlaP0f2NSOXfSETpccU3yJyw0iAHWjYu
>> > eh69YAOw3X5dtSji4aKdBiYhzMntAblf0xA1P046YAFSCZKCv3TmZ6msZEEN3A+J
>> > I8t+XRS21wrRLmcWpwzwIgTSPj7APN6ql0WwVvMbYjr0hy/yNyHo8QvAb88SYjDH
>> > AlbZIWqb9I/6O7f0m/K56ZTUBAooLugQcYTdvuHa0wuIBmSvXpnm9ioUL+SbExlm
>> > 2kcGUqYUk5Uu0c1sd3dk/ciQ3+0dt3wi4BH0+U6iT04uv5NZmH0O+kASU+Oy42Ee
>> > 4ayXYCX8hVjikpibNT/FAW4F/lrA/9IAl52CQbS6dcuwUHacbzNNdIE22I0MhsOO
>> > TtxvLDuaMwaPjx4I9IFkp7oWMRAbMiIrjIcCAgZfEotzGCcW9k7MR8udh0KUYPvJ
>> > c7YEW8OKwME9RDrz7nsGTamzvvaECM+uzeYHWropcNF7LUtXJ8qQwL9lrY1nVyi4
>> > DIniyeImXmDog2t9hJdChNz367wsN3QOcQHE99ABSmhipV3mPFJ9KQ+5dgPgQ39K
>> > IG5Dt58qnFQ/M6Cjap/b
>> > =hJbO
>> > -----END PGP SIGNATURE-----
>> >
>> Il y a aussi    Teamviewer   qui permettrait d'agir sur l'autre
>> terminal...
>>
>>
>>
>> --
>> Ubuntu-quebec mailing list
>> Ubuntu-quebec@lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-quebec
>>
>
>
>
> --
> "All musicians are drug addicts, no question about it. The ecstasy we get
> during a concert is proof enough.
> yet there is a slight difference between us, the musicians, and the typical
> 'street-junkie'...
> Instead of consuming powder, we consume vibrations"
>
> Will
> et/ou
> Gregory Eric Sanderson Turcot Temlett MacDonnell Forbes
> et/ou
> Touffa!  :)
>
> --
> Ubuntu-quebec mailing list
> Ubuntu-quebec@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-quebec
>
>
-- 
Ubuntu-quebec mailing list
Ubuntu-quebec@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-quebec

Répondre à