[Linux][CentOS][RHEL][Shell][Script][Command]
[說明][Explain]
head : Linux基礎入門指令,檢視文字檔案標題內容(前十行)。
[常用選項][Option]-n 指定所顯示的行數,預設是前10行。
[實例][Example]
功能:檢視文字檔案Readme標題內容。
Introduction
============
jTDS is Free Software. jTDS is released under the terms of the GNU Lesser
General Public License. A copy of the LGPL is provided in the LICENSE file. The
LGPL is sufficiently flexible to allow the use of jTDS in both open source and
commercial projects.
This document has been superseded by the HTML documentation that can be found
in the html directory. However, since it still contains pertinent information
root#> head README |wc -l
10
功能:檢視文字檔案Readme標題內容前20行。
Introduction
============
jTDS is Free Software. jTDS is released under the terms of the GNU Lesser
General Public License. A copy of the LGPL is provided in the LICENSE file. The
LGPL is sufficiently flexible to allow the use of jTDS in both open source and
commercial projects.
This document has been superseded by the HTML documentation that can be found
in the html directory. However, since it still contains pertinent information
it has been left in place. If you are a first time user please read this
document and the HTML FAQ before proceeding. It's also recommended that you
also read at least part of the HTML documentation.
License
=======
jTDS is released under the terms of the LGPL. A copy of the LGPL is provided
in the LICENSE file.
回到==>Linux 常用基礎指令 / Basic Command
回到==>Linux 常用指令整理 / Useful commands
沒有留言:
張貼留言