9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I want to know the difference between these two services. Both are under xinetd. Both are used for enabling and disabling Telnet service. So, can somebody please explain me the difference between the two ?
Thanks in advance :) (0 Replies)
Discussion started by: kashifsd17
2. UNIX for Dummies Questions & Answers
$ find -name 'some expression' -type f > newfile
and then subsequently wants to create an alias file from each pathname the find command retrieved and the > placed within 'newfile', how would one do this? Ideally, the newly created alias files would all be in one directory.
I am... (3 Replies)
Discussion started by: Alexander4444
3. UNIX for Dummies Questions & Answers
how to make alias perament?
I have edited in .bashrc also but no use:(.How to manke it perament (3 Replies)
Discussion started by: kkalyan
4. UNIX for Dummies Questions & Answers
I was writing one script which includes to switch to the another telnet automatically from the present telnet server. I was using rlogin but firstly it takes the same user name of the present telnet and secondly it is prompting for the password.
But i want to switch to the another telnet... (2 Replies)
Discussion started by: Prateek
5. UNIX for Dummies Questions & Answers
what does \!* do int his line
alias lookup 'grep -i \!* who.is.who'
Thanks! (1 Reply)
Discussion started by: kris888
6. Shell Programming and Scripting
Somewhat long story:
I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage.
This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
7. UNIX for Advanced & Expert Users
i want to make an alias in unix, for using it to change of directory
if i am in /dtmp/inp/aux and i want to go to /sybase/bd, i want to make an alias named "bd", to go directally to /sybase/bd (alias bd="cd /sybase/bd")
i create it, but when i turn off the conection... (2 Replies)
Discussion started by: DebianJ
8. UNIX for Dummies Questions & Answers
I'm a beginner to Unix and I want to create an alias that lists the given
directory in long format; the alias should use a pager to display the result.
Thanks in advance. (2 Replies)
Discussion started by: guelpth
9. UNIX for Advanced & Expert Users
Linux question, upgraded from Linux 6 to 7.1. BUT on the upgrade we lost the DNS config, the alias vitual host and a virtual host email address.
So question is how do i get them all back?
I ran the ifconfig eth0:1 ip.ad.dr.ess whic created the vitual host and ip address but when i reboot it... (1 Reply)
Discussion started by: ollyparkhouse
HOSTS(5) BSD File Formats Manual HOSTS(5)
hosts -- host name data base
The hosts file contains information regarding the known hosts on the network. It can be used in conjunction with the DNS, and the NIS maps
'hosts.byaddr', and 'hosts.byname', as controlled by nsswitch.conf(5).
For each host a single line should be present with the following information:
address hostname [alias ...]
address Internet address
hostname Official host name
alias Alias host name
Items are separated by any number of blanks and/or tab characters. A hash sign (``#'') indicates the beginning of a comment; characters up
to the end of the line are not interpreted by routines which search the file.
When using the name server named(8), or ypserv(8), this file provides a backup when the name server is not running. For the name server, it
is suggested that only a few addresses be included in this file. These include address for the local interfaces that ifconfig(8) needs at
boot time and a few machines on the local network.
This file may be created from the official host data base maintained at the Network Information Control Center (NIC), though local changes
may be required to bring it up to date regarding unofficial aliases and/or unknown hosts. As the data base maintained at NIC is incomplete,
use of the name server is recommended for sites on the DARPA Internet.
As network addresses, both IPv4 and IPv6 addresses are allowed. IPv4 addresses are specified in the conventional dot (``.'') notation using
the inet_pton(3) routine from the Internet address manipulation library, inet(3). IPv6 addresses are specified in the standard hex-and-colon
notation. Host names may contain any printable character other than a field delimiter, newline, or comment character.
/etc/hosts The hosts file resides in /etc.
gethostbyname(3), nsswitch.conf(5), ifconfig(8), named(8)
Name Server Operations Guide for BIND.
The hosts file format appeared in 4.2BSD.
November 17, 2000 BSD