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

  Unix/Linux 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 Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 02-14-2013
Phuti Phuti is offline
Registered User
 
Join Date: Jan 2008
Last Activity: 5 March 2015, 3:29 AM EST
Location: I live in Pretoria, South Africa
Posts: 61
Thanks: 12
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 Unix and Linux 02-14-2013
RudiC RudiC is offline Forum Advisor  
Registered User
 
Join Date: Jul 2012
Last Activity: 6 March 2015, 1:46 PM EST
Location: Aachen, Germany
Posts: 5,439
Thanks: 94
Thanked 1,419 Times in 1,336 Posts
man wc ?
The Following User Says Thank You to RudiC For This Useful Post:
Phuti (02-14-2013)
Sponsored Links
    #3  
Old Unix and Linux 02-14-2013
Phuti Phuti is offline
Registered User
 
Join Date: Jan 2008
Last Activity: 5 March 2015, 3:29 AM EST
Location: I live in Pretoria, South Africa
Posts: 61
Thanks: 12
Thanked 0 Times in 0 Posts
Thanks a lot
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Unix or Linux Image 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 12:41 PM
Unix shell scripting help vignesh53 Shell Programming and Scripting 1 02-20-2012 01:11 PM
unix shell scripting vikas MENON.S Shell Programming and Scripting 3 02-20-2012 04:27 AM
unix shell scripting swarna bhat Shell Programming and Scripting 1 05-11-2009 06:41 AM
difference between AIX shell scripting and Unix shell scripting. haroonec Shell Programming and Scripting 2 04-12-2006 09:12 AM



All times are GMT -4. The time now is 12:21 AM.