Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Cкрипт (ОС Linux) містить використання змінних. Вибрати вірний варіант:
#!/bin/bashecho $1 $2 $3 ' -> echo $1 $2 $3'args=("$@")echo ${args[0]} ${args[1]} ${args[2]} ' -> args=("$@"); echo ${args[0]} ${args[1]} ${args[2]}'echo $@ ' -> echo $@'echo Number of arguments passed: $# ' -> echo Number of arguments passed: $#'
rar a -r d:\%VDATE%\%VTIME%.rar "d:\*.*"#!/bin/bashecho $1 $2 $3 ' -> echo $1 $2 $3'args=("$@")echo Number of arguments passed: $# ' -> echo Number of arguments passed: $#'done
#!/bin/bashecho 1 $2 $3 ' -> echo $1 $2 $3'echo ${args[0]} ${args(1)} ${args[2]} ' -> args=("$@"); echo $@ ' -> echo $@'echo Number of arguments passed: # ' -> echo Number of arguments passed: #'
#!/bin/bashdate = setecho $1 2 $3 ' -> echo $1 $2 $3'echo ${args[0]} ${args[1]} ${args[2]}'echo $@ ' -> echo $@'gzip -czf $OF /home/linuxconfig
#!/bin/bashOF=myhome_directory_$(date +%Y%m%d).tar.gzgzip -czf $OF /home/linuxconfigdone
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!