Re: no such file or directory using "-" character

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Aug 3, 2014 at 1:41 AM, Neil Bird <lists@xxxxxxxxxx> wrote:
> Around about 03/08/14 08:01, Angelo Moreschini scribbled ...
>
>> I need to go inside a directory named <notebook-source>;
>> but I am not able to do it.
>
>
>   An addendum to Joachim's suggestion:  possibly try
>
> ls -d notebook* | od -tx1
>
>   .. to look for funny alternate characters.  Maybe the hyphen is some funky
> Unicode like an en-dash, depending upon how it was created.
>
> --
> [phoenix@fnx ~]# rm -f .signature
> [phoenix@fnx ~]# ls -l .signature
> ls: .signature: No such file or directory
> [phoenix@fnx ~]# exit
>
>
> users mailing list
> users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org

As others have suggested, you have hidden chars in the directory name.
Any of the suggestions given will help you see what those hidden chars are.

One simple method to change the name without knowing what the hidden chars are:

mv notebook* xxxxx
mv xxxxx notebook-source

Of course, assuming you "need" to keep the name as notebook-source

Now, you can
cd notebook-source

Good luck
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux