10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear All,
I am planning to find the list of certificates(WEBshpere/MQ) on a servers.
My certificates are either stored in (.jks) / (.pem)/ (.cer) . But some of the certificates are stored without these file formats. I tried using find command but unless I give the file name its difficult for... (4 Replies)
Discussion started by: sidh_arth85
4 Replies
2. Shell Programming and Scripting
Hi
I'd like to check that a bunch of firewall rules have been applied and, therefore, want to write a script that basically does the following:
telnet serverA port1
telnet serverA port2
telnet serverB port1
telnet serverB port2
I would just compile the list in excel and run it as a... (2 Replies)
Discussion started by: jibberish
2 Replies
3. Red Hat
Hi,
I've found that YUM is not installed on all RHEL 4, 5, 6 servers in this client site. What could be the particular reasons designing systems like this? wget is installed.
Thank you in advance! (12 Replies)
Discussion started by: aixlover
12 Replies
4. UNIX for Advanced & Expert Users
Hello,
I want to create a shell script that would check the file "/etc/default/kbd" for the entry KEYBOARD_ABORT=alternate on a list of SUN Solaris servers.
If this entry is not uncommented (without #) then I should get a message/error report for the host which does not have the setting... (3 Replies)
Discussion started by: mahive
3 Replies
5. UNIX for Dummies Questions & Answers
hi, guys,
now I face a problem. I have developed an application, and when it starts, it shall check if an application has been installed on the running linux/unix. If result is positive, i do something with the application command.
just as an example: I want to check if sshd has been... (3 Replies)
Discussion started by: sk1418
3 Replies
6. Shell Programming and Scripting
HI all,
I want to script where all the server names will be in a text file like
server1
server2
server3 . and the script should take servernames from a text file and perform copy of files if the files are not present on those servers.after which it should take next servername till the end of... (0 Replies)
Discussion started by: joseph.dmello
0 Replies
7. UNIX for Dummies Questions & Answers
Okay so i have a script i wrote in python. I want to turn this script into an INSTALLED COMMAND to run in terminal.
Right now i run it like this in terminal...
$ python myscriptname.py
or
$ ./myscriptname.py
but i want to be able to run it like this in terminal...
$ myscriptname
... (3 Replies)
Discussion started by: cbreiny
3 Replies
8. AIX
Hi to all
now we running mksysb to nim on aix servers.
we are planning to take mksysb from vio servers.
can we use the same script for vio servers.
thanks (10 Replies)
Discussion started by: honeym210
10 Replies
9. UNIX for Dummies Questions & Answers
We are using HP unix how to find out how many number of CPU's in the system. (7 Replies)
Discussion started by: salaathi
7 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I was given the task to write a shell script that must detect hardware problems on Unix Solaris and AIX servers. Problems that should be detected by this script are for example: abnormally high temperature or voltage etc...
So, does anyone know if that kind of information is logged in a... (2 Replies)
Discussion started by: VeroL
2 Replies
check-hostname(1M) System Administration Commands check-hostname(1M)
NAME
check-hostname - check if sendmail can determine the system's fully-qualified host name
SYNOPSIS
/usr/sbin/check-hostname
DESCRIPTION
The check-hostname script is a migration aid for sendmail(1M). This script tries to determine the local host's fully-qualified host name
(FQHN) in a manner similar to sendmail(1M). If check-hostname is able to determine the FQHN of the local host, it reports success. Other-
wise, check-hostname reports how to reconfigure the system so that the FQHN can be properly determined.
FILES
/etc/hosts Host name database
/etc/nsswitch.conf Name service switch configuration file
/etc/resolv.conf Configuration file for name server routines
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsndmu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
sendmail(1M), hosts(4), attributes(5)
SunOS 5.10 10 Nov 2003 check-hostname(1M)