摘要: ps -aux VS ps aux ps -aux VS ps aux Note that "ps -aux" is distinct from "ps aux". The POSIX and UNIX standards require that "ps -aux" print all processes owned by a user named "x"... 阅读全文
posted @ 2013-04-16 23:45 舟乍舟孟 阅读(456) 评论(0) 推荐(0) 编辑
摘要: 一.shell中quotes的类型 1.backslash \ 2. single quotes' ' 3.double quotes " " 4. back quotes ` `*The back quote isnotused for quoting characters. That character is used for command substitution, where the characters between them are executed by the shell and the results is inserted on th 阅读全文
posted @ 2013-04-16 14:42 舟乍舟孟 阅读(641) 评论(0) 推荐(0) 编辑
摘要: 一. 卸载 X windowssudo apt-get purge xserver*这一步会自动卸载掉相关的软件。二.安装X windows如果一开是使用的是desktop版本ubuntu,那么系统默认从init5启动,即图形界面启动,而这时图形界面已经卸载掉了,所以这时候如果没有在卸载x-wind... 阅读全文
posted @ 2013-04-14 18:00 舟乍舟孟 阅读(2896) 评论(0) 推荐(1) 编辑
摘要: ~$ cat test.txt1xxy> xyy> xyy> xyxyxy> a> c> ~$ let value=`cat test.txt | tr -d '>' | tr -d ' ' | tee file.tmp| wc -l `-1 ; head -n $value file.tmp > test.txt1; rm file.tmp~$ cat test.txt1xxyxyyxyyxyxyxyac对文本test.txt1进行处理去除>符号 去除' '空格 然后存入源文件注意点:(1) 阅读全文
posted @ 2013-04-12 22:19 舟乍舟孟 阅读(148) 评论(0) 推荐(0) 编辑
摘要: Changing the root password or user account password vid the command line Changing the root password or user account password vid the command line 1. To change the root password y... 阅读全文
posted @ 2012-11-30 12:22 舟乍舟孟 阅读(220) 评论(0) 推荐(0) 编辑
摘要: emacs emacs Table of Contents 1 Eigthty Column Rule 1.1 Reasons: 1.1.1 Programming: 1.1.2 Readable: 1 Eigthty Column Rule Original Link: EithtyColumnRule Plugin:... 阅读全文
posted @ 2012-11-29 21:07 舟乍舟孟 阅读(197) 评论(0) 推荐(0) 编辑
摘要: emacs 阅读全文
posted @ 2012-11-26 11:42 舟乍舟孟 阅读(170) 评论(0) 推荐(0) 编辑