This solution is specific to Linux
k=1;
While[ k<100,
k++; [email protected];
(* progress indicator *)
Run["echoRun[ "echo -n '" <>
StringRepeat["|",k] <>
StringRepeat["-", 100-k] <>
"\r'"]
]
but you might find a command line that overwrites previous outputs like echo -n ' \r'
for other systems too.