≡ Menu

pipeline

Linux dd Command Show Progress Copy Bar With Status

I'm using dd command for block level copy and just found out that there's no built in way to check the progress. How do I use the Linux or Unix dd command while coping /dev/sda to /deb/sdb and display a progress bar when data goes through a pipe?
[click to continue…]

Bash Script Replace Empty Spaces String

How do I remove all spaces from string using shell scripts? I've var="This is a test", and I'd like to remove all spaces.
[click to continue…]