Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
in error the directory filename has " \ " character and i ca not open it, somebody can help me either to rename de directory or delete it, i tried to delete i and rename, but it is no possible
itcam /itm/media =>rm \itm\media\
>
rm: itmmedia: A file or directory in the path name does not exist.
itcam /itm/media =>rm -i \itm\media\
> s
rm: itmmedias: A file or directory in the path name does not exist.
itcam /itm/media =>
just escape the character with a "\" or better still, use bash tab completion and it'll do it all for you...
i´m sorry i forgot the question is about UNIX,also tab does not function on unix systems, i red that is not easy to work with filenames with special characters such as " \ ", any idea to solve this ?
---------- Post added 2011-06-08 at 07:39 ----------
Code:
rmdir \\itm\\media
Evo2.
thanks Evo2, i could change the file name to a *.tar file but when i tried to tar xvf *.tar command was an error, whatever thanks for the post, i just want to know how is it the double \ works...
i could change the file name to a *.tar file but when i tried to tar xvf *.tar command was an error, whatever thanks for the post, i just want to know how is it the double \ works...
Previous posts explained it.
"\" escapes special characters. This makes it special so you need to escape it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.