how to copy files from red hat linux to external hard drive
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.
how to copy files from red hat linux to external hard drive
how to copy files from red hat linux to external hard drive.
whether hard drive is ntfs or fat. give all way to copy files.
and also using su command with step by step meaning.
how to copy files from red hat linux to external hard drive.
whether hard drive is ntfs or fat. give all way to copy files.
and also using su command with step by step meaning.
Is this homework, maybe?
First, it is not practical to ask for "all way"s to copy files from a source to a destination - there are very many!
The basic copy command for any GNU/Linux would be cp. The basic syntax is:
Code:
cp source [sourceN] destination
... where source would be the source file(s) and destination would be where you want to copy to, the mount point of the external hard drive in your case.
For more options see man cp.
For mounting your hard drive see man mount.
The su command is something else entirely - see man su, of course. Whether you need to use su or not would depend on your system configuration, ownership and permissions of source and destination files and paths.
And it is always best to say "please" when asking strangers for directions!
You should make as many partitions as are required by your own use, there is no "best" way. Each partition on a drive must be mounted individually.
The basic syntax applicable to your case I think (from man mount):
Code:
mount [-fnrsvw] [-t vfstype] [-o options] device dir
... where device is your external drive device node and dir is the mount point.
If you need more specific help it would be best to provide your version of Red Hat and some more info on the drive. The output of lsblk -f, cfdisk /device/path, etc.
I am not a Red Hat user so will not be able to give you much more specific help myself, others here might.
Also, Red Hat is a non-free Linux, so if you have a support subscription it might be easiest to simply ask their support or visit the knowledge base.
the EXACT commands on redhat will depend ON THE VERSION
the current " VERY NEW " is RHEL 7.0
and THAT will mount drives VERY differently than the current stable RHEL 6.6
and the old RHEL 5.12 can use DIFFERENT settings for mounting ide / sata drives
so
what you are using makes a big difference
and as above RHEL 7 is NOT free ,nor is 6.6 or 5.12
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.