02-11-2009
Script to Remove Fonts from Server
hi
we need to be able to run a script to delete fonts from our production server.
It needs to be able to scan a set of volumes and check the file type then if it detects a font remove it.
Server is a IBM 3850 running Red Hat Enterprise 4 update 5
the san attached raid where the data is stored is using IBMS file system GPFS
I am no scripting expert and just maintain the server and applications, but the font issue is a real pain
hope someone can help
thanks
Treds
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I have a script in ksh who I make a move from a File who is transfered from a another System.
So when I read this file under Unix HP , I cannot read the character ö or Ö .
A litlle Example :
I must can read Östereich but I read s^tereich
Can Anyone help me if there is a Unix... (3 Replies)
Discussion started by: steiner
3 Replies
2. UNIX for Dummies Questions & Answers
NEWBIE HERE...by default, where are the font files located (ttf's) (1 Reply)
Discussion started by: geek01
1 Replies
3. Solaris
Hi All,
Need some help here. Can anyone tell me how to set or which start up script to edit in order not to set the server to sleep mode after a while of inactivity. My Unix server will go to sleep mode and then i always end up with a OK Prompt and have to reset the server. My Server is a V120... (16 Replies)
Discussion started by: alvintai
16 Replies
4. UNIX for Advanced & Expert Users
Hi,
Can anyone please guide me how can I remove/block a user from a server access.
/usr/sbin/adduser -d /home/john john
echo ****** | passwd --stdin john
I used the above command to add a user "john". How do I delete and block john.
Appreciate your responses. (1 Reply)
Discussion started by: sureshcisco
1 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
I want to change the font and colour while writing them to a .rtf file using a shell script.
How can i do this?
Thanks & Regards
Dilip (1 Reply)
Discussion started by: DilipPanda
1 Replies
6. Shell Programming and Scripting
Hi,
I am having 2 servers, Need to delete files from server1 if those files exist in server2 other wise no action using sftp .And the process is non-interactive way. I have got confused how to check the condition in sftp because there is non of the shell condition or loop command is executing.... (2 Replies)
Discussion started by: posix
2 Replies
7. Shell Programming and Scripting
Hi folks,
As per mentioned in the title, how to create a shell script to delete those files from the server at 00000hrs every day?
Thanks in advance :) (2 Replies)
Discussion started by: kimurayuki
2 Replies
8. Red Hat
Hi Gents,
I know we can use nmap & telnet to find remove server ports, any other way for the same ?
thanks (1 Reply)
Discussion started by: heman96
1 Replies
9. UNIX for Dummies Questions & Answers
I have 3 servers A, B, C and server B is having some files in /u01/soa/ directory, these files i want to copy to server C, and i want to run the script from server A.
Script(Server A) --> Files at Server B (Source server) --> Copy the files to Server C(Target Server).
We dont have RSA key... (4 Replies)
Discussion started by: kiran_j
4 Replies
10. UNIX for Beginners Questions & Answers
I have googled this and found many solutions, but none of them are working for me. I am in a korn shell, most others reference bsh, maybe that is the issue? Anyway, all I am trying to do is use a variable I have declared in my main script in a remote shell I am running through ssh.
So I have a... (8 Replies)
Discussion started by: DJR
8 Replies
LEARN ABOUT SUNOS
fstobdf
FSTOBDF(1) General Commands Manual FSTOBDF(1)
NAME
fstobdf - generate BDF font from X font server
SYNOPSIS
fstobdf [ -server servername ] -fn fontname
DESCRIPTION
The fstobdf program reads a font from a font server and prints a BDF file on the standard output that may be used to recreate the font.
This is useful in testing servers, debugging font metrics, and reproducing lost BDF files.
OPTIONS
-server servername
This option specifies the server from which the font should be read. servername must be specified in one of the formats defined in
the Font Server Names section of X(7). If not specified, the server name in the FONTSERVER environment variable is used.
-fn fontname
This option specifies the font for which a BDF file should be generated.
ENVIRONMENT
FONTSERVER
The default server to use. The server name must be specified in one of the formats defined in the Font Server Names section of
X(7).
SEE ALSO
xfs(1), bdftopcf(1), showfont(1), fslsfonts(1), X(7).
AUTHOR
Olaf Brandt, Network Computing Devices
Dave Lemke, Network Computing Devices
Jim Fulton, MIT X Consortium
X Version 11 fstobdf 1.0.5 FSTOBDF(1)