Appunti di shell

Ridirigere l'output di un programma

Redirige tutto l'output a un file:

make install &>/directory/file

Redirige lo standard output (STDOUT) a un file:

make install 1>/directory/file

Redirige lo standard error (STDERR) a un file:

make install 2>/directory/file

Gestire gli script auto-run

Disattivare l'avvio automatico di un servizio

update-rc.d {nomeservizio} remove

 
sviluppo/linux/shell.txt · Last modified: 2011/05/10 11:42 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki