Hi!
We are a small ISP running mostly Sun kit. Some machines run Solaris 8, others run 7 or even 2.6 because of software dependencies. Now, however, we are ready for a major software upgrade and will be taking those machines running Solaris 2.6 and 7 to at least 8.
In most, if not all, cases...
Packages, as suggested by Dnormant, can be useful if they don't rely on anything other than the operating system. However, if they are to interact with one another, the predetermined installation parameters which you have to take with a package can result in their not working together.
We...
I forgot to suggest to bi how he can get rid of the mails in root's mailbox. (It was for the same reason that I was looking for a solution. We have root mailboxes which consist almost entirely of this kind of message so that really important messages disappear in the flood.)
Do this: put the...
Thanks Annihilannic:
I did a bit of experimenting today and came up with:
if [ ! "`tty -s`" ] ; then
echo "It's a tty"
fi
Basically the same thing in reverse, since I didn't know what text would appear if it were not a tty. The results of `tty -s` are 0: it's a...
I have an idea that there is a method of checking in your .profile whether the session is connected to a terminal or whether it is being run from, e.g. a cron job. I saw somewhere that, in the c shell, one creates a if-prompt-endif clause.
However, I'm using the Bourne shell and bi, I notice...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.