10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have a log file that contains 4 different type of exception :
My requirement is to find count of each type of exception, i tried using combination of -E and -C but that doesn't seems to be working :
grep -ec 'Exception' -ec... (4 Replies)
Discussion started by: mukulverma2408
2. Shell Programming and Scripting
I have a file: file.txt, which contains the following data in it.
This is a file, my name is Karl, what is this process, karl is karl junior, file is a test file, file's name is file.txt
My name is not Karl, my name is Karl Joey
What is your name?
Do you know your name and... (3 Replies)
Discussion started by: anuragpgtgerman
3. Shell Programming and Scripting
can i get a simple script for , Count same word which has come many times in single lines & pars
Eg file would be ==
"Thanks heman thanks thanks
So resullt should be
Thanks = 5
man = 1
thanks in advance :)
Please use code tags for code and... (1 Reply)
Discussion started by: heman96
4. UNIX for Dummies Questions & Answers
Please can you help how do I count the number of specific characters or words that appear in a file? (8 Replies)
Discussion started by: fretagi
5. UNIX for Dummies Questions & Answers
Hello Is there a way to calculate how many times a particular symbol appeared in a string before a particular word.
So, I want to count number of occurence of"/" in this directory before the word dog lets say.
Bob (3 Replies)
Discussion started by: FUTURE_EINSTEIN
6. UNIX for Dummies Questions & Answers
I'm trying to count the number of times each word in the file exist
for example if the file has:
today I have a lot to write, but I will not go for it. The main thing is that today I am looking for a way to get each word in this file with a word count after it specifying that this word has... (4 Replies)
Discussion started by: shnkool
7. UNIX for Advanced & Expert Users
I need help regarding counting specific word or character per line and validate it against a specific number i.e 10. And if number of character equals the specific number then that line will be part of the output.
Specific number = 6
Specific word or char = ||
Sample data:... (1 Reply)
Discussion started by: janzper
8. Shell Programming and Scripting
I'm trying to learn some scripts but i cant get my head around two of them.
1. how can i write a script that will count the number of times a particular word is used in file?
2. how can i make a script that will take me to a web page from unix?
if anyone could help it... (3 Replies)
Discussion started by: BigTool4u2
9. Shell Programming and Scripting
have a look into the attachment, i am not familiar with unix, can you please help me in this regard.
thanks in advance, :)
Geeko (4 Replies)
Discussion started by: geeko
10. Shell Programming and Scripting
Hi Folks !!!!!!!!!!!!!!!!!!!
My Requirement is.............
i have a input file:
and my o/p should be
i.e. the word which occurs maximum number of times in a file should be... (5 Replies)
Discussion started by: aajan