UNIX shell scripting | Unix Linux Forums | Shell Programming and Scripting

  Go Back    


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

UNIX shell scripting

Shell Programming and Scripting


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-14-2013
Phuti Phuti is offline
Registered User
 
Join Date: Jan 2008
Last Activity: 1 April 2014, 4:31 AM EDT
Location: I live in Pretoria, South Africa
Posts: 54
Thanks: 8
Thanked 0 Times in 0 Posts
UNIX shell scripting

Hi Guys,

I suppose I have a file with these values 1 2 3 4 5 6 and I want to count how many values do I have.

I know is I had the values in lines I will use wc -l

How can I do that ?

Thanks in advance...
Sponsored Links
    #2  
Old 02-14-2013
RudiC RudiC is offline Forum Advisor  
Registered User
 
Join Date: Jul 2012
Last Activity: 31 October 2014, 12:14 PM EDT
Location: Aachen, Germany
Posts: 4,485
Thanks: 74
Thanked 1,099 Times in 1,035 Posts
man wc ?
The Following User Says Thank You to RudiC For This Useful Post:
Phuti (02-14-2013)
Sponsored Links
    #3  
Old 02-14-2013
Phuti Phuti is offline
Registered User
 
Join Date: Jan 2008
Last Activity: 1 April 2014, 4:31 AM EDT
Location: I live in Pretoria, South Africa
Posts: 54
Thanks: 8
Thanked 0 Times in 0 Posts
Thanks a lot
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unix Shell Scripting( Calling from Unix to PLSQL) faizsaadq UNIX for Dummies Questions & Answers 1 07-23-2012 11:41 AM
Unix shell scripting help vignesh53 Shell Programming and Scripting 1 02-20-2012 12:11 PM
unix shell scripting vikas MENON.S Shell Programming and Scripting 3 02-20-2012 03:27 AM
unix shell scripting swarna bhat Shell Programming and Scripting 1 05-11-2009 05:41 AM
difference between AIX shell scripting and Unix shell scripting. haroonec Shell Programming and Scripting 2 04-12-2006 08:12 AM



All times are GMT -4. The time now is 09:51 PM.