0 votes
129 views
in Systems Programming by (0 points)
closed by
What is the output for the following script?



#! /bin/bash

x=10

y=5

str="your best Teacher is your last mistake"

echo ${str:x:y}

Select one:
a. 10, 5
b. Teach
c. Teache
d. Teacher
closed

1 Answer

0 votes
by (0 points)
 
Best answer
B

Related questions

0 votes
1 answer 138 views
0 votes
1 answer 128 views

2.8k questions

2.8k answers

0 comments

76 users

Welcome to MCQ Village Q&A, where you can ask questions and receive answers from other members of the community.
...