0
votes
1answer
325 views

Ways of recovering a missing .bash_history due to a 100% full disk?

Two Putty sessions were opened to a Debian 6 Linux. Log-files led to a full disk. The bash history of the entire shell sessions is missing, and even beyond that (This may be due to a blocked ...
0
votes
0answers
22 views

Loop through folder with higher space usage in shell? [duplicate]

I would like to create an script where give me a report of which folders have the higher usage space and keep doing that until there's no folder anymore. Today I do this manually, with: sudo du -h ...
2
votes
3answers
442 views

total disk space among directories

I have this structure in my linux filesystem: /folder ...subfolder1 ......temp/ ...subfolder2 ......temp/ ...subfolder3 ......temp/ ...subfolder4 ......temp/ ...subfolder5 ......temp/ And I want to ...
1
vote
2answers
517 views

Linux: Compressing files despite low disk space

I use Linux. I coded a screenshot program some time ago and now I have 9 GIG of screenshots, 60000 JPEGs, most of them look pretty similar, and I have 300 MB of disk space remaining. What are some ...
3
votes
1answer
397 views

Check folder sizes and report combined size for identical named folders in Linux

I have 2 folders that have subfolders (named after users), most subfolders exists in both folders, but not all. Now I want to create a list of space used by each user. I can use the following command ...
0
votes
3answers
775 views

How do I find out which file type is taking up the most space?

I have a zillion little files in a complex folder hierarchy; these are taking up too much space (ie. terabytes). I'd like to find out which file type (ie., .pdf etc) is taking up all the room so that ...