Hi,
I have 10 database instances runnning in one unix box. To connect to each database..i have to set the environment. I am trying to write a shell script to set my environment for database by just tying the oracle instance name
After logging into the unix machine... i want to type the... (3 Replies)
Hi all,
Here is my shell script
#!/bin/sh
echo "What is your name"
read name
echo "What is your surname"
read surname
echo "Your name is:${name} and your surname is:${surname}"
How can I modify this script so that I input those two variables from console?Lets say my name is "first"... (3 Replies)
Hello,
I am making a script to copy files interactively from one directory to another using the "i" option because I dont want to overwrite the files.
cp -i *.html ./../otherdir/
cp: do you want to overwrite (y/n) ?
I used
cp -i *.html ./../otherdir/
ans='n'
read $ans
... (4 Replies)
how can we give input to parent shell?
i mean shell that is creating a child and our c prograame will run on that child..and then it return to parent shell..
what i want to do i want execute a c programe that will give command as input to parent shell & get output from parent shell and... (1 Reply)
Hello!
Need help with the following:
#!/bin/bash
streamripper http://mp3-live.swr.de/swr2_m.m3u -D ~/RadioMitschnitt -l 200 > /dev/null 2>&1
I want to change the script so that it asks for an input for "-l 200" (means length 200sec) and starts then with the new value for "-l".
Can I do this... (2 Replies)
Hi all
i have the command called printer which needs a usernmae for example i would run the commnad
printer <username>
how can i write i quick script in perl that if the username is ab then write "denined" and if it is anything else it will work
thanks
Adam (1 Reply)
1. The problem statement, all variables and given/known data:
I'm fairly confident I can brute force this assignment, but let's not do that ;-).
Basically I'm required to support input such as ps aux | grep blah >> blah.txt& echo 'slslslsl'
My question is what is the best way to parse that... (4 Replies)
Hi,
I'm trying to create files in ccm thru a shell as the number of files that i need to create is in hundreds
The problem here is the command prompts for the file type to be entered by the user. I need all the files to be created with "ascii" as file type. So how can i input a... (1 Reply)
i want to get input and depending on it create new commands for input to expect.
But problem is that after giving date or month as 01-09 it is interpretation as 1-9
echo -n "ENTER DATE "
read d1
echo -n "ENTER MONTH "
read m1
echo -n "ENTER YEAR"
read y1
o=1
i=1
d2=`expr $d1... (1 Reply)
I still cannot figure out how to get this read command to work. I want the script to ask questions when prompted, and the user to enter a response. Based on response it will continue or exit. I have not worked with this type of script before so I am almost clueless on what to do, and so far google... (6 Replies)
Discussion started by: bigbenn
6 Replies
LEARN ABOUT DEBIAN
fixnt
fixnt(1) Debian fixnt(1)NAME
fixnt - Filter for the Windows NT postscript printer driver.
SYNOPSIS
fixnt < BADFILE.ps > GOODFILE.ps
DESCRIPTION
The Windows NT postscript driver has a tendency to make broken postscript files, that are incompatible with psutils. fixnt is a filter
that fixes these problems, allowing the use of psnup(1).
The filter takes the broken postscript file on stdin, and outputs a fixed postscript file on stdout. It has no other form for invocation
and takes no options on the command-line.
OPTIONS
fixnt takes no options.
BUGS
fixnt does not check for NTPSOct94. For a workaround, use a sed(1) command to replace 'NTPSOct94' with 'NTPSOct95', like so:
sed 's/NTPSOct94/NTPSOct95/g'
This is particularly important for Windows NT 3.5 users.
AUTHOR
fixnt was written by Holger Bauer <Holger.Bauer@topmail.de>, Michael Rath <rath@itsm.uni-stuttgart.de>, and Akim Demaille
<demaille@inf.enst.fr>.
REPORTING BUGS
Report bugs to the Authors, but avoid sending large postscript files.
Patches are always welcome; send to <bauer@itsm.uni-stuttgart.de>.
SEE ALSO psnup(1), sed(1)a2ps February 2003 fixnt(1)