2017年11月26日 星期日

☆Linux☆基礎指令--tail / Basic Command

[Linux][CentOS][RHEL][Shell][Script][Command] 


[說明][Explain]
tail : Linux基礎入門指令,檢視文字檔案最後面內容(最後十行)。。

[用法][Usage]
tail [TextFile]


[常用選項][Option]
-n  指定所顯示的行數,預設是10行。    
-f   鎖定並持續檢視文字檔案內容,若有新增資料會馬上印出。

[實例][Example]
功能:檢視RADME檔案最後15行內容,並持續監控文字檔案的新增資訊。

root# tail -n 15 -f README
in your username and password. Most of the tests use only temporary tables, so
almost any user should do (there are a few tests that need to create permanent
tables but they also delete them so you should not end up with garbage in your
database).

3. Set the JAVA_HOME system property to point to your Java installation
location.

4. In a command prompt, type:

   build test

This will run a series of JUnit tests on your database. All tests should pass
normally. If any of them fails, please let us know about it (along with the
particular system configuration you were using).



沒有留言:

張貼留言