LinuxQuestions.org
Help answer threads with 0 replies.
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 12-30-2008, 07:19 PM   #16
patsyking
Member
 
Registered: Dec 2008
Posts: 35

Original Poster
Rep: Reputation: 15

Memory cache device

Number of entries: 726
Maximum storage size: 13312 KiB
Storage in use: 12369 KiB
Inactive storage: 5153 KiB

List Cache Entries
Disk cache device

Number of entries: 996
Maximum storage size: 50000 KiB
Storage in use: 5590 KiB
Cache Directory: /home/user/.mozilla/firefox/b25qvsrl.default/Cache

List Cache Entries

Hope I,ve done it right
Thanks
Patsy
 
Old 12-30-2008, 07:48 PM   #17
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,873

Rep: Reputation: 434Reputation: 434Reputation: 434Reputation: 434Reputation: 434
You did it correctly. This is where the cache files are-->
Quote:
/home/user/.mozilla/firefox/b25qvsrl.default/Cache
The user name in this case is 'user'. When you did this, you were using about 10% of the maximum amount Firefox is set for. The memory cache would be lost when you shutdown.

If we have any chance of fixing this, we need to find a command prompt. The we could find out what the permissions on the cache directory are. This trimmed down linux is not so easy to deal with.

Here is what permission and ownership is on my Cache directory.

Quote:
~/.mozilla/firefox/8jwlcdva.default ls -ld Cache
drwxr-xr-x 2 cliff cliff 4096 2008-07-04 11:10 Cache/
The command I used was ls -ld. This lists, long, directory information. The owner is cliff and group is cliff. The string of characters;
Quote:
drwxr-xr-x
tell us, this is a directory ( as opposed to a file ) User can read, write and execute files, anyone in the group cliff can read, and execute ( not write ) and any other user can read and execute.

What I suspect, your user may not have write permission at all. You need write to delete files.

So, we need to find a command prompt to find out. I will do some more looking around. Possibly someone else will chime in with either a fix, or information on how to get a command prompt on this distro.
 
Old 12-30-2008, 07:52 PM   #18
patsyking
Member
 
Registered: Dec 2008
Posts: 35

Original Poster
Rep: Reputation: 15
Ok, thanks Cliff.
 
Old 12-31-2008, 06:38 AM   #19
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,873

Rep: Reputation: 434Reputation: 434Reputation: 434Reputation: 434Reputation: 434
To get a command prompt, here is what I could find.

Quote:
Open the terminal by pressing Alt-F2 and typing "terminal"...
That should open up a command prompt so we can look at permissions and ownership.

It seems there is a lot of other things you can do also. I found one description of how to get a standard Xfce desdtop. Xfce is one of many desktop managers you can run on linux. It does require some editing of files. I will leave that up to you, if and when you want to do something like that. It is just nice to know you can. If you are interested, the instructions are here-->http://www.aspireoneuser.com/forum/v...hp?f=39&t=4310

This forum has a lot of useful information on the Acer Aspire, and Linpus Linux Lite.

Let me knoe if you can get the terminal to open.
 
Old 12-31-2008, 04:44 PM   #20
patsyking
Member
 
Registered: Dec 2008
Posts: 35

Original Poster
Rep: Reputation: 15
Yes I got a box up after writing in terminal. It said run or cancel. There was a little box to put a tick in too, do I need to put the tick in? What happens after I hit the run button,does it bring up a list and do I just hit escape to exit when I'm done?

I might not be able to reply to you again today as I might not be back on here again with it being New Years Eve,socialising with the neighbours etc.
 
Old 12-31-2008, 08:29 PM   #21
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,873

Rep: Reputation: 434Reputation: 434Reputation: 434Reputation: 434Reputation: 434
Quote:
Yes I got a box up after writing in terminal.
Good. A terminal is a way of communicating with with the operating system. From here we can issue commands, determine things like permissions, and even clear the cache, if you want to. It is quite powerful.

Basically, it is an interactive process. It will sit there and do nothing until we type a command. It will execute the command, and display results.

Happy New Year! Enjoy it with friends and neighbours. I'll give this some though, and put some more information here for you.
 
Old 01-01-2009, 07:40 AM   #22
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,873

Rep: Reputation: 434Reputation: 434Reputation: 434Reputation: 434Reputation: 434
When you have a few minutes, I would suggest you read through my thoughts, on how to delete the cache files manually first, then try to follow the guide. I know you have little experience with command line. It is not to be feared, but over time understood. O.K. here we go.

First, open a terminal, as you did before. You should see a command prompt. Since there are no passwords on a Limpus Lite system, there will be no request to enter a password. If at any time you want to close the terminal, type the word 'exit' and press the enter key. I'm going to show you the commands between single quotes. You do not enter the quotes, just the letters between. Note also, linux is case sensitive, so Exit is not the same as EXIT or exit. Watch the case. Most often most things are lower case only. Some file names, or directory names are case mixed. So, if something doesn't work as you expect, look carefully at what you have typed.

The command prompt will open as a regular user. On your system, the name is 'user'. Usually terminals will open in the users home directory. In linux this is displayed as '/home/user $'

Note the $ sign. This is a visual indication you are a user, not the root user. Root has special privileges, we will need later.

Where are we? You can find out at any time by typing the command 'pwd' (present working directory) and press enter. The system will return the current path from the root file system. Try it, it should show '/home/user' If you are not where you want to be, you change directory locations with the 'cd' command. ( change directory ). So lets say we want to go to the root of the file system. You would type 'cd /' and press enter. 'pwd' would then return '/'

What this tells us is, our home directory is one level up from root, and is shown as '/home'. To get back to our /home/user, you can do it in one step, ( or two steps ). One step would be 'cd /home/user' Two steps would be 'cd /home' and then 'cd user'. Note, the second time I did not use the '/' character. This is because when I do, I'm telling the system "from root directory" and when in home directory this is not the root, I just want to go one level in to 'user'.

This is basic navigation. Try it, with these commands you can do no harm, and 'exit' at any time will get the terminal closed.

Quote:
/home/user/.mozilla/firefox/b25qvsrl.default/Cache
This is the directory structure for your cache. Some interesting things to note. First of all, the directory '.mozilla' is a hidden directory in your '/home/user Linux uses the '.' just before the name as an indication to not show the directory to the user. To show files and directories, us the 'ls' command ( list command ). So, in your home directory type 'ls' and enter. You may see several things, files and directories. They are names. Depending on the Terminal and its configuration, colour may be used to show different file types, regular files with data, directories, hidden directories etc. I have never used Limpus, so I can not tell you if colour is used or not. Now, if you do the 'ls' command in your /home/user directory, the .mozilla folder will not show up. To make is show up, we modify the command with a -a (all). The command will now look like this, 'ls -a' press enter. The listing you get will now show all things, even if they have the hidden attribute.

O.K. Now for some information I want to know. I want to know who owns the Cache, and what the permissions are. We can find out with one command.

Type 'ls -ld /home/user/.mozilla/firefox/b25qvsrl.default/Cache' and press enter. Back on post 17 I showed you what the cache directories permissions and owner were for my system.

Run this command, cut and paste the results to this thread. In a terminal, you can mark any text you want. Take the mouse pointer, hold down the left mouse button, drag the text to copy. It should highlight. Once highlighted, let go of the mouse, and use the keyboard combination of ctrl + c key. That will copy the text to the clipboard. It will stay there, until you do another copy. Navigate to firefox, this thread and in the posting area, a ctrl + v will paste the data you copied. It is beat if you use the formatting icons at the top, right most icon clicked once will enter the quotes syntax. Put the cursor in the middle, and paste. That is it.

If you want to manually delete the files in Cache, you will have to navigate to the directory. Since it is a long string of cryptic directory names, try the cut and paste method. If you can not get that to work, from home keep doing 'cd next directory' until you get to Cache.

Check your progress with 'pwd' It will tell you where you are. Once you get there, use the 'ls' command to show the files. Here is a sample of my cache...

Quote:
~/.mozilla/firefox/0mmso04v.Cliff/Cache ls
06298C58d01 59B9E777d01 BA451095d01 C11C3B29d01 _CACHE_MAP_
0F6C81B7d01 5D9448EAd01 BD05D41Ed01 C23F6C00d01 CC62D805d0
I did a cut and paste here, and showed the directory structure, and the command.

Ok. to remove a file, use the 'rm' command ( remove, delete command ). To remove the last file, I would tyoe 'rm CC62D805d0' enter. The file will delete if I have the authority ( permission ) to do so. If I want to know the permission of that file first, the do a 'ls -l CC62D805d0' first. It will tell you the owner and read, write, execute information. Here is what a file on my system looks like with a ls -l command.

Quote:
ls -l CC62D805d01
-rw------- 1 cliff cliff 38089 2009-01-01 07:00 CC62D805d01
My user is the owner, and group. Note the '-rw-------' There are 10 pieces of information. The first indicates the special type of file. A 'd' would appear if is a directory. a '-' appears for a regular file. The rw indicates the owner can read and write to the file. This is a data file, and as such has no execute attribute. Only a program or a script file would have an 'x'. The next three positions are for group 'rwx' and the last 3 are for other users. All are ---, so neither a group member or other user can read write or execute any of these files.

This means just user cliff and user root can erase this file.

Now I know this is cryptic, and very time consuming. You are just learning, I'm trying to include the most basic information. Once you have it, you will steam through this in seconds. It does take some time to learn. It is the same on all linux and unix systems.

O.K. so you want to speed things up. To delete all the files in this directory at once, use the command 'rm *' and press enter. Be careful here, make sure you are in the Cache directory first. 'pwd' The system will ask you to confirm a delete. You have to type 'y' or 'yes' before it will delete the file or files.

I'm going to stop here, and wait for your response. I want to see the permissions of the cache directory. You may find you can not delete the files. That is O.K. for now. Once I see those permissions, I can help you change things so you can delete them from the application, and I showed you earlier in this thread.

Good luck, post any questions, concerns you may have.

Last edited by camorri; 01-01-2009 at 08:25 AM. Reason: Adding information.
 
Old 01-04-2009, 06:09 AM   #23
patsyking
Member
 
Registered: Dec 2008
Posts: 35

Original Poster
Rep: Reputation: 15
Sorry for the delay in replying.
All I can find out is this in the terminal. [user@localhost~]$. It just comes up in a window. There is nowhere for me to type anything in the window. I typed it into the box for the terminal and it said " failed to execute child process "[user@localhost~]. No such file in directory.

I tried the one for the cache too but a black box flashed up and disappeared. I put about:cache in address bar as I did before and now I have got twice as many entries in the storage space in the cache to what I had before.

Last edited by patsyking; 01-04-2009 at 06:21 AM.
 
Old 01-04-2009, 06:50 AM   #24
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,873

Rep: Reputation: 434Reputation: 434Reputation: 434Reputation: 434Reputation: 434
My post # 19 has a link, it shows you how to log into a terminal, the instructions are:

press Alt + f2 and type terminal

I can not confirm this works on your system. It appeared to me, in your post #20 that had worked. If yes, you can proceed, if not, we're back to square one, trying to figure out how to talk to your system. Let me know if you can get a command prompt with this method, or not.
 
Old 01-04-2009, 07:30 AM   #25
patsyking
Member
 
Registered: Dec 2008
Posts: 35

Original Poster
Rep: Reputation: 15
Yes I can get a command prompt box up. What exactly do I type in it to find out about who owns the cache? Everytime I tried I just got a black flash of a box and then nothing.
 
Old 01-04-2009, 09:42 AM   #26
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,873

Rep: Reputation: 434Reputation: 434Reputation: 434Reputation: 434Reputation: 434
As I said in post 24, we are back to square 1. I command prompt will not disappear. Our best bet now is to post on aspireone to see if someone there can tell us how to get a command prompt. I don't have one of these things to try. I'll post there and see what I can find out.

Here is a link to the post.

http://www.aspireoneuser.com/forum/v...hp?f=67&t=9237

Last edited by camorri; 01-04-2009 at 09:54 AM. Reason: added info
 
Old 01-04-2009, 12:15 PM   #27
patsyking
Member
 
Registered: Dec 2008
Posts: 35

Original Poster
Rep: Reputation: 15
ooooh, I think I've done it. Here is what it says this time.Memory cache device

Number of entries: 0
Maximum storage size: 13312 KiB
Storage in use: 4194301 KiB
Inactive storage: 0 KiB

List Cache Entries
Disk cache device

Number of entries: 0
Maximum storage size: 50000 KiB
Storage in use: 0 KiB
Cache Directory: /home/user/.mozilla/firefox/b25qvsrl.default/Cache

List Cache Entries

I hope I,ve done it. Have I? Looks like it to me. Did you say I,ve no need to worry about the memory cache as that will take care of itself when I close Firefox?
 
Old 01-04-2009, 01:42 PM   #28
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,743

Rep: Reputation: 196Reputation: 196
Back It Up

If you follow the recommenced procedure of making back up copies of your content files, something else to find out about if you don't know how, any mistakes or unwanted changes you might make on your system are repairable.

Linux is built in modules and its appearance can be readily changed, so what and where the graphic link to a particular application is may vary. I may be wrong about such a minimal desktop, but somewhere on your list of applications there should be a way to open a terminal. Otherwise, you can make many changes as you like, linux just requires a little experience. Have fun and Welcome.
 
Old 01-04-2009, 04:17 PM   #29
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,873

Rep: Reputation: 434Reputation: 434Reputation: 434Reputation: 434Reputation: 434
Quote:
Number of entries: 0
Maximum storage size: 50000 KiB
Storage in use: 0 KiB
Cache Directory: /home/user/.mozilla/firefox/b25qvsrl.default/Cache
That is as empty as it will ever get. Good stuff. How did you do it?

Quote:
Did you say I,ve no need to worry about the memory cache as that will take care of itself when I close Firefox?
Yes, that is what I said. No need to concern yourself with memory cache.
 
Old 01-04-2009, 07:02 PM   #30
patsyking
Member
 
Registered: Dec 2008
Posts: 35

Original Poster
Rep: Reputation: 15
I went into Edit in Firefox and then to preferences and then the Advanced tab and in there it says 50MB for storage for the Cache and there was a button saying Clear Now. I clicked the button and then did the 'about:cache' and checked and that was what I found,cleared. It was just a longer way of doing the same thing as the proper button should do for delete My Private Data under the Tools button. I still have to delete my search history one by one though instead of doing it through the same button.

I'd like to say a big Thank You Cliff as you have gone to a lot of trouble tohelp me out. Thank you very very much.
Patsy.
 
  


Reply

Tags
cache, command, firefox, lite, prompt


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
how do i delete history on OpenSUSE 10.3 mithos Linux - General 1 06-17-2008 07:04 PM
how does dealloction with delete work? Corneflex Programming 6 05-17-2004 05:00 PM
delete konqueror history ? qwijibow Linux - Newbie 1 08-22-2003 04:18 PM
Does delete work? oldpawn LQ Suggestions & Feedback 1 10-27-2001 02:34 AM
delete doesn't work phek LQ Suggestions & Feedback 4 09-25-2001 01:06 PM


All times are GMT -5. The time now is 12:29 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration