| Command |
Description
|
| alias |
Creates a commnad
|
| alien |
Migrate packages from .rpm to .deb and vice versa
|
| apropos <subject> |
Sows commnads related to a subject
|
| apt-get |
Package installation and system update
|
| awk |
CLI text processor
|
| cal |
Shows calendar
|
| cat <filename> |
Shows file content
|
| clear |
Clear screen
|
| date |
Shows date
|
| dd |
Create / Dump images
|
| df |
Shows the disk ussage. Example: df -h
|
| dpkg |
.deb package installation: sudo dpkg -i packagename.deb
|
| du |
Disk ussage
|
| export VARIABLE=VALUE |
To create system variables
|
| fsck |
Check file system
|
| fdisk |
Disk partition utility
|
| find |
Find files
|
| free |
Shows free memory
|
| gpg |
GnuPG
|
| grep |
finds text matching regex or text
|
| head |
Shows file start (-n, -f,...)
|
| history |
Shows the commnad history (contained in ~.bash_history)
|
| info <command> |
Sows command info
|
| ln |
Create simbolic links
|
| lsb_release -a |
Show os name and version
|
| lsblk |
|
| lspci -v |
View PCI device information
|
| lscpu |
List cpu cores
|
| lsof |
sudo lsof -i -n | egrep '\<ssh\>'
|
| man <command> |
Sowhs a command manual page
|
| mc |
Midnight commander. File system navigation
|
| mkdosfs -F32 /dev/mmcblk0 |
Format SD card with FAT32
|
| more <filename> |
Shows file content, screen by screen
|
| mount |
File sistem mounting
|
| pwd |
Shows working directory
|
| rsync -a ruta1 ruta2 [--exclude=/{dir1, dir2..]/] |
Copies files from ruta1 to ruta2 excluding dir1, dir2,...
|
| scp |
Copy files to a remote machine over ssh protocol
|
| ssh |
ssh (Secure Shell)
|
| sed |
String replacement
|
| sort |
Sorts the content of a file line by line
|
| su |
Log as root at the terminal (sudo su)
|
| sudo <command> |
Execute command as root
|
| tar |
Compress/decompress tar files
|
| tail |
Shows file end (-n, -f, ...)
|
| touch <file_name> |
Creates an empty file
|
| tty |
Shows the terminal where you are connected
|
| uname |
Shows system info
|
| visudo |
visudo is used to securely edit /etc/sudoers
|
| wc -l |
Counts lines
|
| wget |
Download files/web pages
|
| vim |
Text file editor
|
| who |
Connected persons
|
| whoami |
Who am i
|
| xargs |
Send output of command to stdin
|
| <cmd1> | <cmd2> |
Pipe: takes the output of command1 as input of command2. example: cat /etc/passwd | sort | more
|