[LPIC-1]GNU and Unix Commands 28
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
MagicLen · https://magiclen.org
本站也提供繁體中文版。切換到繁體中文版
标签
Linux Professional Institute Certification (LPIC).
共 576 篇文章
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...
What does the ? symbol within regular expressions represent? A. Match the preceding qualifier one or more times. B. Match the preceding qualifier zero or more times. C. Match the preceding qualifier ...
What is the effect of the egrep command when the -v option is used? A. It enables color to highlight matching parts. B. It only outputs non-matching lines. C. It shows the command's version informati...
Which of the following commands moves and resumes in the background the last stopped shell job? A. run B. bg C. fg D. back
Which command displays a list of all background tasks running in the current shell? (Specify ONLY the command without any path or parameters.)
What is the difference between the i and a commands of the vi editor? A. i (interactive) requires the user to explicitly switch between vi modes whereas a (automatic) switches modes automatically. B....