<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ssh &#8211; 孙威的阳光海</title>
	<atom:link href="https://www.sunnyfly.com/tag/ssh/feed" rel="self" type="application/rss+xml" />
	<link>https://www.sunnyfly.com</link>
	<description>人生没有终极意义，只有那些过程中的好时光。</description>
	<lastBuildDate>Thu, 15 Sep 2022 11:12:32 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.sunnyfly.com/wp-content/uploads/2019/07/cropped-wyat-32x32.jpg</url>
	<title>ssh &#8211; 孙威的阳光海</title>
	<link>https://www.sunnyfly.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Dreamhost的SSH命令</title>
		<link>https://www.sunnyfly.com/ssh-command-of-dreamhost.html</link>
					<comments>https://www.sunnyfly.com/ssh-command-of-dreamhost.html#comments</comments>
		
		<dc:creator><![CDATA[孙威]]></dc:creator>
		<pubDate>Sat, 08 Sep 2012 14:23:23 +0000</pubDate>
				<category><![CDATA[VPS]]></category>
		<category><![CDATA[Dreamhost]]></category>
		<category><![CDATA[ssh]]></category>
		<guid isPermaLink="false">http://www.sunnyfly.com/?p=1180</guid>

					<description><![CDATA[以前只听过DREAMHOST支持ssh（SHELL...]]></description>
										<content:encoded><![CDATA[<p>以前只听过<a href="https://www.dreamhost.com/r.cgi?1359015/hosting/shared/">DREAMHOST</a>支持ssh（SHELL），但没具体用过,主要是以前不是非常需要，还没有上传过太多东西。最近由于要上传较大文件数量较多的东西和在线压缩文件夹并下载，苦于光缆带来的速度让人无法忍受，迫不得已去学用一下SHELL，一用不得了，真是非常的爽。</p>
<p><img fetchpriority="high" decoding="async" src="https://www.sunnyfly.com/wp-content/uploads/2012/09/dreamhost-ssh.png" alt="" title="Dreamhost的SSH命令 " width="280" height="190" class="aligncenter size-full wp-image-1181" srcset="https://www.sunnyfly.com/wp-content/uploads/2012/09/dreamhost-ssh.png 280w, https://www.sunnyfly.com/wp-content/uploads/2012/09/dreamhost-ssh-100x68.png 100w" sizes="(max-width: 280px) 100vw, 280px" /></p>
<p><strong>命令如下：</strong></p>
<p>LS （显示当前目录所有文件）<br />
CD .. （回父目录，中间有空格）<br />
CD 目录名 （改变目录到你想到的地方）<br />
UNZIP FILENAME（用来解压文件夹，可以ZIP，但不可RAR，缩的时候注意一下）<br />
RM -rf FILENAME （删除文件，如果一个目录子文件较多，用FTP删除也是比较痛苦的事情，用这个两秒解决）<br />
WGET（等用过后添加吧，据说非常爽，可以从其它服务器直接DOWN你要的东东到你的空间，国外对国外速度非常惊人）</p>
<p>还有好多，不过对自己来说需要的就这些了，这些可以节省好多时间了，真是非常爽！</p>
<p>现在就来介绍几个常用的命令吧：</p>
<p>从远程的服务器上下载软件到你的目录下，wget https://cn.wordpress.org/wordpress-3.4.2-zh_CN.zip 这个命令就是把wordpress-3.4.2-zh_CN.zip下载过来，大家可以到这里来下，这个就是Wordpress 3.4.2简体中文版的压缩包。<br />
下载过来就是解压缩了，unzip wordpress-3.4.2-zh_CN.zip 就是把这个文件解压缩到这个目录下。<br />
如果你是安装一下WordPress，那么这两个命令应该足够了，但是如果你要备份一类的，那就继续看以下的指令：<br />
cd wordpress-3.4.2-zh_CN 这个命令就是进入wordpress-3.4.2-zh_CN这个目录<br />
cd – 这个命令是返回到上层目录的意思<br />
cd ~ 这个命令是返回到根目录的意思<br />
重命名操作：mv wordpress-3.4.2-zh_CN.zip wordpress 就是把wordpress-3.4.2-zh_CN重命名为wordpress<br />
复制操作：cp -a wordpress /home/sunnyfly/www 就是把你当前目录下的wordpress文件夹整个复制到/home/sunnyfly/www下。<br />
删除操作：rm wordpress-3.4.2-zh_CN.zip 把你所在的目录下的wordpress-3.4.2-zh_CN.zip文件删除。<br />
rm -rf wordpress-3.4.2-zh_CN 这个命令是把wordpress-3.4.2-zh_CN这个目录都删除。<br />
其他的一些常用的压缩和解压缩操作：<br />
tar cf wp.tar wordpress-3.4.2-zh_CN 把wordpress-3.4.2-zh_CN压缩成 wp.tar<br />
tar cfz wp.tar.gz wordpress-3.4.2-zh_CN 把wordpress-3.4.2-zh_CN压缩成wp.tar.gz<br />
tar xvf wp.tar 解压缩wp.tar文件<br />
tar.gz 的解压命令是tar -xzvf<br />
用 zip 来压缩文件，在 shell 提示下键入下面的命令：zip -r filename.zip filesdir</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.sunnyfly.com/ssh-command-of-dreamhost.html/feed</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
