[LPIC-1]Scripting and Data Management 14
What output will the following command produce?
MagicLen · https://magiclen.org
本站也提供简体中文版。切换到简体中文版
分類
Linux 作業系統的安裝、設定與使用教學,包含套件管理、系統調校、伺服器架設與常見問題的解法,並收錄大量 Linux 認證考試(LPIC)的題目解析。
共 677 篇文章
What output will the following command produce?
When the command echo $$ outputs 12942, what is the meaning of 12942? A. It is the process ID of the echo command. B. It is the process ID of the current shell. C. It is the process ID of the last co...
How can the existing environment variable FOOBAR be suppressed for the execution of the script ./myscript only? A. unset -v FOOBAR;./myscript B. set -a FOOBAR="";./myscript C. env -u FOOBAR ./mys...
What is the difference between the commands test -e path and test -f path? A. They are equivalent options with the same behaviour. B. The -f option tests for a regular file. The -e option tests for a...
Which of the following files, when existing, affect the behavior of the Bash shell? (Choose TWO correct answers.) A. ~/.bashconf B. ~/.bashrc C. ~/.bashdefaults D. ~/.bash_etc E. ~/.bash_profile
Which of the following commands puts the output of the command date into the shell variable mydate? A. mydate="$(date)" B. mydate="exec date" C. mydate="$((date))" D. mydate="date" E. mydate="${date}...
After issuing: function myfunction { echo $1 $2 ; } in Bash, which output does: myfunction A B C Produce? A. A B B. A B C C. A C D. B C E. C B A
What word is missing from the following SQL statement? __________ count(*) from tablename; (Please specify the missing word using lower-case letters only.)
By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the dir...
What output will the command seq 10 produce? A. A continuous stream of numbers increasing in increments of 10 until stopped. B. The numbers 1 through 10 with one number per line. C. The numbers 0 thr...