Bash Save Command Output To Variable Speed