Output terminale su file [Risolto]

Tutto ciò che è pertinente a Sabayon Linux, indipendentemente dall'architettura e dall'ambiente grafico

Moderator: Moderators

Output terminale su file [Risolto]

Postby M4st3r3v1l » Sat Jun 23, 2012 17:16

Con un comando generico tipo:
Code: Select all
sudo equo update >> update.txt

riesco a salvare l'output del terminale sul file, solo che così non vedo più l'esecuzione del comando nella finestra del terminale. Come correggo il comando? Vorrei avere l'esecuzione "in diretta" più il file salvato.
Last edited by M4st3r3v1l on Sun Jun 24, 2012 10:28, edited 1 time in total.
M4st3r3v1l
Simple Hen
 
Posts: 78
Joined: Sun Apr 03, 2011 19:48

Re: Output terminale su file

Postby belcocco » Sat Jun 23, 2012 17:47

{command} | tee file
Nel tuo caso dovrebbe essere:
#equo update | tee update.txt
Ciao
belcocco
Advanced Hen
 
Posts: 295
Joined: Sat Nov 29, 2008 18:53
Location: Milan, Italy

Re: Output terminale su file

Postby M4st3r3v1l » Sun Jun 24, 2012 10:28

Grandissimo!!! :)
M4st3r3v1l
Simple Hen
 
Posts: 78
Joined: Sun Apr 03, 2011 19:48

Re: Output terminale su file [Risolto]

Postby sabayonino » Sun Jun 24, 2012 16:32

se il tuo scopo è di controllare cosa è stato installato/rimosso , lo puoi trovare in /var/log/entropy/entropy.log con tanto di data e ora

in /var/log/entropy ci sono ulteriori log per i servizi di entropy.

ciao
User avatar
sabayonino
Sagely Hen
 
Posts: 1577
Joined: Sun Sep 21, 2008 1:12
Location: Italy

Re: Output terminale su file [Risolto]

Postby M4st3r3v1l » Mon Jun 25, 2012 9:54

Grazie sabayonino per la precisazione :)
Io ho fatto solo un esempio scemo, il primo che mi è venuto in mente :P
M4st3r3v1l
Simple Hen
 
Posts: 78
Joined: Sun Apr 03, 2011 19:48


Return to Sabayon Linux Discussioni Generali

Who is online

Users browsing this forum: No registered users and 1 guest