10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hallo Team,
I am trying to get rid of the dollar sign. I managed to remove all the other special characters but i am struggling with this one.
-bash-3.2$ cat -e missing_revenue_20141112.csv|less|head
BW0522168531211141180935668@196.23.110.141$
BW092218784121114-370120610@196.23.110.141$... (4 Replies)
Discussion started by: kekanap
4 Replies
2. Shell Programming and Scripting
I have the following bashwhile read -r line; do
dcs_dportal_utl get all for $line >>file.txt
if
CONTROL=$(date +"%d%m%Y_%H%M%S")
echo -e $line 'Created_'$control >> control.txt
done < list.txt
sed '/^$/d' file.txt>list_jac.txt
echo '------------------ DONE' >> control.txt
this... (7 Replies)
Discussion started by: viviblue1
7 Replies
3. 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
4. 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
5. Shell Programming and Scripting
How do I gain control of the "Connection closed by foreign host" message telnet yields when you connect to it in a shell script? I'm using the output:
#!/usr/local/bin/bash
count=$(ping -c 1 $1 | grep 'received' | awk -F',' '{ print $2 }' | awk '{ print $1 }')
if ; then
echo "$1 PING "... (2 Replies)
Discussion started by: phpfreak
2 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. Shell Programming and Scripting
Hello,
What is the best way to control the running of scripts?
For example, i have a k1.ksh script java pgm that checks to make sure that the file counts in a particular directory are equal to a total file count value in a control file updated from my PC.
If i run this k1.ksh script and... (3 Replies)
Discussion started by: bobk544
3 Replies
8. UNIX for Advanced & Expert Users
Hi,
I am very new to Control-M . If anywone know about the global conditions in Control-M. (5 Replies)
Discussion started by: oraclenerd
5 Replies
9. Solaris
I want to check system memory
Usage of CPU and disk and report number of free disk block in Sun Solaris
How can I do
Help me
thks (2 Replies)
Discussion started by: iwbasts
2 Replies
10. Shell Programming and Scripting
Anyone know how to remove ^M's from a text file using sed command? (6 Replies)
Discussion started by: djkane
6 Replies