The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to Find if AIX machine is LPar or not vineetd AIX 3 09-05-2009 04:19 PM
how to find out if a port is available on a remote machine? JamesByars UNIX for Advanced & Expert Users 2 08-03-2009 09:45 AM
To find the LATEST file from a dir on REMOTE machine and SCP to local machine? me_ub Red Hat 3 07-08-2009 01:57 AM
How to Find JRE installed in linux machine..? XivaX Shell Programming and Scripting 3 01-31-2008 09:18 PM
How to find which machine ... premnathk UNIX for Dummies Questions & Answers 3 07-17-2006 09:40 AM

Closed Thread
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
  #1 (permalink)  
Old 4 Weeks Ago
w062611 w062611 is offline
Registered User
  
 

Join Date: Nov 2009
Posts: 4
How can I find one file in other machine?

Hi all,
I logged in one machine. I want to find one file in other machine. However, I don't know exactly which and where the machine is. I used nmap command to search all available hosts in this network range. I got two available machines through this action. But I still can't find the file I want to access. Anyone has any idea about that? Thanks
  #2 (permalink)  
Old 4 Weeks Ago
thegeek thegeek is offline
Registered User
  
 

Join Date: Apr 2009
Location: /usr/bin/vim
Posts: 455
Possibly you should login to that machine.

And then do find over there !!
  #3 (permalink)  
Old 4 Weeks Ago
w062611 w062611 is offline
Registered User
  
 

Join Date: Nov 2009
Posts: 4
Hi,
The question is that I don't own any information for other computer. The only thing currently I have is the thing I used to log in. I must use this information to find file in other machine. Can I do this by just this information? Thanks
  #4 (permalink)  
Old 4 Weeks Ago
thegeek thegeek is offline
Registered User
  
 

Join Date: Apr 2009
Location: /usr/bin/vim
Posts: 455
After logging in to the remote server, if you want to find 'sample.txt' from root, then do the following

Code:
find / -name 'sample.txt'
  #5 (permalink)  
Old 4 Weeks Ago
w062611 w062611 is offline
Registered User
  
 

Join Date: Nov 2009
Posts: 4
Thanks,
The question is that I don't know exactly where and which the machine is. I have used find command to search if this file is existed in this remote file. But it didn't exist here. So the file is existed in other machine. Can I use this remote server I just logged to find the file in other machine? Have any idea for that? Thanks
  #6 (permalink)  
Old 4 Weeks Ago
pogdorica's Avatar
pogdorica pogdorica is offline
Registered User
  
 

Join Date: Oct 2009
Location: Madrid
Posts: 55
Hi. If your user is wellcomed in the other machine (exists in file rhosts), maybe you can use "rsh host -c command / remote shell".
  #7 (permalink)  
Old 4 Weeks Ago
pludi's Avatar
pludi pludi is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2008
Location: .at
Posts: 1,907
If you've got legitimate access to the other machine, use the find command given above. If you don't have access to that machine, please give us a good reason why you need to access it. Otherwise I'll invoke Rule 12
Closed Thread

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 11:22 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