repsol
2001-10-09, 12:22 AM
相信有玩UNIX的人一定都曾經使用過man 這個指令,man這個指令就是manual page的縮寫,ㄊ提供了系統中指令或是設定的方法,各類設定檔的說明,更重要的事還提供了寫程式所需要的資訊,UNIX的系統指令集繁雜,純命令列的console,一大串的command,如果不常用,粉快滴...下次要用的時候,就給他回憶不起來了.
man的命令放在/usr/bin/man
使用方法
ex :
man df
就會出現以下畫面
DF(1) FreeBSD General Commands Manual DF(1)
NAME
df - display free disk space
SYNOPSIS
df [-b | -h | -H | -k | -m | -P] [-ailn] [-t type]
[file | filesystem ...]
DESCRIPTION
Df displays statistics about the amount of free disk space on the speci?
fied filesystem or on the filesystem of which file is a part. Values are
displayed in 512-byte per block counts. If neither a file or a filesys?
tem operand is specified, statistics for all mounted filesystems are dis?
played (subject to the -t option below).
The following options are available:
中間略刪....
ENVIRONMENT
BLOCKSIZE If the environment variable BLOCKSIZE is set, the block counts
will be displayed in units of that size block.
BUGS
The -n and -t flags are ignored if a file or filesystem is specified.
SEE ALSO
lsvfs(1), quota(1), fstatfs(2), getfsstat(2), statfs(2), getmntinfo(3),
fstab(5), mount(8), quot(8)
HISTORY
A df command appeared in Version 1 AT&T UNIX.
FreeBSD 4.4 May 8, 1995 FreeBSD 4.4
============================= 到此結束 ========================================
看到第一行DF(1)
每個man page都一定會有那個括弧和數字
數字的意義以下介紹...
1 代表使用者命令 : df(1)
2 系統呼叫 ex :syscall(2)
3 函式庫 ex : stdio(3)
4 硬體裝置ex : ad(4)
5 系統設定檔ex: rc.conf(5)
6 遊戲 ex: worms(6)
7 Miscellaneous Information Manual 其他 ex: ports(7)
8 FreeBSD System Manager's Manual 系統管理 ex : vipw(8)
9 FreeBSD Kernel Developer's Manual 系統 kernel 開發 ex : MICROTIME(9)
==============================================================================
NAME
df - display free disk space
指令名稱 - 簡短敘述
==============================================================================
SYNOPSIS
df [-b | -h | -H | -k | -m | -P] [-ailn] [-t type]
[file | filesystem ...]
指令參數
==============================================================================
DESCRIPTION
詳細描述
Df displays statistics about the amount of free disk space on the speci?
fied filesystem or on the filesystem of which file is a part. Values are
displayed in 512-byte per block counts. If neither a file or a filesys?
tem operand is specified, statistics for all mounted filesystems are dis?
played (subject to the -t option below).
==============================================================================
OPTIONS
指令參數詳細說明
The following options are available:
-a Show all mount points, including those that were mounted with the
MNT_IGNORE flag.
-b Use 512-byte blocks rather than the default. Note that this
overrides the BLOCKSIZE specification from the environment.
-g Use 1073741824-byte (1-Gbyte) blocks rather than the default.
Note that this overrides the BLOCKSIZE specification from the
environment.
-H "Human-readable" output. Use unit suffixes: Byte, Kilobyte,
Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the
number of digits to three or less using base 10 for sizes.
-h "Human-readable" output. Use unit suffixes: Byte, Kilobyte,
Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the
number of digits to three or less using base 2 for sizes.
-i Include statistics on the number of free inodes.
-k Use 1024-byte (1-Kbyte) blocks rather than the default. Note
that this overrides the BLOCKSIZE specification from the environ?
以下略
==============================================================================
ENVIRONMENT
環境變數(BLOCKSIZE)
BLOCKSIZE If the environment variable BLOCKSIZE is set, the block counts
will be displayed in units of that size block.
==============================================================================
BUGS
臭虫
The -n and -t flags are ignored if a file or filesystem is specified.
==============================================================================
SEE ALSO(小弟覺得這個最好用)
lsvfs(1), quota(1), fstatfs(2), getfsstat(2), statfs(2), getmntinfo(3),
fstab(5), mount(8), quot(8)
與df(1)相關的指令或是相關的設定檔,UNIX的指令繁雜,設定檔也很多,SEE ALSO可以看到與df指令相關的
可以了解的更深 ,學習到的也可以更廣
==============================================================================
HISTORY
指令的起源
A df command appeared in Version 1 AT&T UNIX.
==============================================================================
man page雖然都是英文,但是想要的答案都在裡面
man一下,不用錢,然後自己try try..又可以學到東西
嘿嘿...真的很不錯...真的很好用
希望大家可以多用用
贊助商連結
man的命令放在/usr/bin/man
使用方法
ex :
man df
就會出現以下畫面
DF(1) FreeBSD General Commands Manual DF(1)
NAME
df - display free disk space
SYNOPSIS
df [-b | -h | -H | -k | -m | -P] [-ailn] [-t type]
[file | filesystem ...]
DESCRIPTION
Df displays statistics about the amount of free disk space on the speci?
fied filesystem or on the filesystem of which file is a part. Values are
displayed in 512-byte per block counts. If neither a file or a filesys?
tem operand is specified, statistics for all mounted filesystems are dis?
played (subject to the -t option below).
The following options are available:
中間略刪....
ENVIRONMENT
BLOCKSIZE If the environment variable BLOCKSIZE is set, the block counts
will be displayed in units of that size block.
BUGS
The -n and -t flags are ignored if a file or filesystem is specified.
SEE ALSO
lsvfs(1), quota(1), fstatfs(2), getfsstat(2), statfs(2), getmntinfo(3),
fstab(5), mount(8), quot(8)
HISTORY
A df command appeared in Version 1 AT&T UNIX.
FreeBSD 4.4 May 8, 1995 FreeBSD 4.4
============================= 到此結束 ========================================
看到第一行DF(1)
每個man page都一定會有那個括弧和數字
數字的意義以下介紹...
1 代表使用者命令 : df(1)
2 系統呼叫 ex :syscall(2)
3 函式庫 ex : stdio(3)
4 硬體裝置ex : ad(4)
5 系統設定檔ex: rc.conf(5)
6 遊戲 ex: worms(6)
7 Miscellaneous Information Manual 其他 ex: ports(7)
8 FreeBSD System Manager's Manual 系統管理 ex : vipw(8)
9 FreeBSD Kernel Developer's Manual 系統 kernel 開發 ex : MICROTIME(9)
==============================================================================
NAME
df - display free disk space
指令名稱 - 簡短敘述
==============================================================================
SYNOPSIS
df [-b | -h | -H | -k | -m | -P] [-ailn] [-t type]
[file | filesystem ...]
指令參數
==============================================================================
DESCRIPTION
詳細描述
Df displays statistics about the amount of free disk space on the speci?
fied filesystem or on the filesystem of which file is a part. Values are
displayed in 512-byte per block counts. If neither a file or a filesys?
tem operand is specified, statistics for all mounted filesystems are dis?
played (subject to the -t option below).
==============================================================================
OPTIONS
指令參數詳細說明
The following options are available:
-a Show all mount points, including those that were mounted with the
MNT_IGNORE flag.
-b Use 512-byte blocks rather than the default. Note that this
overrides the BLOCKSIZE specification from the environment.
-g Use 1073741824-byte (1-Gbyte) blocks rather than the default.
Note that this overrides the BLOCKSIZE specification from the
environment.
-H "Human-readable" output. Use unit suffixes: Byte, Kilobyte,
Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the
number of digits to three or less using base 10 for sizes.
-h "Human-readable" output. Use unit suffixes: Byte, Kilobyte,
Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the
number of digits to three or less using base 2 for sizes.
-i Include statistics on the number of free inodes.
-k Use 1024-byte (1-Kbyte) blocks rather than the default. Note
that this overrides the BLOCKSIZE specification from the environ?
以下略
==============================================================================
ENVIRONMENT
環境變數(BLOCKSIZE)
BLOCKSIZE If the environment variable BLOCKSIZE is set, the block counts
will be displayed in units of that size block.
==============================================================================
BUGS
臭虫
The -n and -t flags are ignored if a file or filesystem is specified.
==============================================================================
SEE ALSO(小弟覺得這個最好用)
lsvfs(1), quota(1), fstatfs(2), getfsstat(2), statfs(2), getmntinfo(3),
fstab(5), mount(8), quot(8)
與df(1)相關的指令或是相關的設定檔,UNIX的指令繁雜,設定檔也很多,SEE ALSO可以看到與df指令相關的
可以了解的更深 ,學習到的也可以更廣
==============================================================================
HISTORY
指令的起源
A df command appeared in Version 1 AT&T UNIX.
==============================================================================
man page雖然都是英文,但是想要的答案都在裡面
man一下,不用錢,然後自己try try..又可以學到東西
嘿嘿...真的很不錯...真的很好用
希望大家可以多用用
贊助商連結