红联Linux门户
Linux帮助

Linux Useful Commands

发布时间:2007-06-16 10:35:32来源:红联作者:postnew
查看服务程序对端口的使用情况

netstat -al

让程序在后台运行,不受 logout 影响

nohup Command [args] [&]

查看 X Window 系统的事件,如键盘、鼠标、窗口等

xev

加载移动盘

mount -t vfat /dev/sdb /mnt/ -o codepage=936,iocharset=cp936,umask=0000Options:

codepage
Sets the codepage for converting to shortname characters on FAT and VFAT filesystems. By default, codepage 437 is used. For Chinese file and directory names, using 936.
iocharset
Character set to use for converting between 8 bit characters and 16 bit Unicode characters. The default is iso8859-1. Long filenames are stored on disk in Unicode format. For Chinese character set, using cp936.
umask
Set the umask used for all directories, all regular files, or all files and directories. Defaults to the umask of the current process. Set umask to 0000 will authorize the common user to have full access to the removable disk.

显示文件时在行首添加行号

nl filename
文章评论

共有 1 条评论

  1. 190.74.50.* 于 2007-07-06 00:43:43发表:

    http://ae04f2cea33e43cf1b7e7f1ed169a9ef-t.lwgmrw.org ae04f2cea33e43cf1b7e7f1ed169a9ef http://ae04f2cea33e43cf1b7e7f1ed169a9ef-b1.lwgmrw.org ae04f2cea33e43cf1b7e7f1ed169a9ef http://ae04f2cea33e43cf1b7e7f1ed169a9ef-b3.lwgmrw.org 7323937625928ec2c2b389a5c949efe8