BEGINNERS EXERCISE :

What are the outputs of the following commands :

name="LinuxExercise"

A. echo ${name}

B. echo ${name/J/j}

C. echo ${name:0:2}

D. echo ${name::2}

E. echo ${name::-1}

F. echo ${name:(-1)}

G. echo ${name:(-2):1}

H. echo ${food:-Cake}