Wednesday, July 01, 2009

Ubuntu: moving file

連個簡單的剪下貼上都不會用Q口Q
For MOVING:
>sudo mv [file] [dest_path]

For COPYING
>sudo cp [file] [dest_path]

For Create New File
>sudo mkdir [folder_path]

Changt root password
>sudo passwd root

Delete an Folder with contents
>sudo rm -rf [folder_path]


Install MySQL
>sudo apt-get install mysql-server mysql-client

Install Mongrel
After installed rails on Linux, you'll find the default web server is WEBrick, to use Mongrel:
>sudo gem install mongrel

Install .deb File
>sudo dpkg -i [file.deb]


Use MySQL Prompt
mysql -uroot -p

Comments

0 Responses to "Ubuntu: moving file"

Post a Comment

Tags