原创 shell prompt(PS1)與Carriage Return(CR)關係(轉自:shell十三問)

當你成功登陸一個shell終端的文件界面之後,大部分的情形下,你會在屏幕上看到一個不斷閃爍的方塊或者底線(視不同的版本而別),我們稱之爲遊標(cursor).cursor作用就是告訴你接下來你從鍵盤輸入的按鍵所插入的位置,且每輸入一個鍵,c

原创 一、何爲shell(轉自:shell十三問)

shell是什麼東西之前,不放讓我們重新審視使用者和計算機系統的關係。我們知道計算機的運作不能離開硬件,但使用者卻無法直接操作硬件,硬件的驅動只能通過一種稱爲“操作系統(OS)"的軟件來管控。事實上,我們每天所談的"linux",嚴格來說是

原创 manpages

This package contains the Linux man pages for all chapters except 1, 6 and 8. Some more information is given in the 'Ann

原创 echo知多少(轉自:shell十三問)

承接上一章的command-line,這裏我們用echo這個命令加以進一步說明。溫習標準的command line三個組成部分:command_name option argumentecho 是一個非常簡單、直接的linux命令:$ech

原创 monetary.h

NAMEmonetary.h - monetary types SYNOPSIS#include <monetary.h>DESCRIPTIONThe <monetary.h> header shall define the followi

原创 ftw.h

NAMEftw.h - file tree traversalSYNOPSIS#include <ftw.h>DESCRIPTIONThe <ftw.h> header shall define the FTW structure that

原创 sys/utsname.h

NAMEsys/utsname.h - system name structureSYNOPSIS#include <sys/utsname.h>DESCRIPTIONThe <sys/utsname.h> header shall def

原创 stddef.h

NAMEstddef.h - standard type defintionsSYNOPSIS#include<stddef.h>DESCRIPTIONThe <stddef.h> header shall define the follo

原创 unistd.h

NAMEunistd.h - standard symbolic constants and typesSYNOPSIS #include <unistd.h>DESCRIPTIONThe <unistd.h> header defines

原创 tgmath.h

NAMEtgmath.h - type-generic macrosSYNOPSIS#include <tgmath.h>DESCRIPTIONThe <tgmath.h> header shall incude the headers <

原创 utsname.h

NAMEsys/utsname.h - system name structureSYNOPSIS#include <sys/utsname.h>DESCRIPTIONThe <sys/utsname.h> header shall def

原创 sys/ipc.h

NAMEsys/ipc.h - XSI interprocess communication access structureSYNOPSIS#include <sys/ipc.h>DESCRIPTIONThe <sys/ipc.h> he

原创 關於redhat 6.5 yum源配置問題的解決方法

redhat6.5在安裝好命令界面後執行yum list或yum update命令提示:This system is not registered to Red Hat Subscription Management. You can us

原创 libgen.h

NAMElibgen.h - definitions for pattern matching functionsSYNOPOSIS#include <libgen.h>DESCRIPTIONThe following shall be d

原创 linux下mysql基本管理命令

1、MySQL環境    使用MySQL客戶端命令工具"mysql"可以連接並登錄到MySql環境,在帶有提示符"mysql>"交互式命令環境中進行操作。在該操作環境中,輸入的每一條數據庫管理命令以分號";"表示結束,可以不區分大小寫。<習