03 Feb How to replace spaces in all file names with underscore in Linux using shell script? by kayals in Linux, System AdministrationComments for f in *; do mv "$f" `echo $f | tr ' ' '_'`; done Related posts:Event Espresso Custom CSSHow to uninstall and remove Apache2 on Ubuntu or DebianExtending a logical volume in a virtual machine - ESXi