[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh e screen



Gabriele Marchetti wrote:
Ciao,
ho questo problema con ssh, devo fare girare su un server remoto un'applicazione batch che restituisce un certo output. mi collego con ssh e faccio screen ./eseguibile > result.txt
poi ctrl+a per staccarlo dalla connessione ssh
solo che anzichè mettere i risultati nel file txt li stampa a schermo e questo non mi va bene perchè così io nn posso vederli visto che quando il programma termina screen si chiude.
.

La domanda è : come faccio a ridirigere l'output su file?

Grazie
Gabriele
io screen lo uso con "ctr+a" e poi "d" (detach), in modo da tornare a terminale.

enjoy, ;)
giopas

--
"The paradigm of competition is a race: by
rewarding the winner, we encourage everyone
to run faster. When capitalism really works
this way, it does a good job; but its defenders
are wrong in assuming it always works this way.
If the runners forget why the reward is offered
and become intent on winning, no matter how, they
may find other strategies--such as, attacking
other runners. If the runners get into a fist
fight, they will all finish late."
(GNU manifesto/R. Stallman)



Reply to: