How to transfer files across two linux systems with a bare usb cord?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
How to transfer files across two linux systems with a bare usb cord?
I am working on a programming project where I am supposed to transfer some data(text or a file probably) across two computers via a plain A-A USB cable. How difficult is it to transfer data via usb? Are there any commands in linux that might would abstract the usb hardware (such as "Readbyte()" or "Sendbyte") or will I need to go more in depth and make a driver?
FYI Since you didn't specify hardware one of the computers must be capable of being a USB device or OTG. If not then you can not use a plain USB cable and there is the possibility of damaging hardware if you did.
True, and just like the other thread I do not want to get into a debate over terms. Just wanted to caution the OP. Hopefully will get a better idea on the type of hardware being used in the project.
FYI Since you didn't specify hardware one of the computers must be capable of being a USB device or OTG. If not then you can not use a plain USB cable and there is the possibility of damaging hardware if you did.
The computers would just be two Dell PCs with linux installed. Would I need to use a bridged usb cable? The main point of the project is programming the file interfacing, so a cord that came with software for file management already installed would not be preferable. Would using one PC and having it communicate and write files to a jump drive or vice versa when the drive is plugged in work better?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.