May i know how to pass an argument to a function in a shell script?
Sorry, i din stated that it is in a shell script in my previous post.
Means: checkStatus() {
...........
}
read status;
I wanna use the status in the function checkstatus, how shall i do it?
Btw, can anyone gif me a few example of how to use sed?
Simple example will do...thx
