10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi AM Using Unix Aix
Used
${CMD} 2> ${ERR}
Dont get what above statement works .
SCRIPT=`basename $0`
ERR=$PWD/$SCRIPT.err
DATE=`date +"%d/%m/%Y"`
CMD=2
${CMD} 2> ${ERR}
if
then
echo "SUCCESS"
else
echo "FAILURE"
fi (1 Reply)
Discussion started by: Venkatesh1
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I want to know the difference between these two services. Both are under xinetd. Both are used for enabling and disabling Telnet service. So, can somebody please explain me the difference between the two ?
Thanks in advance :) (0 Replies)
Discussion started by: kashifsd17
0 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I was writing one script which includes to switch to the another telnet automatically from the present telnet server. I was using rlogin but firstly it takes the same user name of the present telnet and secondly it is prompting for the password.
But i want to switch to the another telnet... (2 Replies)
Discussion started by: Prateek
2 Replies
4. Shell Programming and Scripting
I am trying to create the file and redirect the output in the same command line which is line 4 in the below program.
#!/bin/bash
read -p "Enter File Name:" value1
echo "Your File Name is $value1"
sed 's/abcd/'$value1'/g' abcd_calls > $value1_calls
This is the error it generates
... (3 Replies)
Discussion started by: learnbash
3 Replies
5. Web Development
Dear All
I need to redirect requests coming in on a second domain, to a page within an existing web site.
So basicly
http:\\webtest should be redirected to http:\\ustnd5\ukt\newsroom\newsroom.jsp
I have the line
ProxyPassReverse /ukt/newsroom/newsroom.jsp http://webtest:10080/
... (1 Reply)
Discussion started by: wjones
1 Replies
6. Shell Programming and Scripting
Somewhat long story:
I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage.
This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies
7. UNIX for Advanced & Expert Users
I in no means consider myself a expert in unix however my question is a little more complex. I am running a mac os 10 server and all web settings and email settings have been set up using the unix terminal. I am in the process or redirecting my mxrecords to a spam filtering company but i am... (11 Replies)
Discussion started by: nbredthauer
11 Replies
8. Shell Programming and Scripting
Hi,
I want to move the output of a command/script to a file as well as to to be displayed on stdout.
Can anybody help me in this. Thanks in advace ..
-Chanakya M (1 Reply)
Discussion started by: Chanakya.m
1 Replies
9. Programming
How to redirect the contents of a file to a command?
The contents of the file are the arguments necessary for the command.
thx in advance.
bye
svh (5 Replies)
Discussion started by: svh
5 Replies
10. UNIX for Dummies Questions & Answers
Hi guys;
I want to show what am I doing on a terminal into another. I did something close but its not working really good.
Example: cat /dev/pts/12 >/dev/pts/13
where 12 is my terminal and 13 its the other terminal.
This is usefull for me to share my small unix knowledge to other people... (4 Replies)
Discussion started by: piltrafa
4 Replies