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.
Try this: ls notebook* >x and then check the file "x" for space chars,
or use the tr command: ls notebook*|tr " " "<some no space
char>"
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(a)rhrk.uni-kl.de>
http://www-user.rhrk.uni-kl.de/~backes