LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

How to find the Sum of file in shell

Posted 04-18-2008 at 06:26 AM by jyotijain21

let the file be

cat test.txt
100
200
411

Output: 711

i wnt d command which give me sum of all entrie in file
LQ Newbie
Posted in Uncategorized
Views 490 Comments 0 jyotijain21 is offline

  



All times are GMT -5. The time now is 06:25 AM.

Main Menu

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration