[SOLVED] please explain how i get out of this problem
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.
hi i am new at this linux system,i have been copying dvd's and now i do not have enough room in my temporary folder,but i cannot find out how to delete the folders and make space to continue,if you can help sorry but a step by step guide it will have to be,i would appreciate it very much,thanks Dave
Click here to see the post LQ members have rated as the most helpful post in this thread.
Well, for starters I'm going to assume you know how to open a "terminal" (you might have to look around for a shortcut).
Once you find the "terminal", you're going to type some "commands", okay?
The first command is this
cd /tmp
That "changes directory" (cd) to the "/tmp" directory.
Then you're going to ask the system which directories within the /tmp directory are the biggest, by typing the following command;
du -k * | sort -rn | head -n 11
That will give you the top 11 directories, sorted by size.
From there you will use a very, very, very, dangerous command (if used improperly)
rm -r directory_name
The "rm" command deletes things (rm = remove). However, this isn't Windows-land anymore, Davey, so there is NO Recycle Bin.
When you delete something via the "rm" command, it's gone. For good.
To learn more about the "cd" "du" "sort" "head" and "rm" commands, just type the following at the command line;
man command_name
On a side note, there's a few things about forums you should read up on; I have links within my "Signature" (the bottom of my post) to a few peices of documentation you may find very helpful in the near future.
Also, please keep in mind that we *love* to know when we've been helpful, and would appreciate it if you marked any helpful posts.
xeleema has pointed you in the right direction, but my first question back at you would be:
How would you have done this on your previous system? (ie if you were in MS Windows (assuming this is previous experience) how would you have done it there)
I don't see why you find it impossible to remove them, unless the files are owned by root. Open your /tmp directory, select the files, right-click, "move to trash". Note: the space won't be freed until the trash can is emptied.
Um, Xeleema, perhaps you should check your signature block. It doesn't contain any links, course my eyes might be getting old and missed something.
Quote:
On a side note, there's a few things about forums you should read up on; I have links within my "Signature" (the bottom of my post) to a few peices of documentation you may find very helpful in the near future.
Um, Xeleema, perhaps you should check your signature block. It doesn't contain any links, course my eyes might be getting old and missed something.
@tommyttt
My apologies, the text is quite small.
If you do a Ctrl-F in your browser, then search for the following (without quotes);
"posting for great justice!"
Then your browser should highlight the line that has the links.
The first link is to the Linux-specific section of Google (it's *awesome!*), and the second is to Eric S. Raymond's "How to Ask Questions The Smart Way", which although a lengthy read, gives valuable insight into how we human beings interact with one another within the faceless ether that is the Internet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.