Search Results

Search: Posts Made By: skhichi
1,083
Posted By skhichi
nopes not working :( ---------- Post updated...
nopes not working :(

---------- Post updated at 02:09 AM ---------- Previous update was at 02:08 AM ----------

thers is some issue in matching hyphen "-" ...
1,083
Posted By skhichi
i tried the same its giving me same error. ...
i tried the same its giving me same error.

---------- Post updated at 01:40 AM ---------- Previous update was at 01:37 AM ----------

Seems there is some problem with $3 == "-" only as I tried...
1,083
Posted By skhichi
awk error in script
Hello Team,

I am using below awk code in the script



ssh -o ConnectTimeout=15 -n -l USER SERVER awk -F'\;' '{ if ( $3 == '-' && $1 ~ /[ES]/ ) print }' *20130706*



but its giving...
6,010
Posted By skhichi
Shell Script to test telnet connection using port
Hello,

I need to test telnet connections using port number for few hosts.

Could you please help me?

Thanks !!
1,254
Posted By skhichi
thanks a lot for your help :)
thanks a lot for your help :)
1,254
Posted By skhichi
ok with anything file or variable ..... any can...
ok with anything file or variable ..... any can help
1,254
Posted By skhichi
RegEX help needed
Hi,

Have to filter out string before the last underscore in the following

input: UNIX_Solaris_59_KSH

output: UNIX_Solaris_59

dummy one but :mad:

Thanks & Regards,
Sourabh Singh...
6,875
Posted By skhichi
Thanks Bro .... it helped much .. relaxed now :)
Thanks Bro .... it helped much .. relaxed now :)
6,875
Posted By skhichi
Ssh connection from Sun OS to Linux server
Hello,

I ahve written a shell script which is doing ssh from UNIX Sun Os to multiple Linux servers one by one using loop. but after first iteration the script is getting exit. Rather it should...
13,881
Posted By skhichi
date -d "20101024 next day" +%Y%m%d date:...
date -d "20101024 next day" +%Y%m%d
date: illegal option -- d
usage: date [-u] mmddHHMM[[cc]yy][.SS]
date [-u] [+format]
date -a [-]sss[.fff]
:(

---------- Post updated at...
13,881
Posted By skhichi
How to get next date for a given date?
Hello,

I need to get next date of a given date using korn shell script.

for example:

given date is 20101024
so need to have 20101025

Please suggest.

Thanks !!
9,568
Posted By skhichi
Actually I need to send csv attachment and html...
Actually I need to send csv attachment and html text together in a single mail so that below data comes in tabular format in mail body and in csv as a attachment:

1,2,3
4,5,6
7,8,9

Please...
9,568
Posted By skhichi
SunOS 5.10 and ksh
SunOS 5.10 and ksh
9,568
Posted By skhichi
Sending a csv attachment and html text together.
Hello,

I need to send below text (in a file ABC)as html text in mail body and the same as csv attachment
1,2,3
4,5,6
7,8,9

but to send as html text in mailbody we use
echo "Subject:...
17,181
Posted By skhichi
Thanks bro it worked :) yeah its solaris .......
Thanks bro it worked :) yeah its solaris .... Have to put it across 50 servers .. hope all of them have /usr/xpg4/bin/awk :)
17,181
Posted By skhichi
$ awk '/^\014/{sub("\014","")}1' x awk: syntax...
$ awk '/^\014/{sub("\014","")}1' x
awk: syntax error near line 1
awk: illegal statement near line 1
awk: syntax error near line 1
awk: bailing out near line 1


:(
17,181
Posted By skhichi
Sorry, didnt work .... actually this character is...
Sorry, didnt work .... actually this character is only visible in vi editor. If we do cat it simply shows a space as below:

HELLO "I "
HELLO "I "
HELLO "I"
HELLO "I "
HELLO "I "

:(
17,181
Posted By skhichi
Remove ^L character from a file
Hello,

I need to remove ^L character from a file as below:

HELLO "I "
HELLO "I "
^L HELLO "I"
HELLO "I "
HELLO "I "

Please suggest.

Thanks !!

Please use next time code tags...
12,867
Posted By skhichi
actually there are n number of lines int he file...
actually there are n number of lines int he file so some have that string and some doesnt have it .... I need to find out lines based on pattern match and based on that have to do another string...
12,867
Posted By skhichi
pattern match in a string
Hello,

Please see below line code:


#!/bin/ksh
set -x
/usr/bin/cat /home/temp |while read line
do
if [[ "$line" == "start time" ]]
then
echo "matched"
else
echo "nope"
fi...
1,394
Posted By skhichi
Actaully sshX is an alias created with dummy...
Actaully sshX is an alias created with dummy profile on server A.

With script execution, I am really not able to understand why its not able to find it out when we are saying su as well.
1,394
Posted By skhichi
no passwdless ssh can not be done. with...
no passwdless ssh can not be done.

with above it's not able to find out sshX :wall:

Actaully sshX is an alias created with dummy profile on server A.

With script execution, I am really...
1,394
Posted By skhichi
su using a shell script
Hello,

I am writing a script on server "A" to go to server "B" and run a command on server B. The output needs to be redirected to a file on server "A"

we do not have direct access from...
3,571
Posted By skhichi
Hi All, Thanks a lot for your help. ...
Hi All,

Thanks a lot for your help.

siva shankar,

Your inputs worked :) Thanks a lot !!

Regards,
Sourabh
3,571
Posted By skhichi
Thanks for the reply. The problem is we do...
Thanks for the reply.

The problem is we do not have access of A.sh (as in your example). So it would not be possible to export the same variable name (as in B.sh) varibale corresponding to A.sh....
Showing results 1 to 25 of 30

 
All times are GMT -4. The time now is 08:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy