Sponsored Content
Full Discussion: Append and redirect
Top Forums UNIX for Dummies Questions & Answers Append and redirect Post 3595 by Andy Hibbins on Friday 6th of July 2001 05:18:22 PM
Old 07-06-2001
Hi,

If you use > to redirect output to a file a new file will always be created:

Using >> to redirect output to a file will only create a new file if the file doesn't exist, if the file exists then the output will be appended to the end of the file.

Andy Hibbins Smilie
 

10 More Discussions You Might Find Interesting

1. IP Networking

Redirect

I'm sittig behind a firewall that doesn't allow ftp. I have a conection to a UNIX system, connecting throug SSH. Is it possible to redirect the ftp through the UNIX to my computer? (1 Reply)
Discussion started by: <Therapy>
1 Replies

2. UNIX for Dummies Questions & Answers

how do redirect in bind

Hello all! Does anyone know how to redirect i link to a host or alias name? Here is the example: i wank to type "Bob" in my browser and be redirected to http://192.168.54.37:7001/Bob/BobMainServlet on that perticular port. Im using Redhat 6.2 with bind 9.2.3 regards... dOzY (4 Replies)
Discussion started by: dozy
4 Replies

3. Shell Programming and Scripting

Redirect output

Hi all, I have a script which call a java program, the logging (to log file) in the program is done using log4j. However, as a safety measure, i still choose to direct standard error to another log file as follow /usr/bin/java -classpath ${classpath} -Xmx128m TestingProgram 2>>... (1 Reply)
Discussion started by: mpang_
1 Replies

4. UNIX for Dummies Questions & Answers

Sendmail MX redirect

Hi I have a working sendmail setup for my domain, but would like to run a subdomain on another machine. I could try below, but its a production server and worry about messing it up. Hence the question. So I have machine names: mydomain.com (mail server) dev.mydomain.com currently the... (1 Reply)
Discussion started by: gtrava01
1 Replies

5. Shell Programming and Scripting

Redirect Problem

Hi, I have perl script which is calling an external command using "system()" with argument. But i am not able to capture the output.Even tried with backtick also with no luck. . . $number=<>; system ("cmd $number >output.txt"); (2 Replies)
Discussion started by: rasingraj
2 Replies

6. Web Development

URL Redirect

Just want to give a background. Currently, our company web site is redesigned and there are about 200 current URLs will have new redirects. I don't want to enter them in the config file rather would like to have them in a text file/config file and referring the file from the config whenever the... (2 Replies)
Discussion started by: jawak
2 Replies

7. Shell Programming and Scripting

Redirect capitalize

How do i send the output from the date command to a variable called today easy: today=$(date) but how can the output be capitalized on a single command ? (2 Replies)
Discussion started by: JuankyKong
2 Replies

8. Shell Programming and Scripting

Problem with << redirect - Please help!

I have a script to send an email like below. Problem is, the if ..fi block is not getting executed, and is coming as a part of the email body. Can anyone take a look at this? :confused: Log file shows this: SEND_MAIL.prog: line 64: : command not found echo "Input Parameters" echo... (11 Replies)
Discussion started by: mansmaan
11 Replies

9. UNIX for Dummies Questions & Answers

How to append a string by cat and redirect to other file?

Hi, when I do cat for kernel parameters cat /proc/sys/kernel/sem >> /etc/sysctl.conf 4096 4096 32 128 The above command working with out any doubt but I want to pass it like below, need to append "kernel.sem =" and pass it to /etc/sysctl.conf kernel.sem = 4096... (2 Replies)
Discussion started by: stew
2 Replies

10. Shell Programming and Scripting

Ftp redirect

Hi i want to redirect a list of ftp file to an exsisting file by mls x.txt mylocalfile.txt result of this command corrupt my data on mylocalfile.txt , please help me (2 Replies)
Discussion started by: rezasadeghi
2 Replies
MKTEXPK(1)						      General Commands Manual							MKTEXPK(1)

NAME
mktexpk - create a PK file for a font SYNOPSIS
mktexpk [options] font [redirect] DESCRIPTION
This manual page is not meant to be exhaustive. The complete documentation for this version of TeX can be found in the info file or manual Kpathsea: A library for path searching. mktexpk is used to generate a pk file from the Metafont source files or type1 sources for font, if possible. If redirect is given, it must be string of the form >&n where n is the number of the file descriptor which is to receive, instead of stan- dard output, the name of the generated file. mktexpk is typically called by other programs, rather than from the command line. OPTIONS
mktexpk accepts the following options: --bdpi num Set the base device resolution. --dpi num Generate the font at resolution num. --help Print help message and exit. --mag mag The Metafont magnification that corresponds to the combination of bdpi and dpi that has been specified. --mfmode mode The Metafont mode to use. --destdir dir A directory name. If the directory is absolute, it is used as-is. Otherwise, it is appended to the root destination directory set in the script. --version Print version information and exit. BUGS
If the mode is not specified, mktexpk tries to determine it from bdpi. The manner in which this is done is primitive. Since bpdi doesn't provide sufficient information to uniquely determine a mode it is strongly recommended that it be specified explicitly. If the mode and bpdi don't match, the mode is discarded. The dpi parameter is redundant, but is not checked for consistency. Worse, the program will fail if the wrong dpi is specified. SEE ALSO
mktexmf(1), mktextfm(1). Kpathsea 6.1.0 1 March 2011 MKTEXPK(1)
All times are GMT -4. The time now is 10:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy