badfinger
13th October 2004, 11:06 AM
Hello people, I'm not sure where to put this, because it's Solaris related or well, I like to run it on Solaris. But first things first:
As I'm now at Siemens in the WAP/MMS team, I have to get used to Unix/Solaris and so I do selfstudy. One of the things I tried, was editing a cronjob or better said, I added a cronjob, who starts everyminute (just for testing purpose). The idea is using banner to give out "TEST". Now the problem is, that at the commandstring you can use blanks. Normally the command would be banner "TEST", so how can I do this now?
My actual line is(stripped to the command field): /usr/bin/banner%TEST!%>/dev/console
I made sure, that the path "/usr/bin/banner" is right.
When I use the proggy at the console (banner "TEST!") all works fine. I also know that the cron-job would work, so it is not a problem of the timerelated parameters.
Also the question would be, how to use echo instead? Couldn't get this to work either :(
So far I have to say, my experiences with UNIX and Linux are getting more and more satisfying, and I love that system, because you learn so much, when you use it. I also bought "Essential System Administration" and I have to say, even as it has a steep learncurve, it's awesome what interesting topics it covers. And quite fun to read too.
Well I get too much offtopic. Sorry for that...
Any help or advice would greatly be appreciated.
Best,
badfinger
As I'm now at Siemens in the WAP/MMS team, I have to get used to Unix/Solaris and so I do selfstudy. One of the things I tried, was editing a cronjob or better said, I added a cronjob, who starts everyminute (just for testing purpose). The idea is using banner to give out "TEST". Now the problem is, that at the commandstring you can use blanks. Normally the command would be banner "TEST", so how can I do this now?
My actual line is(stripped to the command field): /usr/bin/banner%TEST!%>/dev/console
I made sure, that the path "/usr/bin/banner" is right.
When I use the proggy at the console (banner "TEST!") all works fine. I also know that the cron-job would work, so it is not a problem of the timerelated parameters.
Also the question would be, how to use echo instead? Couldn't get this to work either :(
So far I have to say, my experiences with UNIX and Linux are getting more and more satisfying, and I love that system, because you learn so much, when you use it. I also bought "Essential System Administration" and I have to say, even as it has a steep learncurve, it's awesome what interesting topics it covers. And quite fun to read too.
Well I get too much offtopic. Sorry for that...
Any help or advice would greatly be appreciated.
Best,
badfinger