9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
My first time on this site, please excuse me if I've come to the wrong forum. I'm fairly new to Unix/Linux and hoping you can help me out.
I'm looking for a command line that will return a list of directories that are larger than 50M and older than 2 days.
I thought it may be... (6 Replies)
Discussion started by: Wisconsingal
6 Replies
2. Emergency UNIX and Linux Support
Hi Experts,
I want to find all the dirs , subdirs on the sever which start with "sr".
Can anyone let me know command for the same.
find . -type d -name sr* I tried this but it is not working.
Thanks,
Ajay (4 Replies)
Discussion started by: ajaypatil_am
4 Replies
3. Emergency UNIX and Linux Support
df -k | grep -v dcs |grep -v Filesystem| awk -F" " '{if(substr($5,0,length($5)-1)>87)print $5" " $6}' >> sms.txt
1) Is it the correct way to list all the filesystems > 90%
2) Is there any way to print hostname in this command ? The hostname should get printed in sms.txt file only when there... (9 Replies)
Discussion started by: ajaypatil_am
9 Replies
4. Shell Programming and Scripting
I have lots of directories in ~/.
My diaries are stored in directories in ~/ containing exactly 4 digits.
How do I use the /usr/bin/find command to only search my diary directories?
So I would like my search to include ~/2009/abc/def and ~/2010/2001/33 but not ~/103/ or ~/20101/ or ~/201/... (2 Replies)
Discussion started by: siegfried
2 Replies
5. OS X (Apple)
Hi, i am asking a command to find a string in file(s) from multiple level directory structures.
help would be really appreciated. (4 Replies)
Discussion started by: ywu081006
4 Replies
6. Shell Programming and Scripting
Hey all.. This should be simple but stoopid here can't get head around it! I have many directories, say 100 each with many files inside. I need a script to traverse through the dirs, find most recent file in each dir and add it to a tar file.
I can find the files with something like
for... (1 Reply)
Discussion started by: bobdung
1 Replies
7. Shell Programming and Scripting
I have a directory which is /home/mark/files/ , inside this particular I have a bunch of filles (see examples below)
TST_SHU_00014460_20090302.txt
TST_SHU_00016047_20090302.txt
TST_SHU_00007838_20090303.txt
TST_SHU_00056485_20090303.txt
TST_SHU_00014460_20090303.txt... (2 Replies)
Discussion started by: fierusbentus
2 Replies
8. UNIX for Dummies Questions & Answers
Hey guys,
I would like to find all files which contain "client1.dat". I would like to search from the current directory and all subs and print out all the files that have this. Any help would be greatly appreciated.
Thanks much. (10 Replies)
Discussion started by: ecupirate1998
10 Replies
9. Shell Programming and Scripting
Hi all,
My goal is to find all my 'man' dirs in my sw structure and from that create a windex db. I get many new software dirs every week soo I need to rebuild the windex db very often. I've started with this:
OS: Solaris 8
#!/bin/bash
find /sw/tools -type d -name 'man*' -print
... (3 Replies)
Discussion started by: tonlu
3 Replies