Viewing files of another unix server (in a folder)


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Viewing files of another unix server (in a folder)
# 1  
Old 07-20-2006
Viewing files of another unix server (in a folder)

I think that's what I'm trying to do. This is the problem:

I log onto my comp, Comp1. Then, from the terminal, since my web server is on another comp, I type: xrlogin Comp2, so I log on to that computer. I then navigate to my directory by typing: cd /domain/myDir, so I am in my directory, on the terminal. I can list the files with the standard ls command and such, but what I want to know is: is there a way I can view the files in a folder, similar to the file manager? I don't just want to see a list of the files, I want to be able to see the actual files in a file manager type format. Is this possible?

Thanks in advance.
# 2  
Old 07-20-2006
You can create an NFS mounted remote disk from Comp2 to Comp1. try man nfsd or man biod. IF this is part of startup on both machines, the remote filesystem will always be there on Comp1, barring problems.

You can also try
Code:
remsh Comp2 "ls /home/myfolder"

# 3  
Old 07-20-2006
man biod came up with nothing. man nfds worked, but I don't really know what it is talking about. As for remsh, I don't get that either. I'm completely new to Unix. DO you think perhaps you could explain these commands to me?

I should have mentioned this earlier, but I do not have physical access to Comp2. I can log on remotely, but I can't get to the actual computer.
# 4  
Old 07-20-2006
nfsd is something the guy who owns and runs Comp2 has to do, not you.
The whole NFS thing is a sysadmin job. Without NFS you will not be able to see the remote folder in the "file manager" window.

Actually based on your description, I'd say that without somebody local and knowledgeable who can help, you're going to have to learn a lot before you can implement anything really useful.

remsh is like rlogin, but it accepts just one command. It's possible you have rexec.
Sounds like you have Linux, so try info rexec.

The which command will show you what is on your system - for example suppose you want to see if remsh is available:
Code:
which remsh

If it comes back with a filename maybe like "/usr/bin/remsh" you know it's on your box.
Otherwise it will complain.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

Transfer of zipped folder from windows desktop to UNIX server

Hi all, I'm a newbie to unix. My requirement is to create an automation script which will transfer a zipped folder from my/remote desktop to an unix server. Tools lik WinSCP shouldnt be used. No manual moving. I use putty to connect to server. I couldnt find any help on this topic. Should i use... (3 Replies)
Discussion started by: sherin22
3 Replies

2. Shell Programming and Scripting

BatchScript/Unix shell Script to check folder in Windows server

Hi, It will be great help if any of them can provide or tell which scripting is possible to write for checking folder exists or not in Windows server from Unix/Windows machine. If folder doesn't exist then need to create the folder through script and copy the files. It is on very... (1 Reply)
Discussion started by: prakashchakra7
1 Replies

3. Shell Programming and Scripting

Copy folder and files from unix server to linux server

We would be migrating unix solaries to Linux redhat. Basically source is unix and target is linux. i would like to copy entire file system unix/source/* to target linux/souce/* but target linux has only folder setup so what ever files copied need to be placed in the linux server with same... (8 Replies)
Discussion started by: balajikalai
8 Replies

4. Shell Programming and Scripting

Find and delete files and folders which are n days older from one unix server to another unix server

Hi All, Let me know how can i find and delete files from one unix server to another unix server which are 'N' days older. Please note that I need to delete files on remote unix server.So, probably i will need to use sftp, but question is how can i identify files and folders which are 'N'... (2 Replies)
Discussion started by: sachinkl
2 Replies

5. UNIX and Linux Applications

Need to copy the latest file from Unix server to Shared folder

Hi All, One job in unix server will generate .csv files daily. I need to copy the latest of these .csv file from the unix server to the shared drive/folder in windows through unix script. My shared folder will look something like W:\some folder(for example). Could any one of you please help... (3 Replies)
Discussion started by: jaya@123
3 Replies

6. Shell Programming and Scripting

script for to take files from FTP server to UNIX server and Unzipped that files

script for to take files from FTP server to UNIX server and Unzipped that files (1 Reply)
Discussion started by: sunilamarnadh
1 Replies

7. Shell Programming and Scripting

how to FTP a file from the local folder to unix server

Hi All, please help me to write a shell that ftp a file which is in the local (C:\) drive to a Unix server. Where as i know the IP for the Unix server. i could do this process by using ftp command. pls help me to write as Shell script. Thanks in advance for all of your answers.:b::b: (3 Replies)
Discussion started by: little_wonder
3 Replies

8. UNIX and Linux Applications

Copy folder and its contents from HP Unix server to RH Linux

I am trying to copy a folder and all its contents from HP Unix box to RH linux, using the following. rsync -avz -e "ssh" /users/www/webroot/docFiles/Division/Ctry ftpuser@10.4.xxx.yz:/data/webroot/development/contentfiles/webroot/docFiles/Division/Ctry/QAfiles And it throws a consistent... (2 Replies)
Discussion started by: FanTom
2 Replies

9. Programming

unix C++: get the files from a folder

Hello everybody! How can I get the list of files from a folder in C++ (unix)? thanks in advance for any help! regards (2 Replies)
Discussion started by: nadiamihu
2 Replies

10. Shell Programming and Scripting

How can i move data files from a server to unix folder

Hi: I am very new in UNIX environment. I need big help. How I can move data files from a server to UNIX folder by script. I don't want to use ws-ftp. The script should check the file on server, if any file found, move it to UNIX folder. I will be very happy, if some one helps me out.... (1 Reply)
Discussion started by: shah2
1 Replies
Login or Register to Ask a Question