echo $(shuf -n 1 <(printf '%s\n' $(ls -R /usr/bin | sed -n 's/:$//p; /\./p;'))) | sed 's/ /\\ /g'

echo $(shuf -n 1 <(printf '%s\n' $(ls -R /usr/bin | sed -n 's/:$//p; /\./p;'))) | sed 's/ /\\ /g'

Print a random file name from the /usr/bin directory and escape any spaces in the file name.
echo $(shuf -n 1 <(printf '%s\n' $(ls -R /usr/bin | sed -n 's/:$//p; /\./p;'))) | sed 's/ /\\ /g'