This is an example of one way of doing what you want to do from within a shell script. It is a modified version of a code snippet I picked up some time ago on the Internet, forget where, so apologies to the original author.
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)
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)
Ih all,
i have multiples ksh scripts for crontab's unix jobs
they all have same variables declarations and some similar functions
i would have a only single script file to declare my variables, like:
var1= "aaa"
var2= "bbb"
var3= "ccc"
...
function ab { ...}
function bc { ... }... (2 Replies)
i need to output an ls command to a file but also capture any errors from that command and output them to a log file and the screen.
if it's only possible to output them to a log file and not the screen then that's fine.
this is what i've tried so far, but it won't populate log.txt. i've... (16 Replies)
Hi
I am new to this Scripting process and would like to know How can i write a ksh script that will call other ksh scripts and write the output to a file and/or email.
For example
-------
Script ABC
-------
a.ksh
b.ksh
c.ksh
I need to call all three scripts execute them and... (2 Replies)
Occasionally I see this in ksh scripts:
somepgm >| someoutputfile
This appears to be redirecting the output of somepgm to the file someoutputfile, and it does do so.
But when you remove the pipe symbol "|" from this command, output simply goes to the screen (stdout). Why do we need the... (6 Replies)
Hi,
I need to create one KSH which will send mail to set of recipients using "mailx" command like below.
mailx -s "Test mail" "test@yahoo.com, test@gmail.com" <$output.txt
The recipients are in different domains (like yahoo, gmail, etc.).
My requirement is, if any mail is undelivered,... (1 Reply)
hi,
I've a shell which does few manipulations on different text files. I need to divert all the output to a single file.
i dont want to mention the o/p file name in command prompt (or) in every shell command.
Is it possible to mention it part of the shell?
Thanks (2 Replies)
Hi ,
What is the diffence between executing the script like
./myscript.ksh
. ./myscript.ksh
I have found 2 difference but could not find the reason
1. If i export a variable in myscript.ksh and execute it like . ./myscript.ksh the i can access the other scripts that are present in... (5 Replies)
I have the following:
remsh $host -n 2>>syslog_issue_list.txt grep -i -e "EMS" -e "error" -e "warning" -e "excessive" /var/adm/syslog/syslog.log |
awk /"$DATE1"/ | awk -vhost="$host" '!/remsh|telnetd/{print host "\n", $0 >> "syslog_issue_list.txt"}'
I am creating a health script that has... (4 Replies)
Discussion started by: chipblah84
4 Replies
LEARN ABOUT DEBIAN
faxquit
FAXQUIT(8) System Manager's Manual FAXQUIT(8)NAME
faxquit - tell a HylaFAX server to terminate
SYNOPSIS
/usr/sbin/faxquit [ -q queue-dir ] [ modem ]
DESCRIPTION
faxquit sends a message to a HylaFAX server process telling it to quit operation.
If modem is specified, the faxgetty(8) process servicing the specified modem is notified. modem can either be the name (typically the last
component of the terminal port the modem is attached to), or the full name of the associated FIFO named pipe file, e.g. ``FIFO.ttym2''.
If no modem is specified, faxquit will send the request to the ``FIFO'' named pipe file causing the HylaFAX queue manager process to termi-
nate.
Note that server processes may not terminate immediately. In particular the faxq process will not exit until any active jobs are com-
pleted; this is necessary for proper operation (faxq must wait for child processes to terminate so that it can collect their exit status
and update the state of the jobs being operated on).
OPTIONS -q dir Use a spooling area other than /var/spool/hylafax.
FILES
/var/spool/hylafax default spooling area
/var/spool/hylafax/FIFO fifo for contacting faxq
Consult hylafax-server(5) for a complete discussion of the structure and content of the spooling area.
SEE ALSO hylafax-server(5), faxq(8), faxgetty(8)
October 3, 1995 FAXQUIT(8)