07-06-2001
Append and redirect
Can somebody please explain to me what redirection (>) and append are? What is the difference between > and >>?
Thank-you
10 More Discussions You Might Find Interesting
1. IP Networking
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT DEBIAN
net::sip::redirect
Net::SIP::Redirect(3pm) User Contributed Perl Documentation Net::SIP::Redirect(3pm)
NAME
Net::SIP::Redirect - Send redirect to Requests based on lookup at a registrar
SYNOPSIS
my $reg = Net::SIP::Registrar->new(...);
my $redir = Net::SIP::Redirect(
dispatcher => $dispatcher,
registrar => $reg,
);
DESCRIPTION
This package implements a simple redirection of Requests using the information provided by a registrar.
CONSTRUCTOR
new ( %ARGS )
This creates a new redirect object, %ARGS can have the following keys:
dispatcher
Net::SIP::Dispatcher object manging the registar. Mandatory.
registrar
Registrar object. This is an object like a Net::SIP::Registrar, which has a "query(address)" method which returns a list of
contacts.
METHODS
receive ( PACKET,LEG,FROM )
PACKET is the incoming packet, LEG is the Net::SIP::Leg where the packet arrived and FROM is the "ip:port" of the sender. Responses
will be send back to the sender through the same leg.
Called from the managing Net::SIP::Dispatcher object if a new packet arrives. Will return "()" and ignore the packet if it's an
REGISTER request.
For Requests it will query the registrar and return either "302 Moved Temporarily" with the list of contacts or "404 Not found" if the
address is not registered.
perl v5.14.2 2010-05-31 Net::SIP::Redirect(3pm)