| Line 24: |
Line 24: |
| | | [[Linux_command:_dd|dd]] || Create / Dump images | | | [[Linux_command:_dd|dd]] || Create / Dump images |
| | |- | | |- |
| − | | df || Shows the disk ussage. Example: df -h | + | | df || Shows the disk ussage. Example: df -h -x devtmpfs -x tmpfs |
| | |- | | |- |
| | | dpkg || .deb package installation: sudo dpkg -i packagename.deb | | | dpkg || .deb package installation: sudo dpkg -i packagename.deb |
| Line 51: |
Line 51: |
| | |- | | |- |
| | | [[Linux_command:_ln|ln]] || Create simbolic links | | | [[Linux_command:_ln|ln]] || Create simbolic links |
| | + | |- |
| | + | | lsb_release -a || Show os name and version |
| | |- | | |- |
| | | lsblk || | | | lsblk || |
| Line 73: |
Line 75: |
| | |- | | |- |
| | | rsync -a ruta1 ruta2 [--exclude=/{dir1, dir2..]/] || Copies files from ruta1 to ruta2 excluding dir1, dir2,... | | | rsync -a ruta1 ruta2 [--exclude=/{dir1, dir2..]/] || Copies files from ruta1 to ruta2 excluding dir1, dir2,... |
| | + | |- |
| | + | | [[Linux command: rename|rename]] || Rename files allowing regex |
| | |- | | |- |
| | | scp || Copy files to a remote machine over ssh protocol | | | scp || Copy files to a remote machine over ssh protocol |
| Line 88: |
Line 92: |
| | | [[Linux_command:_tar|tar]] || Compress/decompress tar files | | | [[Linux_command:_tar|tar]] || Compress/decompress tar files |
| | |- | | |- |
| − | | tail || Shows file end (-n, -f, ...) | + | | [[Linux command: tail|tail]] || Shows file end (-n, -f, ...) |
| | |- | | |- |
| | | touch <file_name> || Creates an empty file | | | touch <file_name> || Creates an empty file |
| Line 107: |
Line 111: |
| | |- | | |- |
| | | whoami || Who am i | | | whoami || Who am i |
| | + | |- |
| | + | | [[Linux_command:_xargs|xargs]] || Send output of command to stdin |
| | |- | | |- |
| | | <nowiki><cmd1> | <cmd2></nowiki> || Pipe: takes the output of command1 as input of command2. example: <nowiki>cat /etc/passwd | sort | more</nowiki> | | | <nowiki><cmd1> | <cmd2></nowiki> || Pipe: takes the output of command1 as input of command2. example: <nowiki>cat /etc/passwd | sort | more</nowiki> |
| Line 179: |
Line 185: |
| | ! Command !! Description | | ! Command !! Description |
| | |- | | |- |
| − | | netstat || | + | | [[Linux command: netstat|netstat]] || |
| | |- | | |- |
| | | nmap || Network mapping | | | nmap || Network mapping |
| Line 221: |
Line 227: |
| | | [[Linux_command:_terminator|terminator]] || Advanced terminal | | | [[Linux_command:_terminator|terminator]] || Advanced terminal |
| | |- | | |- |
| − | | virtualenv || Create virtual enviroments | + | | [[Virtualenv|virtualenv]] || Create virtual enviroments |
| | + | |- |
| | + | | [[Virtualenvwrapper|virtualenvwrapper]] || Simplify virtualenv ussage |
| | |- | | |- |
| | | [[Linux:_youtube-dl|youtube-dl]] || YouTube video downloader | | | [[Linux:_youtube-dl|youtube-dl]] || YouTube video downloader |
| | |} | | |} |
| | vnc:escritorio remoto | | vnc:escritorio remoto |
| | + | == Save command without running to recover later == |
| | + | ctrl+u --> saves |
| | + | ctrl+y --> recover |