?? unix
字號:
父子進程如何通信?<BR> 1.6 How do I get rid of
zombie processes?
我怎樣去除僵死進程?<BR> 1.6.1 What
is a zombie?
何為僵死進程?<BR> 1.6.2 How do I
prevent them from occuring?
我怎樣避免它們的出現?<BR> 1.7 How do I get my
program to act like a daemon?
我怎樣使我的程序作為守護程序運行?<BR> 1.8 How can I
look at process in the system like ps does?
我怎樣象ps程序一樣審視系統的進程?<BR> 1.9 Given a pid,
how can I tell if it's a running program?
給定一個進程號(譯者注:pid: process
ID),我怎樣知道它是個正在運行的程序?<BR> 1.10 What's
the return value of system/pclose/waitpid?
system函數,pclose函數,waitpid函數
的返回值是什么?<BR> 1.11 How do I find out
about a process' memory usage?
我怎樣找出一個進程的存儲器使用情況?<BR> 1.12 Why do
processes never decrease in size?
為什么進程的大小不縮減?<BR> 1.13 How do I change
the name of my program (as seen by `ps')?
我怎樣改變我程序的名字(即“ps”看到的名字)?<BR> 1.14 How
can I find a process' executable file?
我怎樣找到進程的相應可執行文件?<BR> 1.14.1
So where do I put my configuration files then?
那么,我把配置文件放在哪里呢?<BR> 1.15 Why doesn't my
process get SIGHUP when its parent dies?
為何父進程死時,我的進程未得到SIGHUP信號?<BR> 1.16 How
can I kill all descendents of a process?
我怎樣殺死一個進程的所有派生進程?<BR><BR>2. General File handling
(including pipes and sockets)
一般文件操作(包括管道和套接字)<BR> 2.1 How to manage
multiple connections?
怎樣管理多個連接?<BR> 2.1.1 How do
I use select()?
我怎樣使用select()?<BR> 2.1.2
How do I use poll()? 我怎樣使用poll()
?<BR> 2.1.3 Can I use SysV
IPC at the same time as select or poll? 我是否可以將SysV
進程間通信 (譯者注:IPC: Interprocess Communications)
與select或poll同<BR>時使用?<BR> 2.2 How can I
tell when the other end of a connection shuts
down? 我怎么知道連接的另一端已關閉?<BR> 2.3 Best way
to read directories? 讀目錄的最好方法?<BR> 2.4
How can I find out if someone else has a file
open? 我怎么知道其他人已經打開一個文件?<BR> 2.5 How do
I `lock' a file? 我怎樣鎖定一個文件?<BR> 2.6 How
do I find out if a file has been updated by
another process?
我怎么知道一個文件是否已被其他進程更新?<BR> 2.7 How does
the `du' utility work?
“du”工具程序是怎么工作的?<BR> 2.8 How do I find
the size of a file?
我怎么知道一個文件的大小?<BR> 2.9 How do I expand
`~' in a filename like the shell does?
我怎樣象shell程序一樣將一個文件名中含有的“~”展開?<BR> 2.10
What can I do with named pipes (FIFOs)?
我能用有名管道(FIFOs)(譯者注:FIFO: First In First
Oout)干什么?<BR> 2.10.1 What
is a named pipe?
什么是有名管道?<BR> 2.10.2 How do
I create a named pipe?
我怎樣創建一個有名管道?<BR> 2.10.3 How
do I use a named pipe?
我怎樣使用一個有名管道?<BR> 2.10.4 Can
I use a named pipe across NFS?
我能基于網絡文件系統(譯者注:NFS:Network File
System)使用有名管道嗎?<BR> 2.10.5
Can multiple processes write to the pipe
simultaneously?
多個進程能否同時向這個管道寫執行寫操作?<BR> 2.10.6
Using named pipes in applications
在應用程序中使用有名管道。<BR><BR>3. Terminal I/O
終端輸入/輸出(I/O:input/output)<BR> 3.1 How
can I make my program not echo input?
我怎樣使我的程序不回射輸入?<BR> 3.2 How can I read
single characters from the terminal?
我怎樣從終端讀取單個字符?<BR> 3.3 How can I check
and see if a key was pressed?
我怎樣檢查是否一個鍵被摁下?<BR> 3.4 How can I move
the cursor around the screen?
我怎樣將光標在屏幕里移動?<BR> 3.5 What are pttys?
pttys(pttys:Pseudo-teletypes)是什么?<BR> 3.6
How to handle a serial port or modem?
怎樣控制一個串行口和調制解調器(譯者注:modem:
modulate-demodulate)<BR> 3.6.1
Serial device names and types
串行設備和類型<BR> 3.6.2 Setting
up termios flags
設置termios的標志位<BR> 3.6.2.1
c_iflag<BR> 3.6.2.2
c_oflag<BR> 3.6.2.3
c_cflag<BR> 3.6.2.4
c_lflag<BR> 3.6.2.5
c_cc<BR><BR>4. System Information
系統信息<BR> 4.1 How can I tell how much
memory my system has?
我怎樣知道我的系統有多少存儲器容量?<BR> 4.2 How do I
check a user's password?
我怎樣檢查一個用戶的口令?<BR> 4.2.1 How
do I get a user's password?
我怎樣得到一個用戶的口令?<BR> 4.2.2 How
do I get shadow passwords by uid?
我怎樣通過用戶號(譯者注:uid: User
ID)得到陰影口令文件中的口令?<BR> 4.2.3
How do I verify a user's password?
我怎樣核對一個用戶的口令?<BR><BR>5. Miscellaneous programming
編程雜技<BR> 5.1 How do I compare strings
using wildcards?
我怎樣使用通配字符比較字符串?<BR> 5.1.1
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -