Neke JAKO korisne Linux sitnice

Ili, kako pokrenuti proces u pozadini, ili tako da ne stoji i prozor procesa i prozor terminala i slične stvari :

1. nohup means: Do not terminate this process even when the tty is cut off.
Bazično znači da terminal možete ugasiti jednom kada ste proces pokrenuli, a on će i dalje raditi (jedan prozor manje!).
Primer : # nohup ioscan

2. > /dev/null means: stdout goes to /dev/null (which is a dummy device that does not record any output).
Ako ne želite da vidite gomile stvari kao izlaz komande. Priznajem da to obično nije slučaj, ali treba znati.

3. 2>&1 means: stderr also goes to the stdout (which is already redirected to /dev/null).

4. & at the end means: run this command as a background task.

Comments are closed.