URL: https://linuxfr.org/forums/linux-general/posts/copier-ttyx-dans-un-fichier Title: Copier ttyX dans un fichier Authors: Anonyme Date: 2015年02月11日T19:53:18+01:00 License: CC By-SA Tags: terminal et debian Score: 1 bonjour d'habitude lorsque je suis sur une console ttyX pour copier ce qui m'interresse j'utilise gpm, je sélectionne ce que je veux et je le copie. Sur un serveur au boulot, il n'y a pas gpm installé /o,円 et comme je n'ai pas envie de demander son installation, quelqu'un a une solution ? j'ai regardé du coté de openvt pour ouvrir un ttyX sous X mais mes essais sont infructueux. J'ai essayé de lancer login dans un xterm pour utiliser le copier coller de X, sans succès. CE QUE J'AI BESOIN : copier depuis le début du ttyX exemple (ici fait avec gpm à la maison): Debian GNU/Linux 7 salon tty8 salon login: moi Password: Last login: Tue Oct 1 23:36:33 CEST 2014 on tty8 Linux salon 2.4.18 #1 SMP Debian 2.4.18 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. You have new mail. moi@salon:~$ gp gparted-pkexec gpg-error gpg-zip gpk-install-local-file gpk-prefs gpasswd gpg-error-config gpic gpk-install-mime-type gpk-service-pack gpg gpgkey2ssh gpk-application gpk-install-package-name gpk-update-viewer gpg-agent gpgsplit gpk-dbus-service gpk-install-provide-file gprof gpg-connect-agent gpgv gpk-install-catalog gpk-log gpw moi@salon:~$ apt-get update E: Impossible d'ouvrir le fichier verrou /var/lib/apt/lists/lock - open (13: Permission non accordée) E: Impossible de verrouiller le répertoire /var/lib/apt/lists/ si vous avez une piste ?