Copy a File Over the Network? (Linux+ Objective 1.2.5)
Ғылым және технология
Copying files and directories over the network is as common as copying them over a local file system. Sometimes even more common!
In this video we look at scp, rsync, and netcat (nc) -- all tools that can be used to copy files over the network, without mounting any remote filesystems.
Rsync is probably the most often used of the tools we look at, but they all serve a purpose, and it's important to understand each one. This video is is part of the Linux+ exam prep series, but is useful for anyone who wants to learn to use Linux.
The CompTIA Linux+ objectives are available here: snar.co/plusobjectives
Thanks again to my Patreon supporters, who make this possible. If you'd like to join them in supporting me, my page is here:
patreon.com/shawnp0wers
And if you just can't get enough of the stuff I do, or you want to connect with other Nerdlings, most things are listed here: shawnp0wers.com
Thanks for joining us!
#Linux #CompTIA #XK0_005
Пікірлер: 20
The info on netcat actually came in use when i couldnt get scp to work with certs. This is a great work around if you at least have ssh working. Thanks
omg are you really doing Linux+ objectives here???? ok I didnt want to leave a comment but you are absolute legend and love your work! like the new hair too =D I promise I wont leave messages anymore but keep doing what you doing! you are amazing! have great day.. BIG thank you from Sydney ❤
@shawnp0wers
Жыл бұрын
Leave as many messages as you like, I truly appreciate them! And thank you so much. :)
Ngl I’m a Linux fiend and am not currently trying for my Linux + but definitely love the work.
Amazing content @Shawn
I love this series
@shawnp0wers
Жыл бұрын
Thank you! (Me too, honestly -- I've done long courses like this when I was a professional trainer, but never been able to make them freely available before.)
This was awesome, great work!
@shawnp0wers
Жыл бұрын
Thank you!
good job!
@shawnp0wers
Жыл бұрын
Thanks!
I use rsync -haux --progress so much, I've aliases it to 'rs'. Due to the occasional accident (typing 'rm' instead of 'rs') I found I had to add two more aliases so that deleting is done via 'remove', and 'rm' would print a message telling you to use 'remove'.
@shawnp0wers
Жыл бұрын
Cool! And aliases are going to be a KZread short I cover this week. This is a perfect example of why they're so useful!
rsync is used in timeshift the system backup package.
@shawnp0wers
Жыл бұрын
I believe it, rsync is so very useful. Combined with hardlinking, it's a great tool for incremental backups too!
@scottb4029
Жыл бұрын
@@shawnp0wers sounds like rsync could be a series.
After all these years trying to explain how to use robocopy to folks I now try to explain how to use scp/rsync via wsl to a linux server. This will help.
@shawnp0wers
Жыл бұрын
Yes! I've heard wsl v2 is a bit smoother than the original implementation too, so that will probably help even more.
Handy to know, it seems rsync would allow for a manual / scripted backup between folders to be setup as well then?
@shawnp0wers
Жыл бұрын
Absolutely. Plus, if you add hardlinking, you can make a really efficient incremental backup... (the cp command can make a copy using hard links instead of creating entire new files -- but that's another whole topic. Perhaps a weekend assignment!)