9 More Discussions You Might Find Interesting
If I have a number of files in a directory, for example,
and I need to find the total file size of all of the test.* files, I can use du -bc test.* in Linux.
However, in Solaris, du does not have the -c option. What can I do in Solaris to get... (11 Replies)
Discussion started by: learnix
2. UNIX for Dummies Questions & Answers
when we fire ls -lrt command we see o/p as
drwx------ 9 root root 8192 May 8 2002 lost+found
drwxr-xr-x 2 root root 512 Jun 14 2002 TT_DB
drwxrwxr-x 2 root root 512 Jul 31 2002 mail
here total no. of files is always greater than... (4 Replies)
Discussion started by: Jcpratap
On HP-UX B.11.11 U 9000/800
How can I have in aprox. the total number of files in a specific FS?
Is the number of used inodes a rough estimation of my total number of files?
Server1 /Data:df -i .
/Data (/dev/vg_Data/lvol1 ) : 18292960 total i-nodes
15800945 free... (3 Replies)
Discussion started by: drbiloukos
4. Shell Programming and Scripting
Need help regarding counting the word "friend" in files test1.txt and test2.txt. ( there is no gap/space between word )
himynameisdostandiamfriendofdostfriend... (2 Replies)
Discussion started by: forroughuse
5. UNIX for Dummies Questions & Answers
as we use du - sh *.frm
In This command It will show the list of files and size
But I want the Total size that these files in directory with extension .frm
How can we do This (6 Replies)
Discussion started by: kaushik02018
6. Shell Programming and Scripting
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Discussion started by: bigben1220
7. UNIX for Dummies Questions & Answers
I'm newbie to Unix. I'd like to count the total size of those files in my directory by date. For example, files on this period 05/01/08 - 05/31/08. If possible can we count by byte instead of kb.
if I use $ du - ks , it will add up all files in the dir.
Helen (5 Replies)
Discussion started by: helen008
8. UNIX for Dummies Questions & Answers
I am getting the list of all the files which have "aaa" from files whose name is File*_bbb*.
grep -l "aaa" File*_bbb*
But I want to count the number of files. That is I want the total number of files which have "aaa" in
If I run the following for getting number of... (1 Reply)
Discussion started by: sudheshnaiyer
9. UNIX for Dummies Questions & Answers
Ok, another fun hiccup in my UNIX learning curve. I am trying to count the number of occurrences of an IP address across multiple files named example.hits. I can extract the number of occurrences from the files individually but when you use grep -c with multiple files you get the output similar to... (5 Replies)
Discussion started by: MrAd