How to Add a Simple Progress Bar in Shell Script

Posted by bob on Oct 26, 2020 8:22 PM EDT
Linux Journal; By Nawaz Abbasi
Mail this story
Print this story

At times, we need to write shell scripts that are interactive and user executing them need to monitor the progress. For such requirements, we can implement a simple progress bar that gives an idea about how much task has been completed by the script or how much the script has executed. To implement it, we only need to use the “echo” command with the following options and a backslash-escaped character.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Community, Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.