The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
PC connection to an old UNIX machine tonyingesson UNIX for Dummies Questions & Answers 8 01-24-2006 01:56 PM
missing Path(in UNIX) when i launch a job on to unix machine using windows SSh megastar UNIX for Advanced & Expert Users 1 11-04-2005 07:36 AM
HTTPS connection unix rkumar28 UNIX for Advanced & Expert Users 2 06-24-2004 07:20 PM
unix to unix serial connection question typsam IP Networking 1 10-17-2002 04:39 PM
Unix/WindowsNT Connection elrod UNIX for Dummies Questions & Answers 2 11-20-2000 08:13 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 11-01-2006
decci_7 decci_7 is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 17
Connection to another Unix machine

Requirements

I'm running a shell script from one Unix server A which calculates the line count using "wc -l" of a file which resides in another unix server B.

I have tried the ssh also but i'm not very clear about it and its throwing error. The command I'm trying to use is:

ssh user1@serverB /temp/tmpdir/wc -l abc.txt

Please let me know how can i achieve the same using the shell script.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:17 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0