Sunday, August 01, 2010

Command under Linux VPS SSH

directory
rm -rf mydir /*delete mydir  directory*/
cd mydir /*get into mydir directory*/
cd – /*up one level directory*/  
cd .. /*up one level directory,there is a blank*/
cd ~ /*root directory*/
mv tools tool /*rename tools to tool */
ln -s tool bac /*add "_trial" to the directory tool,after this operation “tool” will rename to "tool_trial"*/
cp -a tool /home/vpser/www /*copy all files under tool directory to www directory */

File Operation


rm go.tar        /* delete go.tar */
find mt.cgi    /* find the file named mt.cgi */
df –h              /* lookup the disk static */

uncompress
tar xvf wordpress.tar       /* umcompress tar  file which name wordpress.tar */
tar -tvf myfile.tar     /* preview  the file name in the tar package */
tar cf toole.tar tool /*make tool directory as toole.tar package */
tar cfz vpser.tar.gz tool /* package tool directory and compress as vpser.tar.gz */
tar jcvf  /var/bak/www.tar.bz2 /var/www/    /*package as .tar.bz2*/
tar xjf www.tar.bz2 /*uncompress the tar.bz2 package*/
gzip -d ge.tar.gz        /* uncompress .tar.gz to .tar */
unzip phpbb.zip      /* uncompress zip file*/

Download

wget http://soft.neovps.net/web/nginx/nginx-0.8.0.tar.gz /*download file from the remote server */
wget -c http://soft.vpser.net/web/nginx/nginx-0.8.0.tar.gz /*contine the last time download*/

To Be Contine



2 Comments

  1. Comments  Command under Linux VPS SSH » NEOVPS   |  Tuesday, 09 February 2010 at 4:04 pm

    [...] Here is the original post: Command under Linux VPS SSH » NEOVPS [...]

  2. Comments  Ajithkumar CC   |  Tuesday, 09 March 2010 at 4:42 am

    I appreciate the work that you have put in, in this page. Really good, also I wish to quote a few lines from this article in my site, I will give a link back to this article. Again.. it is really a good work.
    Thanks
    Ajithkumar

Leave a Reply




To submit your comment, click the image below where it asks you to... Clickcha - The One-click Captcha

Main Menu

 


sentris – $49.99/M Opteron 1210 4GB 160GB HDD

Setup now takes about 3-12 hours, 24×7, Mon-Sun, after confirmed payment, unless otherwise noted.

LIMITED TIME OFFER: Free Upgrades to 100Mbps on select plans below. Follow us on twitter @ sentriscom for Availibility, Free Stuff/Limited Discount Code on select plans below.

If you’re planning to resell, we are also testing a new reseller program with 25% Discount on select plans, please Contact Us for more info.

And please contact via https://www.sentris.net/hd/

Opteron 1210
4GB DDR2
160GB HDD
Bandwidth:
- 2TB or Dedicated 10Mbps with Custom or Level3 or Cogent
- 4TB or Dedicated 10Mbps with Custom
10Mbps connection (Free 100Mbps when paid Quarterly or Yearly)
2 Usable IPs
Monthly: $49.99
Quarterly: $135
Yearly: $449.91 -> $37.49/mo
Setup: Free
Order Now