Question: I made a side bar in my website but I realized in wasn't responsive and I didn't know how to make it responsive. Can any body tell me how to make a responsive side bar like the one in YouTube.

Answer: 
With `pv`:

```
pv "$FILE_NAME" | awk '{print $1}' | sort -T /diskXX --parallel="$PARALLEL" | uniq | wc -l

```

or from stdin with size in gigabyte:

```
pv -s 60g <"$FILE_NAME" | awk '{print $1}' | sort -T /diskXX --parallel="$PARALLEL" | uniq | wc -l

```

From `man pv`:

> 
> pv shows the progress of data through a pipeline by giving information such as time elapsed, percentage completed (with progress bar), current
>  throughput rate, total data transferred, and ETA
> 
> 
>
One option is to implement your own progress visualization function, by printing a status (or progress bar) in the same line (i.e. overwriting the previous content of the line).

For example you can use "echo -n" in a loop to always print the assumed runtime percentage of a background process (10%, 20%, 30%).

Edit:  

You might find this [question and collection of answers](https://stackoverflow.com/questions/238073/how-tot-add-a-progress-bar-to-a-shell-scrip) helpful.