Hi guys,
I have set up multiple virtual FTP servers on a server through one physical NIC. I believe there are to ways; setting logical or alias ip's. I would like to know what is the difference between setting up a logical ip or setting up an alias ip to a physical network interface? Some links to... (5 Replies)
Hello,
I need the command to create alias for a file "FILE" (NOT for commands) ? And Is there any difference between creating alias for files and creating alias for commands ?
For info, i'm using Solaris 8
Thx,
http://www.unix.com/images/misc/progress.gif (5 Replies)
Hi,
I have a file abcd.txt which has contents in the form of full path file names i.e.
$home> vi abcd.txt
/a/b/c/r1.txt
/q/w/e/r2.txt
/z/x/c/r3.txt
Now I want to retrieve only the directory path name for each row
i.e
/a/b/c/
/q/w/e/
How to get the same through shell script?... (7 Replies)
Hi again,
Maybe a stupid question but I don't know how to solve it..
I want to alias a full_PATH_command.. I mean:
/usr/bin/df -Ik TO sudo /usr/bin/df
I used alias df='sudo df' but the command run is /usr/bin/df..
Any idea on how to make this alias?
Thanks (2 Replies)
Hello,
I want to create an alias for this command:
grep -i "<keyword_to_search>" <path_to_search>
Here's the alias I intended to make:
alias k 'set ARGS1 =(\!1); set ARGS2 =(\!2); grep -i "$ARGS1" ARGS2'
So that next time, for example, if I want to search the keyword "Help" in the path... (5 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Here is what I am supposed to do, word for word from my assignment page:
1. Create/modify and print a... (2 Replies)
Hi,
I'm using Mac 10.9.1. I would like to create an alias for grep so that it won't print out messages like "grep: /Users/davea/workspace/myproject/subdir/: Is a directory" all the time. So in my terminal, I opened ~/.profile and entered
alias grep='grep -s'
However, when I close and... (5 Replies)
Hello,
I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
What is the difference ../directory path and ./directory path in ksh? (1 Reply)
Discussion started by: TestKing
1 Replies
LEARN ABOUT ULTRIX
dxmkfontdir
dxmkfontdir(1X)dxmkfontdir(1X)Name
dxmkfontdir - Create a list of fonts for the X server.
Syntax
dxmkfontdir [directory-names]
Description
The dxmkfontdir command creates files that list font names and the font files to which the names correspond, for use when the X server
starts up. In each directory specified as a command argument, dxmkfontdir creates the directory's list of fonts and places it in a file
called fonts.dir. If you omit arguments, dxmkfontdir creates a fonts.dir file for the current directory.
The fonts.dir file lists each font file and gives the name of the font in that file. To obtain font names, dxmkfontdir searches the files
in the directory for a property named FONT. If the FONT property is absent, dxmkfontdir uses the names of PCF (.pcf), BDF (.bdf), and com-
pressed BDF (.bdf.Z) files, omitting their suffixes. If a font exists in multiple formats, the PCF format is used.
When the X server starts up, it looks for a fonts.dir file in each font directory in the font path. It also looks for a fonts.alias file
in each directory.
Font Aliases
You can create or edit the fonts.alias file to assign new names to existing fonts. X clients can then use the alias names to request fonts
from the server. A font alias file can be in one or any number of directories in the font path. It consists of two columns, separated by
white space. The first column lists aliases; the second column contains font name patterns. Aliases can reference fonts in directories
other than the one in which the alias file exists.
To embed white space in the alias name or the font name, enclose the name in quotation marks (""). To embed quotation marks (or any other
characters), precede them with a backslash (. The following are sample entries from a fonts.alias file:
courier10 fixed
/udir/sally/fonts/courier/10.pcf "-adobe-helvetica-bold-o-normal--
24-240-15-75-p-104-1508859-1"
If the fonts.alias file contains the string FILE_NAMES_ALIASES alone on a line, each file name in the directory (without its .pcf suffix)
is automatically translated as a font name alias. For example, a file named courier10.pcf would have the font name alias courier10.
See AlsoX(1X), dxfc(1X)dxmkfontdir(1X)