Find all files in the current directory, randomly select one of them, and rename it by adding ".bak" to the end of the filename.
find * -maxdepth 0 | sed 's/\.*//' | shuf -n 1 | xargs -I{} mv {} {}.bak