Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
Underscore caracter? that's not an underscore caracter. And i can't list any attributes.
# ls -al
/bin/ls: ERIEBLKB.TF: No such file or directory
total 38
drwxrwx--- 2 nobody nogroup 80 Dec 14 13:08 .
drwxrwx--- 29 nobody nogroup 39040 Apr 30 2005 ..
Where is this file, because the owner group are for nobody:nogroup.
Also, cutting and posting in between code blocks will present more accurate info.
Try auto-completion. In console, you can also highlight the name, copy it and then past it as an argument to the rm command.
Use "getfacl" to list the posix acls. Use lsattr to list special attributes such as "immutable".
If the immutable bit is set, even root can't delete a file. The "chattr" command needs to be used to clear the immutable bit first.
The permissions are set to nobody:nogroup because it's on a samba share.
Using autocomplete it completes the filename to : ERIEBLKB.T^TF
I tried pasting this to the rm command and i get:
# rm ERIEBLKB.T^TF
rm: cannot remove `ERIEBLKB.T^TF': No such file or directory
getfacl returns:
# getfacl ERIEBLKB.T^TF
getfacl: ERIEBLKB.T\024F: No such file or directory
Issuing a ls in that directory lists:
# ls -al
/bin/ls: ERIEBLKB.TF: No such file or directory
total 38
drwxrwx--- 2 nobody nogroup 80 Dec 14 13:08 .
drwxrwx--- 29 nobody nogroup 39040 Apr 30 2005 ..
And this time is't a different caracter than using autocomplete. In the terminal i see no caracter, but pasted here in opera 9.24 appears as a square.
I tried using wildcard
# rm -rf ERIEBLKB*
executes without any error message but the file isn't removed
Last edited by gabosdenes; 01-01-2008 at 07:37 PM.
List the files in the directory with the -i option to list the inodes. "ls -li"
Then use find to locate a file in the directory with that inode number; and rm the file found in the find command.
Use the inode of your file instead of 12345 in this example from the "find" info manual:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.