UNIX: How to change all hidden folders/files to visible in a directory
I am not sure why you would want to do this but you could do the following three commands
ls -a | grep "^\.[^\.]" | sed -e "s/\.\(.*\)$/mv \0 \1/" > mv_hiddenchmod +x mv_hidden./mv_hiddenrm mv_hidden
You might want to check that the list of command produce in the file mv_hidden looks correct by executing
less mv_hidden