09-25-2012
Great!
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi All,
I am connected to a cisco router and I want to know the hostname of this router.
I connect as telnet <IPADDRESS>
and the prompt shows
vpnaccess-bristol>
But I want to know the full hostname of the router how can i do that.
When i type the hostname command the following... (3 Replies)
Discussion started by: rahulrathod
3 Replies
2. Solaris
Anyone know
How to configure solaris 8 to display hostname in command prompt , everytime when you open a terminal screen . (3 Replies)
Discussion started by: civic2005
3 Replies
3. SCO
from the hostname command I get this:
scosysv.mycompany0
when I ping scosysv.mycompany0 i get 64.158.xx.xx which fails with 100% packet loss.
/etc/hosts shows
199.199.199.1 scosysv scosysv.mycompany0 scosysv.mycompany0.com
when I ping the hostname value isn't the local IP 199.199.199.1... (6 Replies)
Discussion started by: bbxguy
6 Replies
4. AIX
I faced an interesting problem on my AIX servers. When I checked last logins with command last I saw that hostnames are wrong. Let say, I made login from workstation xxxxx and with the command last I saw:
root pts/2 yyyyy 5 jan 15:38 still logged in
Ping xxxxx and ping... (3 Replies)
Discussion started by: giovanni
3 Replies
5. Red Hat
Hi All,
I am using redhat Linux 5.2.2 on vmware. I have created VM Machine using kickstart & rest 10 machines i created using vmware cloning.
On the base machine which i installed from kickstart its showing FQDN using hostname --fqdn but cloned machines are showing hosts name i have chnaged... (1 Reply)
Discussion started by: ajaincv
1 Replies
6. UNIX Desktop Questions & Answers
Hello, all. Running 11.04. Is there a way that, in an ssh or telnet session, that hostname will not appear in the command prompt? Not logged in yet, so not seeking a user shell environment. I just want to see something like 'login>', not 'ubuntu login>'.
---------- Post updated at 07:50 PM... (3 Replies)
Discussion started by: mfearer
3 Replies
7. Red Hat
Hi ,
On my box everything works fine. But whenever I run command
It returns nothing as you see @(none) too.
Its very strange issue I have never noticed on any other system yet.
Any one have any idea about this.
Thank you (2 Replies)
Discussion started by: pratapsingh
2 Replies
8. UNIX for Dummies Questions & Answers
Hi
I would like to ssh into serveral servers, print the hostname and do an ls (of files in a certain directory), and add these details to a file.
so i have this:
#!/usr/bin/bash
for host in hostnames_here
do
ssh $host echo "$HOSTNAME" ls /directory_location > ~/new_file_name.txt
... (6 Replies)
Discussion started by: horhif
6 Replies
9. UNIX for Dummies Questions & Answers
Hello,
When I am trying to use tail +13 filename.csv it is throwing an error.
tail: cannot open `+13' for reading: No such file or directory and then prints last 10 lines of the file. (File is present on the path)
But when i try tail -13 filename.csv it runs perfectly.
Could I have... (5 Replies)
Discussion started by: AnkitSenghani
5 Replies
10. Shell Programming and Scripting
Hi everyone
I am trying to write a script to check if file systems are mounted, and also validate the permission; then do a whole bunch of other things. I am facing a problem with grep. For example, if the mountpoints are:
/dev/XYZ_lv /abc/XYZ jfs2 Nov 25 20:36... (4 Replies)
Discussion started by: nimo
4 Replies
LEARN ABOUT CENTOS
ttmkfdir
TTMKFDIR(1) General Commands Manual TTMKFDIR(1)
NAME
ttmkfdir - Utility to create fonts.scale files for truetype fonts
SYNOPSIS
ttmkfdir [OPTION]
DESCRIPTION
Originally written by Joerg Pommnitz, ttmkfdir is a tool to create valid and complete fonts.scale file from TrueType fonts. It is very
useful when you plan to use a TrueType enabled font server that is based on the X11R6 sample implementation (xfsft for instance). Great
care has been taken to correctly identify the encodings that a given TrueType font supports.
The ttmkfdir comes with Red Hat Linux has experienced quite some modifications or improvements, include:
- migration to FreeType 2 library
- more accurate checking for big font files
- support for both two X core font backends, Freetype and XTT
- Truetype collection(ttc) font file support
- additional CJK friendly features
- bug fixes
OPTIONS
Here is the detailed usage of Red Hat version of ttmkfdir.
-h, --help
It shows the menus and combo box in iok UI
-e, --encoding <encodings.dir>
ttmkfdir is doing its job by checking each TrueType font file against fontenc layer, please refer www.xfree86.org/current/fonts.html
for details. Default encodings.dir file is /usr/X11R6/lib/X11/fonts/encodings/encodings.dir
-o, --output
Specify output, default is fonts.scale in the current directory
-d, --font-dir
Specify TrueType font directory, default is the current directory
-f, --default-foundry
Specify name of the default font foundry, default is "misc"
-m, --max-missing
Specify the maximum number of missing characters per encoding, default is 5. This option applies to the encoding that has less than
256 codepoint definitions.
-a, --max-missing-percentage
Specify the maximum percentage of missing characters per encoding, default is 2. This option applies to the encoding that has more
than 256 codepoint definitions.
-b, --font-backend
For X FreeType backend, use value "1", for XTT backend use value "2", default value is 1. When you have TrueType Collection
font(.ttc), you need to use this option.
-x, --additional-entries
Additional entries mean those extra TTCaps stuff for XTT backend, mainly for bold and italic font support. Or for FreeType backend,
because FreeType still doesn't support bold and italic font, ttmkfdir can generate extra "dummy" XLFDs, so applications who asking
those fonts won't complain.
Default value is "0" means off,otherwise use "1" to switch it on.
-c, --completeness
use less strict completeness tests for encoding tables
-p, --panose
use panose information
AUTHOR
Yu Shao <yshao@redhat.com> and Pravin Satpute <psatpute@redhat.com>
LICENSE
GNU Library General Public License
March 28, 2013 TTMKFDIR(1)