Hello,
Would anyone please tell me how to write a shell script which receives input argument from command line?
Thanks alot
rock31
0
Newbie Poster
Recommended Answers
Jump to PostWhat have you got so far?
I know that bash uses $1, $2, $3, and so on as variables for command arguments. I imagine csh might be similar, if not the same. Have you tried reading the manpage on csh? It might give you some pointers on accepting command …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.