Thursday, August 30, 2012

The ps Command

This post is from here. The ps (i.e., process status) command is used to provide information about the currently running processes, including their process identification numbers (PIDs). A process, also referred to as a task, is an executing (i.e., running) instance of a program. Every process is assigned a unique PID by the system. The basic syntax of ps is ps [options] When...
Read more ...

Monday, August 13, 2012

Friday, August 10, 2012

Mac OS X 下修改机器名和主机名

This post is from here. 修改主机名和计算机名 sudo scutil --set HostName NewName sudo scutil --set ComputerName NewName 修改终端提示符 vi ~/.profile 添加 export PS1="[\u@\h \W]\$...
Read more ...

Wednesday, August 1, 2012

Ubuntu下WebQQ桌面化

This post is from here. sudo add-apt-repository ppa:loneowais/fogger sudo apt-get update sudo apt-get install  fogger 然后可以搜索 fogger 打开程序,添加WEBQQ即可。 但是中文提示可能是乱码。 可以参考这里修改: 修改方式如下: 打开终端执行: sudo vim /opt/extras.Ubuntu.com/fogger/fogger/AppWindow.py  (vim不熟悉可以使用gedit,前面带行号) 22 import re         #22行加上该句 252...
Read more ...