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

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

 



On 08/03/2014 09:01 AM, Angelo Moreschini wrote:
> Hi
> 
> I need to go inside a directory named <notebook-source>; 
> but I am not able to do it.
> 
> Using the command cd /.../notebook-source  

Hi Angelo,

probably: cd ~/notebook-source,
or directly: cd notebook-source???

What do you mean by "/.../"?

I guess, the leading /.../ is the culprit.

Joachim Backes


> I get the output : 
> "no such file or directory"
> -----------
> I tried to go around to the problem using the command ls :
> 
> if I use the command : 
> <ls notebook* > (using the wildchar *)
> then I get the correct output:
> "notebook-source".
> 
> but if I use the command :
> <ls notebook-source >
> then I get (again) the message 
> " no such file or directory"
> 
> Why this happen ?
> =====
> 
> Seem that the problem is connected with the use of the character "-"
>  inside the name of the directory.... ; but I didn't know the character
> "-" is forbidden to form nane of the files or directories..
> 
> What is my problem?
> It is some thing that I dont know about the rules to form name of files
> and directories ?
> 
> Regards
> thank you
> 
> Angelo
> 
> 
> 
> 


-- 

Fedora release 20 (Heisenbug)
Kernel-3.15.8-200.fc20.x86_64


Joachim Backes <joachim.backes@xxxxxxxxxxxxxx>
http://www-user.rhrk.uni-kl.de/~backes
-- 
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