Hello World

Artemhp personal blog

For me the most userful commands in Linux

, , ,



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...

About my technics, part 1Country indicator

Write a comment

New comments have been disabled for this post.

May 2012
M T W T F S S
April 2012June 2012
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31