Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Оберіть коректні фрагменти bash-сценаріїв:
file='something.txt'while read line; do echo $linedone < $file
file='something.txt'
while read line; do
i=0while [ $i -le 2 ]; do echo Number: $i ((i++))done
i=0
while [ $i -le 2 ]; do
echo Number: $i
((i++))
done
for (( counter=10; counter>0; counter-- ))do echo -n "$counter "done
echo -n "$counter "
for i in [1 2 3 4 5]do print "Current element: $i"done
for i in [1 2 3 4 5]
do
print "Current element: $i"
LOG_DIR=/var/logcd $LOG_DIRcat /dev/null < messagescat /dev/null < wtmpecho "Logs cleaned up."
LOG_DIR=/var/log
cd $LOG_DIR
cat /dev/null < messages
cat /dev/null < wtmp
echo "Logs cleaned up."
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!