Hard
In the following script:
function name
{
shift 1
counter=1
while true
do
echo "$counter"
((counter++))
if [ $counter = $1 ]
then
break;
fi
done
}
name $1 $2 $3
What should be run to get an enumeration of the digits 1-11?
Author: titouan lecampStatus: PublishedQuestion passed 242 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
1
What does the shell prompt `user@user:~$` mean?1
Find the default shell for a user in Bash1
Find all rows containing patterns 1 and 2 in a file using Bash1
Display lines 4 to 12 of a file in Bash2
Display lines containing 'Error' in all .txt files1
How to count the number of lines in a file in Bash1
Which line deletes all files in a directory? (visible and hidden files)