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

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

 



On Sun, 3 Aug 2014 12:03:35 +0300
Angelo Moreschini <mrangelo.fedora@xxxxxxxxx> wrote:

> On 08/03/2014 09:01 AM, Angelo Moreschini wrote:
> > Hi
> >
> > I need to go inside a directory named <notebook-source>;

you have to use backslash to do escaping
cd notebook\-source

but may be you have some extra blank char after source
try to use tab completation + backslash

i have tried and here u do not need any \ before dash, but using it it owrks
either

~ # mkdir  abc-abc
~ # cd abc-abc/
~/abc-abc # cd ..
~ # cd abc\-abc/
~/abc-abc # 

but you have many strange chars
this is notebook-source
mkdir notebook-source
ls -d note* | od -tx1
0000000 6e 6f 74 65 62 6f 6f 6b 2d 73 6f 75 72 63 65 0a
0000020


6e 6f 74 65 62 6f 6f 6b 2d 73 6f 75 72 63 65 0a
n   o  t    e  b   o  o  k   -    s  o   u  r   c   e   

0a is linefeed

notebook-source are 0x0f (16) chars
you have 22 chars, instead

-m

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-- 
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