Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> help w/homework
ch4920
post Apr 28 2008, 09:12 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 28-April 08
Member No.: 13,445



newbie here. i am writing a bash script and when i use wc -l filename to get a line count it returns the line count and the file name. i would like to get the line count and store it in a variable. also i need to get the process id of the script and store that in a variable too. any help is greatly appreciated. thank you
Go to the top of the page
 
+Quote Post
michaelk
post Apr 29 2008, 01:20 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



At least your up front about needing help with homework however like most sites we are not here to do it for you. I see no problems with asking for specific help. First there us lots of information that can be found on BASH scripting by searching the web including variables.

http://www.gnulamp.com/bashprogramming.html
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st October 2017 - 11:05 AM