Wu Di's     Resume  |  Portfolio  |  Blog  |  Network  |  Calendar

My Reputation

19 honors

Monthly Archive


2010-1 (3)

2009-10 (2)

2009-7 (2)

2009-6 (4)

2009-5 (1)

2009-4 (3)

2009-3 (2)

Categories


Default ( 1 )

linux ( 1 )

ipad ( 1 )

social media marketing ( 1 )

housing ( 1 )

Zeitgeist ( 2 )

funding ( 1 )

flash ( 1 )

javascript ( 1 )

IT business ( 5 )

php ( 2 )

Magento ( 0 )

Wu Di's Blog

Commonly Used Linux Commands

Posted on: 2009-03-18 at 15:50:14 | Category: linux


MySQL: # To Start MySQL Server/sbin/service mysql start # To Stop MySQL Server/sbin/service mysql stop # To Restart MySQL Server/sbin/service mysql restart brute force way to kill all the processes:$ for i in `ps -ef |grep mysql |awk '{print $2}'`; do `kill -9 $i`; done mysqldump -p --all-databases > /all.sql (create db backup)mysql > source all.sql (extract from db backup) ZIP: unzip example (this will unzip all contents in example.zip to to /example/)zip -r example example CP: cp -r
......


81 views | 2 comments