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:26 AM, Joachim Backes wrote:
> 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  
>> 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".
> 
> Probably, "notebook-source" contains ome or more space chars at the end,
> and you do not see then.

Sorry, I meant:

Try this: ls -d notebook* >x and then check the file "x" for space chars,
or use the tr command: ls -d notebook*|tr " " "<some no space char>"


Joachim Backes

-- 

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