Unix/Linux Go Back    


Shell Programming and Scripting Unix shell scripting - KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and 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: 27 July 2015, 9:54 AM EDT
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 online now Forum Advisor  
Registered User
 
Join Date: Jul 2012
Last Activity: 29 July 2015, 5:26 AM EDT
Location: Aachen, Germany
Posts: 6,390
Thanks: 112
Thanked 1,762 Times in 1,648 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: 27 July 2015, 9:54 AM EDT
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

Linux 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 05:26 AM.