Trying to write a sed command that applies multiple replacements to a specific address. Need a second pair of eyes I guess cause my syntax appears to be correct (obviously not though) I am getting an error. Any Help would be appreciated! Thanks in advance.
sed -f foo envOracle
sed: Function... (2 Replies)
I have a linksys DSL router.
I run a mixed environment of Windows, Linux and Solaris. The routers dhcp tables show the windows machines hostnames and associated IP's ok but the unix bases mahines don't have associated hostnames in the DHCP tables. I can ping by IP but not my the machines... (5 Replies)
Hi Friends,
I have a list of servers with their production names in a file.
I want to know the best way eiter a command or a script that can do the following :-
Append "-bkp" to each hostnames at the end
And run nslookup and make sure I have valid backup IP add assigned to it.
Any... (1 Reply)
Hello,
Currently we are having different linux servers (for example: let's assume audio server, video server and text server) to handle requests from outside users. Suppose the outside users in different LAN (Local Area Network), other than the servers. For example user is in 20 series LAN and... (5 Replies)
I am trying to determine if there are several url/host names for an IP address. Is there a UNIX command to find ALL host names for an IP address?
Thank you in advance. (3 Replies)
hi all,
This is user that i want sent the email:
Email = allan@gmail.com bruce8899@gmail.com Chris@gmail.com
echo "$dir : $filecount is over the limit $limit " | mailx -s "${SUBJECT}" "${email}"
However it cannot sent to 3 user..only sent to 1 user email address.
Any 1 can help me... (15 Replies)
Hi All,
I am pretty new to the mail service in Sun Solaris 5.10. If anybody help me in writing a script for the multiple recipient with subject and the body would be a helpful.
Kindly help...
Thanks in advance. :)
Warm Regards,
Pramod (5 Replies)
Team,
I have prepared a script which I run from my remote machine(Jump-box)server
Below is the script
FILEDATE=`date +%F`
LOGFILE=/home/abc/scripts/xyz.$FILEDATE.log
find /home/abc/scripts/xyz.*.log -type f -mtime -3 -delete
touch $LOGFILE
exec 1>$LOGFILE 2>&1
#healthcheck batch runs... (1 Reply)
Discussion started by: whizkidash
1 Replies
LEARN ABOUT MINIX
hosts
HOSTS(5) File Formats Manual HOSTS(5)NAME
hosts - hostname to IP address database
SYNOPSIS
/etc/hosts
DESCRIPTION
The hosts database lists the IP addresses and the hostnames that translate to these IP addresses. It is used by nonamed(8) in a network
without name servers. A simple /etc/hosts may look like this:
127.0.0.1 localhost
192.9.200.1 darask
192.9.200.2 burask
The localhost entry lists a special address that refers to the local host itself (a kind of /dev/tty for hosts.) You should only list it
if nonamed needs it! The other entries are actual machines. The file may contain comments marked with '#'.
You can have aliases (more hostnames on the same line), but it is not recommended, because nonamed can't present them to the system as
CNAME records. An often seen form like
192.9.200.1 darask.home.cs.vu.nl darask
is harmless though, and has the small advantage that you can use the short name in /etc/ethers so rarpd can match it at boot time.
FILES
/etc/hosts Hosts database.
SEE ALSO ethers(5), nonamed(8), rarpd(8), boot(8).
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
HOSTS(5)