在本地的檔案系統中下列哪些linux路徑結構是無效的?(選擇所有正確的)
a. //usrzhang/memo
b. usrzhangmemo
c. /usr/zhang/memo
d. usr/zhang/memo
答案 a b d
linux支援哪些程式語言( )
on
c.C++
ran
答案 abcd
echo命令可以用來顯示?( )
a. 引數
b. 文字字元
c. 過濾內容
d. shell 變數
答案 bd
誰是Linux的創始人( )
a. Turbolinux
b. AT&T Bell Laboratry
c. University of Helsinki
d. Linus Torvalds
答案:d
你想顯示檔案"longfile"的最後10行,下面那個命令是正確的( )
a、tail logfile
b、head -10 longfile
c、taid -d 10 longfile
d、head longfile
答案 a
下列那些敘述是正確的? (選擇所有正確的)
a. 在DOS下可以用命令rawrite建立安裝磁碟.
b. 在DOS下可以用命令dd建立安裝磁碟.
c. 通常可以從可引導的CDROM中安裝TurboLinux系統.
d. "rawrite" 可以在linux中執行.
答案 ac
哪些命令組合起來能統計多少使用者登入系統(選擇所有正確的答案)
| wc -w
| wc -l
| wc -c
| wc
答案 bd
如果你對檔案和目錄的許可權不確定,則不能用 _______命令來檢測許可權.(選擇所有正確的)
a. ps
b. ls -l
c. ck
d. chown
答案 acd
下面哪些環境變數是在Turbolinux shell下被定義的?( )
a. PATH
b. CD
c. PS1
d. TERM
答案 abc
建立一個使用者帳號需要在/etc/passwd中定義哪些資訊( )
a、login name
b、password age
c、default group
d、userid
答案 a c d
下面哪條命令可以顯示交換記憶體( )
a、showmem
b、freemem
c、swap
d、free
答案 d
下面哪條命令可以顯示使用者預設設定( )
a、useradd -u
b、show defaults
c、show user defaults
d、useradd -D
答案 d
下面哪段定義了新增一個tar檔案的資訊( )
a、use the append command
b、use the add command
c、use the tar command with the -a switch
d、use the tar command with the -r switch
答案 d
在vi中下列哪些命令不能用來在游標前插入文字?(選擇所有正確的)
a. p [text]
b. a [text]
c. i [text]
d. o [text]
答案 abd
關於linux下列說明哪些是正確的? (選擇所有正確的)
a. Linux 是一個開放原始碼的'作業系統.
b. Linux 是一個類 UNIX的作業系統.
c. Linux 是一個多使用者的作業系統.
d. Linux 是一個多工的作業系統.
答案 abcd
下面對Linux命令的描述哪個是正確的( )
a. 不是大小寫敏感的
b. 都是大寫的
c. 大小寫敏感
d. 都是小寫
答案 c
在vi編輯器裡,命令”dd”用來刪除當前?( )
a. 字
b. 字元
c. 變數
d. 行
答案 d
下列哪一個命令能被用來重定向管道的輸出到標準輸出和指定的檔案中? ( )
答案 c
spool檔案系統放到什麼位置( )
a、/proc
b、/spool
c、/var
d、/lpd
答案 c
下面哪個命令能去掉主引導資訊裡的內容( )
a、fdisk /mbr
b、format /mbr
c、mbr/format
d、mbr/replace
答案 a
在系統重建的時候,下面哪個引數能用來對mkfs命令檢查壞塊( )
a、-b
b、-e
c、-c
d、-check
答案 c
哪一個命令能用來查詢在檔案TESTFILE中只包含四個字元的行?( )
’????’ TESTFILE
’....’ TESTFILE
’^????$’ TESTFILE
’^....$’ TESTFILE
答案 d
哪一個命令能用來刪除當前目錄及其子目錄下名為‘core’的檔案? ( )
. -name core -exec rm ;
. -name core -exec rm {} ;
. -name core -exec rm {} -;
. -name core -exec rm {} ;
答案 b
用標準的輸出重定向(>)像”> file01”能使檔案file01的資料_____( )
a. 被複制
b. 被移動
c. 被覆蓋
d. 被列印
答案 c
按_____鍵能中止當前執行的命令。( )
a. Ctrl-D
b. Ctrl-C
c. Ctrl-B
d. Ctrl-F
答案 b