-
Notifications
You must be signed in to change notification settings - Fork 0
/
atom.xml
157 lines (90 loc) · 4.25 KB
/
atom.xml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title><![CDATA[Strever Fang's Blog]]></title>
<link href="http://blog.shareproject.cn/atom.xml" rel="self"/>
<link href="http://blog.shareproject.cn/"/>
<updated>2014-01-02T03:57:03+08:00</updated>
<id>http://blog.shareproject.cn/</id>
<author>
<name><![CDATA[Strever Fang]]></name>
</author>
<generator uri="http://octopress.org/">Octopress</generator>
<entry>
<title type="html"><![CDATA[Ubuntu Shell Command]]></title>
<link href="http://blog.shareproject.cn/blog/2014/01/02/ubuntu-shell-command/"/>
<updated>2014-01-02T01:30:40+08:00</updated>
<id>http://blog.shareproject.cn/blog/2014/01/02/ubuntu-shell-command</id>
<content type="html"><![CDATA[<h1>Ubuntu 下常用命令</h1>
<p>第一篇博文不知道写什么,随便写一些自己常用到的 <strong>Shell 命令</strong>,顺便熟练一下MarkDown语法。</p>
<h2>常用命令</h2>
<p>//分屏显示 display the file</p>
<blockquote><p><code>more</code></p></blockquote>
<p>//对目录加上表示符号“/”</p>
<blockquote><p><code>ls -p</code></p></blockquote>
<p>//逐页查看,more的升级版本,less is more</p>
<blockquote><p><code>less</code></p></blockquote>
<p>/正序display the file</p>
<blockquote><p><code>cat</code></p></blockquote>
<p>//逆序display the file</p>
<blockquote><p><code>tac</code></p></blockquote>
<p>//创建新文件</p>
<blockquote><p><code>touch [filename]</code></p></blockquote>
<p>//创建硬链接,同一文件</p>
<blockquote><p><code>cp -l</code></p></blockquote>
<p>//创建软链接,快捷方式</p>
<blockquote><p><code>cp -s</code></p></blockquote>
<p>//display 从开始到第<em>num</em>行</p>
<blockquote><p><code>head -[num]</code></p></blockquote>
<p>//display 从结尾到倒数第[num]行</p>
<blockquote><p><code>tail -[num]</code></p></blockquote>
<p>//开机自启动</p>
<blockquote><p><code>chkconfig [service] on</code></p></blockquote>
<p>//查看ALSA驱动版本</p>
<blockquote><p><code>alsactl -v</code></p></blockquote>
<p>//process查看</p>
<blockquote><p><code>ps</code></p></blockquote>
<p>//实时process查看</p>
<blockquote><p><code>top</code></p></blockquote>
<p>//检查 mysqld 进程是否已经开启</p>
<blockquote><p><code>pgrep mysqld</code></p></blockquote>
<p>//查找已安装包中的qq-for-wine</p>
<blockquote><p><code>dpkg -l | grep qq-for-wine</code></p></blockquote>
<p>//挂载sdb1到MTP目录下</p>
<blockquote><p><code>mount -t vfat /dev/sdb1 /media/mtp</code></p></blockquote>
<p>//挂载*.iso到mnt</p>
<blockquote><p><code>mount -t iso9660 -o loop *.iso mnt</code></p></blockquote>
<p>//查看磁盘使用情况</p>
<blockquote><p><code>df --human</code></p></blockquote>
<p>//查看文件类型</p>
<blockquote><p><code>file</code></p></blockquote>
<p>// 查看文件状态信息</p>
<blockquote><p><code>stat</code></p></blockquote>
<p>//vsftpd:</p>
<blockquote><p> <code>service vsftpd start</code></p></blockquote>
<p>//sshd:</p>
<blockquote><p> <code>service sshd start</code></p></blockquote>
<p>//iptable:</p>
<blockquote><p><code>service iptables stop</code></p></blockquote>
<p>//查找文件</p>
<blockquote><p><code>find -name</code></p></blockquote>
<p>//系统默认使用哪个java版本:</p>
<blockquote><p><code>which javac</code></p></blockquote>
<h2>常用软件</h2>
<pre><code> sudo apt-get install rar vlc vlc-plugin-pulse cheese compizconfig-settings-manager cairo-dock gimp uget aria2
sudo apt-get install eclipse vim vim-gtk emacs codeblocks build-essential gcc g++ mysql-server mysql-client php5-mysql
</code></pre>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Welcome]]></title>
<link href="http://blog.shareproject.cn/blog/2014/01/01/welcome/"/>
<updated>2014-01-01T14:37:35+08:00</updated>
<id>http://blog.shareproject.cn/blog/2014/01/01/welcome</id>
<content type="html"><![CDATA[<p>I really appreciate your valuable time for reading this POST.</p>
<p>It’s my great pleasure.</p>
<p>and I’ll be very happy if you would send me your feedback after you’ve finished reeading each POST.</p>
<p>No matter goods or bads.</p>
<p>Thanks a lot.</p>
]]></content>
</entry>
</feed>