10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have been searching both on Unix.com and Google and have not been able to find the answer to my question. I think it is partly because I can't come up with the right search terms.
Recently, my virtual server switched storage devices and I think the problem may be related to that change.... (2 Replies)
Discussion started by: jmgibby
2 Replies
2. Shell Programming and Scripting
To find the whole size of a particular directory i use "du -sk /dirname".. but after finding the direcory's size how do i make conditions like if the size of the dir is more than 1 GB i hav to delete some of the files inside the dir (0 Replies)
Discussion started by: shaal89
0 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have directories with name like:
aaa
bbb
ccc
...
I would like to to see which directories are the largest and then list the files within each. I have success using:
du -ks * | sort -rin | head -n 20
which gives me an output like:
120 bbb
27 ccc
3 aaa
...
I would like... (3 Replies)
Discussion started by: ChatPerdu
3 Replies
4. Shell Programming and Scripting
Hello,
I want to compress any given file or directory. I used
1)gzip
2)zip
But when I do "ls -l". I found that the zipped file is in fact greater in size than the original file.
Can you please tell me the commands which will show me the difference in its size. (2 Replies)
Discussion started by: nsharath
2 Replies
5. HP-UX
I'm new to HP-UX and am looking for the command that will allow to me determine the total size of listed files. I'm being told that my backup selection is exceeding my tape drive size and need to determine how much information is being backed up.
Help? (3 Replies)
Discussion started by: rgordon
3 Replies
6. UNIX for Dummies Questions & Answers
Hi,
'ls -ld' is no use ....
I want to get the total size of a directory.
Any advice?
Thanks in advance! (4 Replies)
Discussion started by: GCTEII
4 Replies
7. Shell Programming and Scripting
Hi,
'ls -ld' is no use ....
I want to get the total size of a directory including subdir.
Any advice?
Thanks in advance (2 Replies)
Discussion started by: GCTEII
2 Replies
8. Programming
Hi
i need C code to list direcoty without using ls command and it sould take the path of the directory from the user?
"please help me it is so important" (3 Replies)
Discussion started by: ashamry
3 Replies
9. UNIX for Advanced & Expert Users
Hi,
*.xml files stored on date wise folders. I need to extract *.xml files from all the folders. File size is lessthan or equal to 2K. Please let me know command or some shell program to due this job on linux m/c
This is urgent,
Thanks in advance
- Bache Gowda (3 Replies)
Discussion started by: bache_gowda
3 Replies
10. UNIX for Dummies Questions & Answers
How do I list files of type "*.file" for example by size order recursively ? (2 Replies)
Discussion started by: ferretman
2 Replies