[LPIC-1]GNU and Unix Commands 33
Which shell command is used to continue background execution of a suspended command? A. & B. bg C. cont D. exec E. :&
MagicLen · https://magiclen.org
本站也提供简体中文版。切换到简体中文版
標籤
LPIC-1 認證的學習筆記與題目解析,涵蓋 Linux 基本操作、系統管理、網路與安全設定。依題型說明指令的用途與各選項涉及的觀念。
共 241 篇文章
Which shell command is used to continue background execution of a suspended command? A. & B. bg C. cont D. exec E. :&
Regarding the command: nice -5 /usr/bin/prog Which of the following statements is correct? A. /usr/bin/prog is executed with a nice level of -5. B. /usr/bin/prog is executed with a nice leve...
From a Bash shell, which of the following commands directly executes the instruction from the file /usr/local/bin/runme.sh without starting a subshell? (Please select TWO answers.) A. source /usr/loc...
Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob' and writes the result to the file newletter? A. sed '/bob/Bob' letter > newletter B. sed s/bob/Bob/ let...
Which of the following commands is used to change options and positional parameters for a running Bash? A. history B. set C. bashconf D. setsh E. envsetup
Which grep command will print only the lines that do not end with a / in the file foo? A. grep '/$' foo B. grep '/#' foo C. grep -v '/$' foo D. grep -v '/#' foo
Which of the following commands displays the contents of a gzip compressed tar archive? A. gzip archive.tgz | tar xvf - B. tar ztf archive.tgz C. gzip -d archive.tgz | tar tvf - D. tar cf archive.tgz
Which Bash environment variable defines in which file the user history is stored when exiting a Bash process? (Specify ONLY the variable name.)
Which of the following files, located in the user home directory, is used to store the Bash history? A. .bash_history B. .bash_histfile C. .history D. .bashrc_history E. .history_bash
In the vi editor, how can commands such as moving the cursor or copying lines into the buffer be issued multiple times or applied to multiple rows? A. By using the command :repeat followed by the num...