On Thu, 27 Nov 2025 17:46:32 -0600
James via linux <[email protected]> wrote:

> I need a command line way to rename a directory starting with
> ''$'\n''?

If you're using bash, tab completion can help out.  Start typing the
"mv" command and then a backslash and the first character of the
directory:

        mv \' <TAB>

Keep adding backslashes and characters until the tab completion
completes the whole name.  It should add escapes so the shell doesn't
mangle the filename.  Then type a space and the new name and you should
be good to go.

Regards,

Dianne.

To unsubscribe send a blank message to [email protected]
To get help send a blank message to [email protected]
To visit the archives: https://lists.linux-ottawa.org

Reply via email to