Sponsored Content
Full Discussion: printing trailing dot
Top Forums Shell Programming and Scripting printing trailing dot Post 302354771 by vidyadhar85 on Saturday 19th of September 2009 05:48:23 PM
Old 09-19-2009
redirect the o/p of kill command to /dev/null
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Printing Problems in unix ... ( Bar-cdoe - Ip Printing)

Hi guys ... i need ur help with some printing problem in unix ... first prob. : i wanna print from my NCR unix to an Win NT , Ip based printing server ( HP JetDirect ) . My issue , is it possible to print directly to an Ip address from unix ? How do i make it work to get any results ?... (3 Replies)
Discussion started by: QuickSilver
3 Replies

2. Shell Programming and Scripting

dot files

Hi, everyone. I'm now using rsync command, and please tell me what is the wildcard for below looks like. I want to chose dotfiles, such as .ipod .apple but i don't want to chose . and .. ------------------ .* doesn't work, of course. Thanks, Euler04 (2 Replies)
Discussion started by: Euler04
2 Replies

3. Linux

Regarding Dot Matrix Printing

Hi all, What I want is that can we manage printing a text file on a Dot Matrix printer installed on a Linux machine and the printer should not take the normal A4 format, but should print only to the extent the text file has text in it. What happen usually is that when we give print comand to any... (0 Replies)
Discussion started by: aman_mlt
0 Replies

4. Shell Programming and Scripting

Remove trailing G

Hello, I am trying to write a script that will calculate the amount of data remaining in a storage volume. I'm running Tru64 Unix version 5.1B patch kit 6. The script is being run against an AdvFS domain. I am programming in Korn Shell version M-11/16/88f. The basic idea is that I want to run df... (3 Replies)
Discussion started by: Heathe_Kyle
3 Replies

5. UNIX for Dummies Questions & Answers

Solaris mail routing to Windows SMTP server (trailing dot)

Hello, Firstly, appologies, i am a windows man but i'm picking things up really quickly.! We have some Unix boxes on our estate that route mail to a Windows SMTP server. This doesn't seem to work and after looking at the message headers it looks like the mail is getting bounced. :( -----... (4 Replies)
Discussion started by: M2TTJ
4 Replies

6. UNIX for Dummies Questions & Answers

variable name with dot(.)

Hi, Is it possible to declare variable with name having dot(.) in it ? something like gs.test='HELLO' Thanks in advance :) (1 Reply)
Discussion started by: gopalss
1 Replies

7. Windows & DOS: Issues & Discussions

Linux to Windows Printing: PDF starts printing from middle of page.

We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Discussion started by: rohan69
5 Replies

8. UNIX for Dummies Questions & Answers

Sco Unix printing : jobs hangs in queue - printing via lp versus hpnpf

Hi, We have a Unix 3.2v5.0.5. I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts). This is the configuration file : Code: root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Discussion started by: haezeban
0 Replies

9. Shell Programming and Scripting

Mv or cp with a . (dot)?

How can I rename a file with a . prefix? I actually need to copy the file but the . seems to be very tough to do. mv ./bla ../fa/la/.bla - doesn't work. I've tried all sorts of bracketing and that doesn't work. Maybe the only way to do it would be to name the file _.bla then rename it... (19 Replies)
Discussion started by: scribling
19 Replies
hostname(5)							File Formats Manual						       hostname(5)

NAME
hostname - host name resolution description DESCRIPTION
Hostnames are domains. A domain is a hierarchical, dot-separated list of subdomains. For example, the machine in the subdomain of the sub- domain of the Internet Domain Name System would be represented as (with no trailing dot). Hostnames are often used with network client and server programs, which must generally translate the name to an address for use. (This task is usually performed by the library routine When NIS or the host table is being used for hostname resolution, the hostname is looked up without modification. When DNS is used, the resolver may append domains to the hostname. The default method for resolving hostnames by the Internet name resolver is to follow security recommendations. Actions can be taken by the administrator to override these recommendations and to have the resolver behave the same as earlier, non-RFC 1535 compliant resolvers. The default method (using RFC 1535 guidelines) follows: If the name consists of a single component, i.e. contains no dot, and if the environment variable is set to the name of a file, that file is searched for a string matching the input hostname. The file should consist of lines made up of two strings separated by white-space, the first of which is the hostname alias, and the second of which is the complete hostname to be substituted for that alias. If a case- insensitive match is found between the hostname to be resolved and the first field of a line in the file, the substituted name is looked up with no further processing. If there is at least one dot in the name, then the name is first tried as is. The number of dots to cause this action is configurable by setting the threshold using the option in (default: If the name ends with a dot, the trailing dot is removed, and the remaining name is looked up (regardless of the setting of the 'ndots' option) and no further processing is done. If the input name does not end with a trailing dot, it is looked up by searching through a list of domains until a match is found. If nei- ther the search option in the file or the environment variable is used, then the search list of domains contains only the full domain spec- ified by the domain option (in or the domain used in the local hostname (see resolver(4)). For example, if the option is set to CS.Berke- ley.EDU, then only CS.Berkeley.EDU will be in the search list and will be the only domain appended to the partial hostname, lithium, making the only name to be tried using the search list. If the search option is used in or the environment variable, is set by the user, then the search list will include what is set by these methods. For example, if the option contained then the partial hostname (e.g., lithium) will be tried with each domain name appended (in the same order specified). The resulting host- names that would be tried are: The environment variable overrides the and options, and if both options are present in the resolver configuration file, then only the last one listed is used (see resolver(4)). If the name was not previously tried ``as is'' (i.e., it fell below the threshold or did not contain a dot), then the name, as originally provided, is attempted. AUTHOR
was developed by the University of California, Berkeley. SEE ALSO
named(1M), gethostbyname(3N), gethostent(3N), resolver(4), RFC 1535. hostname(5)
All times are GMT -4. The time now is 07:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy