Search Results

Search: Posts Made By: id100
11,980
Posted By id100
Remote ssh and return values..
hi

I'm executing below 2 cmds which is working file.. ( cmd will ssh to remote host and look for pattern in remote file)

ssh $USER@$HOST "grep -n \"$PATTERN\" $RDIR/$RFILE | awk -F":" '{print...
1,682
Posted By id100
Phrasing err ssh...
hi....

below cmd (to get current hour - 1) works in localhost...whereas to get the same value in remote host..no result.. looks some pharsing error...can someone help?

$ date
Monday, 3 May...
3,419
Posted By id100
It works......Thanks a lot Scottn
It works......Thanks a lot Scottn
3,419
Posted By id100
ssh - to execute set of commands
Hi


Can someone help me to figure out


Want to execute few cmds in remote host thru ssh


Tried below cmd

-------------------------------excerpt-------------------
RDIR=/data1/logs...
Showing results 1 to 4 of 4

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