LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-19-2014, 10:17 PM   #16
jazzbo001
LQ Newbie
 
Registered: Aug 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
Weird files show up on Home like 352mwjLfDD


I tried to open as administrator & I got no url invalid package name exiting for all 3
so clueless how & why they showed

On code you sent do I put the file digits inside the directory brackets or do I type verbatim your code and put
 
Old 09-19-2014, 10:34 PM   #17
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,340
Blog Entries: 12

Rep: Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730Reputation: 2730
In your case, it would be

Code:
rm -r 352mwjLfDD
If it doesn't work as user, try it as root. If it doesn't work as root, something really weird is going on.
 
Old 09-19-2014, 10:39 PM   #18
jazzbo001
LQ Newbie
 
Registered: Aug 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
LQ Newbie Registered: Aug 2014 Posts: 10 Original Poster Rep: Reputation: Disabled Weird files

OK results from terminal Per

$ rm -r [directory] NBc.izA4Sf
rm: cannot remove [directory]: No such file or directory

Entering this way--no results just the flashing for what's next rm -r [NBc.izA4Sf]
 
Old 09-19-2014, 11:28 PM   #19
jazzbo001
LQ Newbie
 
Registered: Aug 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
Weird files show up on Home like 352mwjLfDD

Now terminal says cannot remove no such file or directory

Don't know what trying as root means
 
Old 09-20-2014, 12:10 AM   #20
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_10{.0|.1|.2}
Posts: 3,876
Blog Entries: 1

Rep: Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998
19 posts and still chasing ghosts...

Here is a brief history of this thread...
Code:
#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-20-2014 at 12:18 AM. Reason: typos, formatting
 
Old 09-20-2014, 12:46 AM   #21
jazzbo001
LQ Newbie
 
Registered: Aug 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
: Weird files show up on Home like 352mwjLfDD

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.
 
Old 09-20-2014, 01:25 AM   #22
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=14, FreeBSD_10{.0|.1|.2}
Posts: 3,876
Blog Entries: 1

Rep: Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998Reputation: 1998
Last things first...

Quote:
Originally Posted by jazzbo001 View Post
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 View Post
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 View Post
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 View Post
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 View Post
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 01:33 AM. Reason: typos, formatting
 
Old 09-20-2014, 04:10 AM   #23
jazzbo001
LQ Newbie
 
Registered: Aug 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
Weird files show up on Home like 352mwjLfDD Reply to Thread

Using sudo rm -r removed the other 2 files

jazzbo@jazzbo-Satellite-C855 ~ $ sudo rm -r 352mwjLfDD
[sudo] password for jazzbo:
rm: cannot remove 352mwjLfDD: No such file or directory
 
Old 09-20-2014, 04:35 AM   #24
jazzbo001
LQ Newbie
 
Registered: Aug 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
weird files show up on home like 352mwjLDD

trash:///3SzmwJLfDD

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 ~ $
 
Old 09-20-2014, 07:11 AM   #25
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
Quote:
Originally Posted by jazzbo001 View Post
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.
 
Old 09-20-2014, 09:57 AM   #26
JeremyBoden
Member
 
Registered: Nov 2011
Posts: 938

Rep: Reputation: 174Reputation: 174
If you have 450,000 trash files to delete, why not just delete them?
What's holding you back?
 
Old 09-20-2014, 11:53 AM   #27
jazzbo001
LQ Newbie
 
Registered: Aug 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
Weird files show up on Home like 352mwjLfDD

I don't that's the point!

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
 
Old 09-20-2014, 12:31 PM   #28
jazzbo001
LQ Newbie
 
Registered: Aug 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
Weird files show up on Home like 352mwjLfDD

Trash finally decided to work trying delete permanently rather than empty trash button

So, 1 mystery iten left with 770,355 files. Personally, I think mention of exorcism did the trick.

Were all present a round of Guinness and a shot of Jameson for all in the house on me.

To Frank Bell as many shots as ye'd like
 
Old 09-20-2014, 01:06 PM   #29
JeremyBoden
Member
 
Registered: Nov 2011
Posts: 938

Rep: Reputation: 174Reputation: 174
Your problem is caused by Bleachbit.

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.
 
Old 09-20-2014, 01:19 PM   #30
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,162

Rep: Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223Reputation: 1223
I'd endorse that last post. Bleachbit is both unnecessary and risky. I'd never install or use it, and I'm not alone in that view:
http://www.dedoimedo.com/computers/linux-cleaning.html
http://lwn.net/Articles/313679/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
df and due commands show differences and lsof does not show deleted files devUnix Linux - Server 7 07-17-2014 04:45 PM
weird home mount :( hilou Linux - Server 6 07-01-2013 10:32 PM
Downloaded files do not show in /home as usually borgibo Linux - Newbie 5 03-15-2009 01:46 PM
df does not show my home partition xri Zenwalk 10 09-29-2007 10:09 PM
Weird Problem with HLDS. Some IPs show, some don't. maidenseye Linux - Software 1 08-31-2005 10:13 AM


All times are GMT -5. The time now is 02:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration