For me the most userful commands in Linux
Tuesday, September 15, 2009 12:03:54 AM
A little list for myself, maybe will be useful for somebody.
Command to make backup for all db: mysqldump
Example: mysqldump -uroot -p -A --opt -f | gzip -c > /web/backups/db-dump.gz
Command to view logs: tail
Example: tail -n 50 /var/log/syslog
Command to view processes, info about memmory and CPU:htop
Example: htop
Command for permissons. Change owner of the files: chown
Example: chown deykun:webmasters /web/sites/deykun.com
For editing files: nano
Example: nano /etc/hosts
Deleting folder: rm
Example:rm -rf squid
Display information about network connection: ifconfig
Example: ifconfig -a | more
I'll add some commands later...
