Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have two Redhat Linux systems and I want create a share on each and then be able to copy files to each using scripts etc. (I dont want to use FTP)
What is the most standard way of doing this?
I have read that you can use /etc/exports which seem easy enough, but how does one connect to the remote share and copy files etc, is this command line or file browser etc.
It allows a remote filesystem to appear as if it was mounted locally, so it becomes part of your directory tree. The remote filesystem is "mounted" locally, thereafter there's no "connection" to be handled - NFS handles all that invisibly for you.
IIRC there are some security considerations, but you should be fine on your LAN
You can use any tools you like to manipulate these files: the GUI, the CLI, whatever. Here's a link to a NFS HOWTO
It allows a remote filesystem to appear as if it was mounted locally, so it becomes part of your directory tree. The remote filesystem is "mounted" locally, thereafter there's no "connection" to be handled - NFS handles all that invisibly for you.
The same can be done with Samba if there may be occasion to connect using a windows machine, then samba might be for you.
There's no point in using samba if you have only linux PCs.
Don't forget that if you are running KDE and have ssh running on both machines, konqueror has the awesome fish://user@remotehost protocol. The remote user's /home shows up in your file manager, and you can drag and drop files and directories between machines. This is quick & easy when you just want to grab a file or two from some other computer. It is also secure, because it connects by using ssh.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.