9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I have found another post threads talking about count duplicate lines, but I am interested in obtain the total number of duplicates. For example:
#file.txt
a1
a2
a1
a3
a1
a2
a4
a5
#out
3 (lines are duplicates)
Thank you! (12 Replies)
Discussion started by: mikloz
12 Replies
2. 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
3. Solaris
Hi,
I am trying to fetch total HDD size through command line on solaris machine:
bash-3.2# iostat -E
sd0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: VMware Product: Virtual disk Revision: 1.0 Serial No:
Size: 42.95GB <42949672448 bytes>
Media Error: 0 Device... (1 Reply)
Discussion started by: omkar.jadhav
1 Replies
4. Red Hat
Hi All,
We have got a USB HDD with important data in it. The data has been copied to the disk(formatted ext3) via a LINUX system.
The data was supposed to be copied to a second LINUX machine. Surprisingly, it doesn't show up any valid partitions in the new box.
dmesg:
usb1-3:... (2 Replies)
Discussion started by: Bikash Mishra
2 Replies
5. Linux
I have no idea if this has been done before but I have an Acer Aspire One - NG5, 512MB RAM, netbook where the SSD failed and is now FIXED DISKLESS and unable to boot until now... ;o)
It ran PCLinuxOS 2009 as its OS until the SDD failure...
The method is a little long winded and does require a... (0 Replies)
Discussion started by: wisecracker
0 Replies
6. Shell Programming and Scripting
Hi Everybody,
I have the following example file...
199|TST-GURGAON|GURGAON|1
199|TST-GURGAON|GURGAON|1
199|TST-GURGAON|GURGAON|1
199|TST-GURGAON|GURGAON|1
199|TST-GURGAON|GURGAON|1
199|TST-GURGAON|GURGAON|1
199|TST-GURGAON|GURGAON|1
199|TST-GURGAON|GURGAON|1
199|TST-GURGAON|GURGAON|1... (8 Replies)
Discussion started by: sraj142
8 Replies
7. Shell Programming and Scripting
I have a directory that contains files like
aaa-2010-05-30.txt
ddd-2010-05-30.txt
www-2010-05-30.txt
i have total 2000 files, i need to calculate total size of files for *2010-05-30.txt like
aaa-2010-05-30.txt 200MB
ddd-2010-05-30.txt 10GB
www-2010-05-30.txt 4GB
Total 14.2 GB... (5 Replies)
Discussion started by: learnbash
5 Replies
8. Shell Programming and Scripting
I have a shell script that I am pulling different zip file packages and totaling how many of each type of package is in the directory. I get a bogus total count of one in the middle of my output file (highlighted in RED) and not sure why, also would like to get a grand total of all files but not... (2 Replies)
Discussion started by: freddie999
2 Replies
9. Solaris
hi all,
in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders...
please help me, how can i find the total size of these specific files in the server... (3 Replies)
Discussion started by: abhinov
3 Replies