2008-04-28

What are Unix signals?

关键字: unix
一个信号,是一个信息,可以发送到运行的过程。 Signals can be initiated by programs, users, or administrators.信号可启动程式,使用者或管理员。 For example, to the proper method of telling the Internet Daemon (inetd) to re-read its configuration file is to send it a SIGHUP signal.举例来说,以适当的方法告诉互联网守护进程 ( inetd的) ,以重看其配置文件,是发送一个sighup信号。 ...
2007-11-06

Ubuntu network configure

关键字: Ubuntu,network,configure
sudo su    gedit /etc/network/interfaces 文件内容:    auto lo    iface lo inet loopback    auto eth0 ##这个应该是决定是否启用这个端口    iface eth0 inet static ##静态设置IP    hwaddress ether 52:54:xx:51:xx:xx ##加入MAC地址,记得要放在IP地址之前    address 202.198.151.17    netmask 255.255.255.0    #broadcast 202.19 ...
2007-11-05

Running Ubuntu 7.10 in VMWare Player

关键字: Ubuntu,VMWare
ubuntu的root密码,以及VMTools的安装 新接触ubuntu(base on debian)的人,大多会因为安装中没有提示root密码而不太清楚为什么会这样。 如何设定/改变/启用 root 使用者的密码? sudo passwd root 为了启用 root 帐号 (也就是 设置一个口令) 使用: sudo passwd root 当你使用完毕后屏蔽 root 帐号 使用: sudo passwd -l root 这个将锁住 root 帐号. 如何在终端机模式下切换到 root 身份? sudo -s -H   如何安装Vm tools ...
2007-10-29

Ubuntu一些基础命令

关键字: Ubuntu,基础命令
安装 查看软件xxx安装内容 dpkg -L xxx 查找软件 apt-cache search 正则表达式 查找文件属于哪个包 dpkg -S filename apt-file search filename 查询软件xxx依赖哪些包 apt-cache depends xxx 查询软件xxx被哪些包依赖 apt-cache rdepends xxx 增加一个光盘源 sudo apt-cdrom add 系统升级 sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade 清除 ...
2007-10-24

ASCII 代码表(0-255)

关键字: ASCII
ASCII 代码表II Ascii 0 {Nulo, Sem Som} Ascii 1 Ascii 2 Ascii 3 Ascii 4 Ascii 5 Ascii 6 Ascii 7 Ascii 8 {BackSpace} Ascii 9 {Tab} Ascii 10 Ascii 11 Ascii 12 Ascii 13 {Enter} Ascii 14 Ascii 15 Ascii 16 {Shift} Ascii 17 {CTRL} Ascii 18 {ALT} Ascii 19 Ascii 20 {Ca ...