home | list info | list archive | date index | thread index

Re: Directory starting with ''$'\n''

Do a directory listing in hex

On Fri, Nov 28, 2025 at 9:11 PM James via linux <linux [ at ] linux-ottawa [ dot ] org> wrote:
>
>
> Tab completion didn't work.
> I suspect there is an invisible character.
>
> On 2025-11-27 20:06, Dianne Skoll via linux wrote:
> > On Thu, 27 Nov 2025 17:46:32 -0600
> > James via linux <linux [ at ] linux-ottawa [ dot ] org> 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 linux+unsubscribe [ at ] linux-ottawa [ dot ] org
> > To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org
> > To visit the archives: https://lists.linux-ottawa.org
> >
>
>
> To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org
> To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org
> To visit the archives: https://lists.linux-ottawa.org
>


-- 
"You should sit in nature for 20 minutes a day.
 Unless you are busy, then you should sit for an hour"
         - Zen Proverb

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

message navigation