why cannot format the tape ?

hi

Why cannot format the tape ?

eft_ar_format << shell script this file correct Iam sure

but cannot format the tape :mad:

Why ?

and What is mean " $? " in shell script ?

for example :

if [ $? != 0 ]
then
.
.

You win the most confused posting prize!

$? in shell is the return code of the command executed on the line above.
In UNIXspeak, 0 is success and any non-zero is an error.
So "if [ $? -ne 0 ]" means if there was an error.