Updating etc hosts

04-Jan-2017 09:06

rc=4; [ x"$rc" !

$ sudo nano /etc/hosts or use your favorite editor.

A default /etc/hosts file should look something like...

Welcome to Linux Questions.org, a friendly and active Linux Community. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration.

You must add the IP address and host name information that is relevant to Information Manager and to the collectors that collect event data.

This is a short tutorial about the basics of using /etc/hosts on a system with several IP addresses.

$ sudo nano /etc/hosts or use your favorite editor.

A default /etc/hosts file should look something like...

Welcome to Linux Questions.org, a friendly and active Linux Community. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration.

You must add the IP address and host name information that is relevant to Information Manager and to the collectors that collect event data.

This is a short tutorial about the basics of using /etc/hosts on a system with several IP addresses.

While the above template task fails, it will work if the dest file does not yet exist or is created within the Dockerfile.