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.
I'm using grip to rip and encode some cds. I created a default path with a wrong directory name. Grip created a directory under that name. I removed the directory using the rm -fr command. However, when i use ls the command, it still displays that directory. When I try to navigate into the directory, i get the following error: "No Such File Or Directory". Does anybody know how I can wipe this off my hard drive so the ls command doesn't display this directory? Any help would be greatly appreciated.
i tried to rm -r the directory as it errored 'No such file or directory'. I even tried find / -name 'music' but it couldn't find the file. I don't think the directory exists. However, when i use the ls command, it pops up. I did a restart thinking it was just caught in memory, but it still shows up. Any other suggestions. Greatly appreciated.
Open up a file manager, either Nautilus or Konqueror, and browse to the directory. Select 'View' in your toolbar in Konqueror and check Show Hidden
Files or in Nautilus click 'Edit'>Preferences>Icon & List---Show Options...check the box to show hidden files. Check to see if it is visible
in the browser. If it is, right click and select 'Move to Trash' or 'Delete'.
Is the directory empty? If so you can use this command:
man rmdir for options to pass to the command (I can't remember them all). However, if the directory is not empty, it will bitch at you so you'll have to pass a command like
--ignore-on-non-empty
or something like that. I just did this last night and had to read the man page for it, but I can't remember the exact wording of the "--ignore..." option. Hope this helps.
Thanks for the help. I so used to using the konsole to type in commands. I forgot I could use konquer. I saw it there and moved it to the trash. That worked! Thanks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.