localhost - Adding external source in /etc/hosts linux -


as know add external source file our ~/.bashrc file. example have list of custom aliases included inside it. add inside file:

source /path/to/my/external/file

or replace 'source' dot (.) so:

. /path/to/my/external/file

then can access custom aliases without manually typing inside ~/.bashrc file.

my question is:

i wondering there similar way include external source file inside /etc/hosts file? i've tried same method above, doesn't seem work.

thanks , cmiiw.

there no way include external source file/s inside /etc/hosts unlike how it's done ~/.bashrc or other systems on linux.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -