Get rid of “warning: command substitution: ignored null byte in input” July 31, 2023 by Tarik If you just want to delete the null byte: model=$(tr -d '\0' < /proc/device-tree/model)