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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Since you encourage me to post it will be only you to blame !
I am a completely computer illiterate and I ask to be excused if my questions seem outrageous.
Here is one: I want to move files from a hdd of computer 'a' to a hdd of computer 'b'. The machines are phisically independed, they share though the same web line. They are near each other, so I thought to ask if it is feasible to connect them with a usb cable and proceed with the cp or dd command, or since this is not very likely, if I could dismount one of the hdd and connect it temporarily on the other machine and proceed thus.
Will the host machine recognize the visitor and behave, or will it swear and misbehave at everybody ? the files are videos about 30GB.
There are a ton of ways you can accomplish this task. If you have a gigabit/100 base T router/switch you could always copy it over the network through either scp or rsync.
The method you are talking about using should work fine as long as the drives are setup properly. Obviously the drive you place in the other computer would need to be a slave and you could just mount the drive and copy the files using a standard cp.
Here is some more information re my machines: I have a "ADSL Bridge/Router make microcom AD 2636 DSL ACT 100M/ACT" connected to my telephone line from one side and hence to ISP I believe, to the other side to a "5 Port 10/100M Switch" where my two machines are pluged, Ethernet RJ45, one, the host in this case, in Port 1 and the receiver in Post3. The other 3 Ports are empty.
I had a look at man pages for scp and rsync, finding the first simpler. The problem now is in scp how to specify each machine. Knowing roughly that my rooter allocates an IP address to each computer at boot and that presently the host has 10.0.0.10 and the receiver 10.0.0.14 should I go: scp /etho_10.0.0.10/dev/hdb8/home/jv/movies/miro(space) /etho_10.0.0.14/dev/hdb6/home/jv/movies/miro ?
Or something like that ?
Afraid to give it a try lest I break up something, I will wait for instructions. Use $ or # ?
It may be installed, but you need it to be running (as a "System Service")
To find out if it is running:
ps -Al | grep sshd
If you see the sshd process there, it's running.
If not, start it like this (you'll need to be root, or you'll get "Permission Denied")
[Edit:]If this gives you "-bash: /etc/init.d/ssh: No such file or directory"
Then it's not installed, and you'll need to do that before you can go further. If you tell us your distro (Ubuntu, PcLinuxOS, Debian etc) someone will be able to tell you how.
It is a good idea to list your distribution in your profile anyway (See mine, at the left?) [/Edit]
You could install and setup a very plain FTP server on one of the machines (or both of them), so you could use a graphical FTP client to move files comfortably back and forth. Or if you run KDE then open the other location in Konqueror using the 'fish' protocol (a variation of SSH access).
Yes, he could install an ftp server. As usual with linux, there are many ways to achieve what is required. But borgibo is new, so shall we just try to concentrate on one way to achieve what he wants? That is to move some files between two (probably, "badly" networked computers).
We are trying to help him move the files (with his PCs addressed by LAN IP numbers if necessary). Once his goal is achieved, he might be interested in making life easier for himself.
When he has manged to move his files, perhaps he'll be interested in learning about some of the other neat things he can do with linux.
Or if you run KDE then open the other location in Konqueror using the 'fish' protocol (a variation of SSH access)
Indeed, he could use fish://name@hostname with konqueror, and a very neat protocol it is too, but fish:// isn't going to work until he has ssh sorted out. Which he hasn't. He doesn't even know if it is installed, or running, or configured properly.
We haven't even touched on security, public/private key encryption, passwordless authentication etc.
So, whilst your enthusiasm is laudable, one step at a time for newbies please.
Give the OP a break.
I checked as informed and I have in both host (10.0.0.10) and receiver machine (10.0.0.14) ssh installed and running.
Both machines run Sidux, the host, everything installed in /root, the receiver has "/" plus "/home".
I gave the following command:
jv@siduxbox:~$ scp -r email@example.com:/dev/hdb8/home/jv/miro /dev/hda14/home/jv/movies/miro
scp: /dev/hdb8/home/jv/miro: No such file or directory
The first line is the host machine or where the files are, the second is machine 10.0.0.14 from where I give the command and where I want the files copied to.
Am I doing something wrong? The path to the host file is correct. Early this morning though when I first tried the command I made a mistake in the path of the host defining the last part as: /movies/miro the correct being only /miro. Did this cause the problem ? I did reboot after that as I could not print my screen as well.
Many many thanks for your interest and persistance. I fail to answer more quickly as I get excausted trying to understand 'computer affairs' and react accordingly. I am sorry for that.