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.
#2 unSpawn asked for you to post the output of simple commands
#4 pan64 explained what unSpawn meant
#6 frankbell asked if you entered a very simple command, and
explained again how
#8 pan64 again explicitly gave a simple command and asked you to
post the result
#10 I gave examples of what the output looks like asked again
for the results or a suggested alternative
#13 DavidMcCann suggested that you do it as root, for which you
posted the directory error
#15 frankbell gave you rm -r, you said you could not open as
administrator, confused on syntax
#16 frankbell gave explicitly the command again, you said did
not know what root meant, did not execute it as it was given
... and to this point you have NEVER yet executed the clear commands given nor once posted back the output! Frankly, it is almost as if you are avoiding performing any asked function, and are not consistent in the replies that you have given.
For example, in reply to DavidMcCann you said it gave an "unable to delete directory" error when run as root, but later in response to frankbell you said that you did not know what root was...
It is not my intent to be unkind or grill you for your responses, but the truth is that this is an absolutely trivial task that can be resolved instantly if you will only perform the requested actions and copy/paste the results back to those trying to help you! And until you do that you are wasting their time and yours...
These are files, not ghosts. They have locations on disk, access permissions and owners and are subject to all the normal filesystem operations available in a Linux system. Quit blowing smoke and help those trying to help you, please.
Last edited by astrogeek; 09-19-2014 at 11:18 PM.
Reason: typos, formatting
At present-rm -r 352mwjLfDD per Frank didn't work terminal said cannot remove not a valid file or directory
I presume sudo means root so I used sudo rm -r followed by the above and when I went to close out terminal it said a process was still going on---since that was half an hour ago must be some process for previously saying not a valid file or directory
unspawn stat
file
I reported that terminal said it couldn't stat
Am I too presume posting results is some thing different than replying with the results in this thread
The terminal has said both that it cannot remove because it's a directory and now it says there is no such file or directory
Since you are the experts, one would think 1 damn straight answer from the gitgo would suffice not try this try that Cheers.
Since you are the experts, one would think 1 damn straight answer from the gitgo would suffice not try this try that Cheers.
No, we're just users trying to help other users when possible. And one straight answer is what we are still waiting for... and still haven't gotten...
I do not want to get into a deck washing contest, and it was not my intention to offend. So still trying to be helpful, let's try this again.
Quote:
Originally Posted by jazzbo001
At present-rm -r 352mwjLfDD per Frank didn't work terminal said cannot remove not a valid file or directory
But that is not what is meant by "post the result here" - it is not helpful in most cases for you to say "it didn't work", we need to see the actual command given and the message that resulted - copy/pasted here, preferably inside CODE tags, like this:
Code:
[user@host:~/]# rm -r 352mwjLfDD
rm: cannot remove ‘352mwjLfDD’: No such file or directory
That way we know the user, the path, the command, the context... and if anything truly "weird" is going on we can see that clearly! We are neither experts nor psychics!
Quote:
Originally Posted by jazzbo001
I presume sudo means root so I used sudo rm -r followed by the above and when I went to close out terminal it said a process was still going on---since that was half an hour ago must be some process for previously saying not a valid file or directory
Well, you may presume, but see the above paragraph...
If we were sitting there at your screen we might be curious enough to find out what that process is and why it is still running! That is a big clue!
Quote:
Originally Posted by jazzbo001
unspawn stat
file
I reported that terminal said it couldn't stat
See above paragraph again... if you will actually post the command line and messages from those (using one of these phantom filenames) we can see what is happening.
Your system either has a stat command or it is badly broken, so please do the following and post the output of each:
Code:
which stat (this will tell us whether there is a stat command)
stat [insert name of one of those files here]
file [insert name of one of those files here]
ls -l (just copy the lines relevant to the files of interest)
All of which have been asked before - but when we can actually see the results we can intelligently decide what straight answer to give, or what to do next.
Quote:
Originally Posted by jazzbo001
Am I too presume posting results is some thing different than replying with the results in this thread
The terminal has said both that it cannot remove because it's a directory and now it says there is no such file or directory
See above...
Last edited by astrogeek; 09-20-2014 at 12:33 AM.
Reason: typos, formatting
This is in terminal as I tried multiple combinations of above to get the letters correct
copy and paste from trash elicited the above but looking at trash it looks more like a small j as this j I just typed not the J here
Also in trash it looks like 3 5 not the copy and paste from trash above
So, current terminal jazzbo@jazzbo-Satellite-C855 ~ $ sudo rm -r 352mwjLfDD
[sudo] password for jazzbo:
rm: cannot remove ‘352mwjLfDD’: No such file or directory
jazzbo@jazzbo-Satellite-C855 ~ $ which stat
/usr/bin/stat
jazzbo@jazzbo-Satellite-C855 ~ $ file 352mwjLfDD
352mwjLfDD: ERROR: cannot open `352mwjLfDD' (No such file or directory)
jazzbo@jazzbo-Satellite-C855 ~ $ file 3s2mwjLfDD
3s2mwjLfDD: ERROR: cannot open `3s2mwjLfDD' (No such file or directory)
jazzbo@jazzbo-Satellite-C855 ~ $ file 3SzmwjLfDD
3SzmwjLfDD: ERROR: cannot open `3SzmwjLfDD' (No such file or directory)
jazzbo@jazzbo-Satellite-C855 ~ $ file 3SzmwJLfDD
3SzmwJLfDD: ERROR: cannot open `3SzmwJLfDD' (No such file or directory)
jazzbo@jazzbo-Satellite-C855 ~ $
one would think 1 damn straight answer from the gitgo would suffice not try this try that
Yes it should. That is, if we would be talking to somebody who does not (inadvertently or not) alter conditions after asking a question.
Note temporary files may occur for various benign reasons, mostly application-specific operations. While such temporary files or directories should ideally be located in /tmp or ~/tmp some applications are not that well-behaved. Until you stop using Bleach Bit or anything else that changes things while you investigate the only thing you'll be doing is trying your and our patience.
Also note emptying a Trashcan should best be done using the Desktop Environment you use: via your desktop trashcan icon, your file manager trashcan icon, etc, etc. So stop chasing it the wrong way.
I have 1 mystery file that showed up and trash won't empty on it's own anyway.
Bleach bit stalls at trash and stops working on mutiple occasions.
Emptying trash from desktop starts the file operations process and then just quits.
Finally, would you delete 450k files that you never sent to trash to begin with much less not even knowing
what they are.
Terminal results have said this is a directory and most recently not a valid file or directory
The only thing I know precisely is 3 mystery whatevers showed up under Home--2 are now removed and the third I know not whereof
at the moment. Perhaps there's a ghost in the machine and a good old-fashioned exorcism would be in order
It claims to clean unwanted temporary files.
Most Linux distros will clear your /tmp directory at bootup time.
So your use of Bleachbit has preserved loads of unwanted files!
If you have a Ubuntu or similar, the wastebasket it is stored as a directory (called Trash or similar) in ~/.local/share/
To empty your wastebasket, just delete this Trash directory - it gets automatically recreated when its next needed.
However, it is much easier to empty the watebasket via your GUI.
This takes a long time if you have zillions of files to remove.
Linux is not Windows, so stop running special "cleanup" programs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.