Sponsored Content
Full Discussion: word count wc
Operating Systems Linux Fedora word count wc Post 79011 by RTM on Sunday 24th of July 2005 10:54:41 PM
Old 07-24-2005
Interesting. Does the same thing in Solaris 2.6, and 9, and Fedora too.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

count word

hi, given a file i need to get the first line and secodn line and count each of the line whether the length of first line and second line is the same i don;t know how to get the length of the line...seems like use 'wc' cannot do it... please advice (1 Reply)
Discussion started by: ariuscy
1 Replies

2. Shell Programming and Scripting

specified word count

hi iam trying to do a specified word count on file called text i have a few ideas but don't get the result i want do any one have a idea please help i have this at the moment cat text echo "Please enter the word you are looking for:" read string echo "the word < $string > occurs in... (5 Replies)
Discussion started by: bhaviknp
5 Replies

3. UNIX for Dummies Questions & Answers

Word Count

Hi All, Please let me know how to get the count of a particular word in a file. Example. I am looking for count of word 'result' in a file abc.xml. Thanks, Shankar (10 Replies)
Discussion started by: s_chowhan
10 Replies

4. Shell Programming and Scripting

how to count a word in a file

dear all, i have a requirement to count the errors and display from a file. eg. file1.txt sjdgfjdgfgd ora-0001 sdjgfydh sdukgh7 23 sjdgfjdgfgd ora-0002 sdjgfydhsf34 ew 34v sjdgfjdgfgd ora-0008 sdjgfydh asdf asdfas sjdgfjdgfgd ora-0001 sdjgfydhjkbs ui873 sjdgfjdgfgd ora-0004 sdjgfydh... (9 Replies)
Discussion started by: unx100
9 Replies

5. Shell Programming and Scripting

Word count of lines ending with certain word

Hi all, I am trying to write a command that can help me count the number of lines in the /etc/passwd file ending in bash. I have read through other threads but am yet to find one indicating how to locate a specifc word at the end of a line. I know i will need to use the wc command but when i... (8 Replies)
Discussion started by: warlock129
8 Replies

6. UNIX for Advanced & Expert Users

Word count

Script that lists all words used in one or more files and displays their count (pattern /\W+/ to split the lines of the input file into words can b used).. It should display list in format word:count...gets Filename as an cmd line argument! eg: $perl test doc (where doc is d file we are going to... (4 Replies)
Discussion started by: aadi_uni
4 Replies

7. Shell Programming and Scripting

if, word count

Hi, I need to count the lines of a file stack.html and if the amount lines i want to do something. At this moment, I have if ; then ... This is not working. Any ideas? Thanks! (3 Replies)
Discussion started by: azertyazerty
3 Replies

8. Shell Programming and Scripting

Line and word count.

Im trying to make a bash file that will take another file and count how many lines there are and then count how many words are in each line. Any help would be great. (15 Replies)
Discussion started by: syco__
15 Replies

9. UNIX for Dummies Questions & Answers

word count with grep

Hi, It is very interesting to learn the unix, i just struck with a doubt like i have below content in my file xyz xyz xyz xyz i just want know the word count by using grep -wc 'xyz' <filename>, but it is giving 3 instead of 4.So i understood that it is showing matched line numbers count... (2 Replies)
Discussion started by: vmachava
2 Replies

10. UNIX for Beginners Questions & Answers

UNIX script to check word count of each word in file

I am trying to figure out to find word count of each word from my file sample file hi how are you hi are you ok sample out put hi 1 how 1 are 1 you 1 hi 1 are 1 you 1 ok 1 wc -l filename is not helping , i think we will have to split the lines and count and then print and also... (4 Replies)
Discussion started by: mirwasim
4 Replies
SMOLTSENDPROFILE(1)					      General Commands Manual					       SMOLTSENDPROFILE(1)

NAME
smoltSendProfie - Submit Smolt hardware profile to server SYNOPSIS
smoltSendProfile [options] DESCRIPTION
smoltSendProfile program submits the hardware profile of the current machine to the Smoon server. Smolt is a cross-desktop hardware report- ing tool for GNU/Linux based systems. OPTIONS -p, --printOnly Display information only; do not send -a, --autoSend Don't prompt to send; just send -r, --retry Continue to send until success -c, --checkin Automated check-in, suitable for cron-jobs -S, --scanOnly Only scan this machine for known hardware errata; do not send profile --submitOnly Do not scan this machine for known hardware errata; only submit profile -b, --bodhi Submit this profile to Bodhi as well, for Fedora Developmnent -n, --newPublicUUID Request a new public UUID -s SMOON_URL, --server=SMOON_URL Specify the URL of the server -u USERAGENT, --useragent=USERAGENT, --user_agent=USERAGENT Specify HTTP user agent (default "smolt/0.97") -t TIMEOUT, --timeout=TIMEOUT Specify HTTP timeout in seconds (default 60.0 seconds) --uuidFile=UUIDFILE Specify which UUID to use; useful for debugging and testing --username=USERNAME Fedora Account System registration username --password=PASSWORD Fedora Account System registration password (will prompt if not specified) -d, --debug Enable debug information --version Show program's version number and exit -h, --help Show this help message and exit SEE ALSO
smoltDeleteProfile(1), smoltGui(1). AUTHOR
smoltSendProfile was written by Mike McGrath <mmcgrath@redhat.com> and others. This manual page was written by Chris Lamb <chris@chris-lamb.co.uk>, for the Debian project (but may be used by others). February 27 2008 SMOLTSENDPROFILE(1)
All times are GMT -4. The time now is 02:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy