| Line 4: |
Line 4: |
| | |- | | |- |
| | ! Command !! Description | | ! Command !! Description |
| | + | | [[Linux_command:_alias|alias]] || Creates a commnad |
| | |- | | |- |
| − | | tty || Shows the terminal where you are connected | + | | [[Linux_command:_alien|alien]] || Migrate packages from .rpm to .deb and vice versa |
| | |- | | |- |
| − | | free || Shows free memory | + | | apropos <subject> || Sows commnads related to a subject |
| | |- | | |- |
| − | | [[Linux_command:_date|date]] || Shows date | + | | [[Linux_comand:_apt-get|apt-get]] || Package installation and system update |
| | |- | | |- |
| | | cal || Shows calendar | | | cal || Shows calendar |
| | + | |- |
| | + | | cat <filename> || Shows file content |
| | |- | | |- |
| | | clear || Clear screen | | | clear || Clear screen |
| | |- | | |- |
| − | | who || Connected persons | + | | [[Linux_command:_date|date]] || Shows date |
| | |- | | |- |
| − | | whoami || Who am i | + | | df || Shows the disk ussage. Example: df -h |
| | |- | | |- |
| − | | [[Linux_command:_uname|uname]] || Shows system info | + | | dpkg || .deb package installation: sudo dpkg -i packagename.deb |
| | |- | | |- |
| | | [[Linux_command:_du|du]] || Disk ussage | | | [[Linux_command:_du|du]] || Disk ussage |
| | |- | | |- |
| − | | df || Shows the disk ussage. Example: df -h | + | | [[Linux_command:_fdisk|fdisk]] || Disk partition utility |
| | + | |- |
| | + | | free || Shows free memory |
| | |- | | |- |
| − | | man <command> || Sowhs a command manual page | + | | grep <text> || finds text |
| | |- | | |- |
| − | | [[Linux_command:_ln|ln]] | Create simbolic links | + | | head || Shows file start (-n, -f,...) |
| | |- | | |- |
| − | | apropos <subject> || Sows commnads related to a subject | + | | history || Shows the commnad history (contained in ~.bash_history) |
| | |- | | |- |
| | | info <command> || Sows command info | | | info <command> || Sows command info |
| | |- | | |- |
| − | | history || Shows the commnad history (contained in ~.bash_history) | + | | [[Linux_command:_ln|ln]] | Create simbolic links |
| | |- | | |- |
| − | | pwd || Shows working directory | + | | lspci -v || View PCI device information |
| | |- | | |- |
| − | | touch <file_name> || Creates an empty file | + | | [[Linux_command:_uname|uname]] || Shows system info |
| | |- | | |- |
| − | | [[Linux_command:_alias|alias]] || Creates a commnad | + | | man <command> || Sowhs a command manual page |
| | |- | | |- |
| − | | cat <filename> || Shows file content | + | | mc || Midnight commander. File system navigation |
| | |- | | |- |
| | | more <filename> || Shows file content, screen by screen | | | more <filename> || Shows file content, screen by screen |
| | |- | | |- |
| − | | head || Shows file start (-n, -f,...) | + | | mount || File sistem mounting |
| | |- | | |- |
| − | | tail || Shows file end (-n, -f, ...) | + | | pwd || Shows working directory |
| − | |-
| |
| − | | sort || Sorts the content of a file line by line
| |
| − | |-
| |
| − | | <nowiki><cmd1> | <cmd2></nowiki> || Pipe: takes the output of command1 as input of command2. example: <nowiki>cat /etc/passwd | sort | more</nowiki>
| |
| | |- | | |- |
| | | 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,... |
| | |- | | |- |
| − | | grep <text> || finds text | + | | scp || Copy files to a remote machine over ssh protocol |
| | |- | | |- |
| − | | wc -l || Counts lines | + | | sort || Sorts the content of a file line by line |
| | |- | | |- |
| − | | [[Linux_command:_find|find]] || Find files | + | | su || Log as root at the terminal (sudo su) |
| | |- | | |- |
| − | | [[Linux_comand:_apt-get|apt-get]] || Package installation and system update | + | | sudo <command>|| Execute command as root |
| | |- | | |- |
| − | | dpkg || .deb package installation: sudo dpkg -i packagename.deb | + | | tail || Shows file end (-n, -f, ...) |
| | |- | | |- |
| − | | su || Log as root at the terminal (sudo su) | + | | tty || Shows the terminal where you are connected |
| | |- | | |- |
| − | | mount || File sistem mounting | + | | who || Connected persons |
| | |- | | |- |
| − | | [[Linux:_vim|vim]] || Text file editor | + | | whoami || Who am i |
| | |- | | |- |
| − | | mc || Midnight commander. File system navigation | + | | touch <file_name> || Creates an empty file |
| | |- | | |- |
| − | | [[Linux_command:_alien|alien]] || Migrate packages from .rpm to .deb and vice versa | + | | <nowiki><cmd1> | <cmd2></nowiki> || Pipe: takes the output of command1 as input of command2. example: <nowiki>cat /etc/passwd | sort | more</nowiki> |
| | |- | | |- |
| − | | scp || Copy files to a remote machine over ssh protocol | + | | wc -l || Counts lines |
| | |- | | |- |
| − | | [[Linux_command:_wget|wget]] || Download files/web pages | + | | [[Linux_command:_find|find]] || Find files |
| | |- | | |- |
| − | | [[Linux_command:_fdisk|fdisk]] || Disk partition utility | + | | [[Linux:_vim|vim]] || Text file editor |
| | |- | | |- |
| − | | [[Linux_command:_terminator|terminator]] || Advanced terminal | + | | [[Linux_command:_ln|sed]] || String replacement |
| | |- | | |- |
| − | | lspci -v || View PCI device information | + | | [[Linux_command:_wget|wget]] || Download files/web pages |
| | |} | | |} |
| | | | |