Writing script for Linux
Hi,
I am a linx newbie and needing to write a simple external command for Linux. What language do I use? perl? If so, i'm not that great with perl ...i'm mostly a PHP, JavaScript, sorta guy. So, i'm hoping someone can help me. All I need to do is to write a script that will look for a string input and then run a command with the string in it. Like this:
The string variable input:
"hello, how are you?"
The scripts output:
echo "string variable"
I know this will be a simple script I just need to know what language I use for shell scripting in linux and hoping someone can show me somthing using the example above so I can see the syntax from this to get me started.
Much thanks
Thanks
|