User User name Password  
   
Saturday 30.11.2024 / 14:26
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > software, operating systems and more > linux - general discussion > shell script programming....
Show topics
 
Forums
Forums
shell script programming....
  Jump to:
 
Posted Message
numnut16
Junior Member
_
30. October 2006 @ 15:49 _ Link to this message    Send private message to this user   
Hey everyone, Im really new in Linux and I need some help on same basic programming in shell scripts. First, Im trying to take a text file name as an argument then display the name of the file, how many lines it has, and how many characters it has. Im a little familiar with the wc and cut commands and I was told to use them but I cant seem to get them to work. Can anyone here help me or at least direct me in the right direction? Thanks a lot!
Advertisement
_
__
The_Fiend
Suspended permanently
_
30. October 2006 @ 15:53 _ Link to this message    Send private message to this user   
Google linux shell scripting, and look at the 14,800,000 results it brings up.

irc://arcor.de.eu.dal.net/wasted_hate

Wanna tell me off, go ahead.
I dare ya !
numnut16
Junior Member
_
30. October 2006 @ 16:02 _ Link to this message    Send private message to this user   
Thats kinda the problem, there is so much information im having trouble narrowing it down to the specific information I need. But thanks anyways!
Moderator
_
30. October 2006 @ 17:24 _ Link to this message    Send private message to this user   
shell scripting can be done a gazillion ways; in conjunction with google use the 'man' pages ie 'man cut', 'man wc' etc. scripting can be as easy or as difficult as you choose to make it, if i can do it, anyone can :P



Main PC ~ Intel C2Q Q6600 (G0 Stepping)/Gigabyte GA-EP45-DS3/2GB Crucial Ballistix PC2-8500/Zalman CNPS9700/Antec 900/Corsair HX 620W
Network ~ DD-WRT ~ 2node WDS-WPA2/AES ~ Buffalo WHR-G54S. 3node WPA2/AES ~ WRT54GS v6 (inc. WEP BSSID), WRT54G v2, WRT54G2 v1. *** Forum Rules ***
tobi2yul
Suspended due to non-functional email address
_
6. November 2006 @ 10:20 _ Link to this message    Send private message to this user   
what is shell scripting?
Advertisement
_
__
 
_
Moderator
_
6. November 2006 @ 10:28 _ Link to this message    Send private message to this user   
you use Linux and you don't know ?. that is odd...

ps your signature pic is too tall, An image-only signature should be less than 50kb in size, and be at most 500 pixels wide and 200 pixels tall.



Main PC ~ Intel C2Q Q6600 (G0 Stepping)/Gigabyte GA-EP45-DS3/2GB Crucial Ballistix PC2-8500/Zalman CNPS9700/Antec 900/Corsair HX 620W
Network ~ DD-WRT ~ 2node WDS-WPA2/AES ~ Buffalo WHR-G54S. 3node WPA2/AES ~ WRT54GS v6 (inc. WEP BSSID), WRT54G v2, WRT54G2 v1. *** Forum Rules ***
afterdawn.com > forums > software, operating systems and more > linux - general discussion > shell script programming....
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2024 by AfterDawn Ltd.

  IDG TechNetwork