| Line 1: |
Line 1: |
| − | == Linux commands == | + | == Linux general commands == |
| | | | |
| | {| class="wikitable sortable" | | {| class="wikitable sortable" |
| Line 72: |
Line 72: |
| | |- | | |- |
| | | [[Linux_command:_alien|alien]] || Migrate packages from .rpm to .deb and vice versa | | | [[Linux_command:_alien|alien]] || Migrate packages from .rpm to .deb and vice versa |
| | + | |- |
| | + | | scp || Copy files to a remote machine over ssh protocol |
| | + | |- |
| | + | | wget || Download files/web pages |
| | |} | | |} |
| | | | |
| Line 95: |
Line 99: |
| | | | |
| | == Processes == | | == Processes == |
| − | PROCESOS
| |
| − | Listar procesos: jobs
| |
| − | Para ejecutar en segundo plano poner $
| |
| − | Interrumpir proceso CTRL + C
| |
| − | Pausar proceso CTRL + Z
| |
| − | Recuperar proceso pausado: %PID
| |
| − | Reanudar proceso detenido en segundo plano: bg %PID
| |
| − | Información de procesos: ps, pstree, top, htop (ps -ef)
| |
| − | Parar proceso: kill %PID
| |
| − | Establecer prioridades: nice -n -5 COMANDO, renice 7 PID
| |
| − | Ejecutar procesos evitando que se paren si se cierra la terminal: nohup COMANDO
| |
| − | top, atop, htop: utilidades procesos completilla
| |
| − | pgrep: devuelve el pid del proceso que coincide con la busqueda
| |
| − | locate programa: encuentra la ubicación de un programa
| |
| | | | |
| − | scp archivoorigen usuarioremoto@máquinaremota:destino
| + | {| class="wikitable sortable" |
| | + | |- |
| | + | ! Command !! Description |
| | + | |- |
| | + | | CTRL + C || Stop process |
| | + | |- |
| | + | | CTRL + Z || Pause process |
| | + | |- |
| | + | | %PID || Recover paused process |
| | + | |- |
| | + | | <command>& || Execute command in second plane |
| | + | |- |
| | + | | bg <command> || Execute command in second plane |
| | + | |- |
| | + | | [[Linux_command:_ps|ps]] || List processes |
| | + | |- |
| | + | | pstree || Show process tree |
| | + | |- |
| | + | | top || Processes viewer |
| | + | |- |
| | + | | htop || Process viewer more advanced than top |
| | + | |- |
| | + | | kill %PID || Terminate process |
| | + | |- |
| | + | | [[Linux_command:_nice|nice, renice]] || Process priorities: nice -n <command> |
| | + | |- |
| | + | | nohup <command> || Execute process avoiding its stop if the terminal is stopt |
| | + | |- |
| | + | | pgrep <pattern>|| Retruns process that matches pattern |
| | + | |- |
| | + | | locate <program> || Returns program path |
| | + | |- |
| | + | |} |
| | + | |
| | + | |
| | + | |
| | vnc:escritorio remoto | | vnc:escritorio remoto |
| | | | |