How can I find one file in other machine?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How can I find one file in other machine?
# 1  
Old 11-03-2009
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  
Old 11-03-2009
Possibly you should login to that machine.

And then do find over there !!
# 3  
Old 11-03-2009
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  
Old 11-03-2009
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  
Old 11-03-2009
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  
Old 11-03-2009
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  
Old 11-03-2009
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
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Can not find Machine SN

I have some VMs where I could identify that they are hosted on SPARC T4-2 . I am trying to figure out what is the SN of the box/es from gathered explorer logs but the output of the executed commands gave unknown. Any idea how to get out the SN? Please let me know if further clarification... (6 Replies)
Discussion started by: ahmedamer12
6 Replies

2. Windows & DOS: Issues & Discussions

find wwn in windows machine ?

Hi guys .. How to can I know the HBA WWN address in the windows machine ? Pls advice with command ... (1 Reply)
Discussion started by: roooooot
1 Replies

3. AIX

find nim server of a machine

Hi, i would like to know how can i find , in a client machine , the nim server. the nim server that this machine have , if the machine have it Thanks :confused: (1 Reply)
Discussion started by: prpkrk
1 Replies

4. AIX

How to Find if AIX machine is LPar or not

Hi, I want to know if there is any command which will tell me if an AIX machine is a LPar or not. I am using "lparstat -i" but it does not work on all AIX machines. Is there any generic command by whose output I will come to know if it is an LPar or not? Please help. Thanks, Vineet (3 Replies)
Discussion started by: vineetd
3 Replies

5. UNIX for Advanced & Expert Users

how to find out if a port is available on a remote machine?

hi, I can ping into another unix machine, but I cannot seem to access a certain application. I think it might be because I am now allowed to connect to the port (because of firewall configuration). How can I find out if I have access to a port on another machine? thanks (2 Replies)
Discussion started by: JamesByars
2 Replies

6. Red Hat

To find the LATEST file from a dir on REMOTE machine and SCP to local machine?

Hi All, URGENT - Please help me form a scipt for this: I need the LATEST file from a dir on REMOTE machine to be SCP'd to a dir on local machine. (and I need to execute this from local server) I know that the below cmd is used to find the LATEST file from a dir. But this command is not... (3 Replies)
Discussion started by: me_ub
3 Replies

7. Shell Programming and Scripting

How to Find JRE installed in linux machine..?

Hi all, Im new to linux... Im in need to write a shell script to check wthr JRE in linux machine... Wtz de best way to find thru BASH?? Plz help me out to solve this issue... Thanks (3 Replies)
Discussion started by: XivaX
3 Replies

8. Programming

trying to find number of caches on a machine

I am trying to find the number of caches on a machine programatically. #include <stdio.h> #include <malloc.h> int main(void) { int *ptr,*ptr1,i,j; j=0; i=1; printf("Changing allocation with brk()\n"); while(1) { for(j=0;j<i;j++) { ptr =... (1 Reply)
Discussion started by: jacques83
1 Replies

9. UNIX for Dummies Questions & Answers

How to find which machine ...

Hi friend, pls let me know .. 1)How to fine which UNIX machine Ex . whether it is 32 bit processor OR 64 bit processor .. 2) HP-ux is machine or Architectural ? pls replay as soon as possible .. Thanks.. (3 Replies)
Discussion started by: premnathk
3 Replies
Login or Register to Ask a Question