In reality, we are calling the command Invoke-WebRequest. curl -O picture.jpgĮasy right? Now you can download files right from the command line all by simply using your keyboard. ![]() Now run the curl command with the -O option to specify the file output. That's Windows Key + R then type powershell and press enter. But I just want to download the file on Windows so let's just learn how to do that. (i don't know why I wrote it the way I did)Ĭurl is a very powerful tool with too many feature. But how do you do that when you are on a Windows machine? Let me introduce you to cURL, pronounced curl. On linux, all I have to do is open the command line, run wget with the file I want to download and it is done. One thing I do frequently is download files. My hands are already on the keyboard, and I would rather do the mundane things on the keyboard and not think about them. But you can save some more time by pressing, ctrl-c then ctrl-v Sure you can save some time by right-clicking, copy, right-click, paste. ![]() Every time I see someone do this, I die a little inside. Select a text you want to copy, go to the edit menu, click, precisely move down to copy, click, then go to the destination, click where you want to paste, go to edit menu, click, move down to the paste option, then paste. Not that the GUI is not efficient, but there are things that are simply faster to do with the keyboard. Windows may be damaged, or we may lose files.As a Linux user, I can't help but spend most of my time on the command line. But if we are going to make any changes we run the risk that something does not go well and some data will be corrupted. Reading files from an NTFS partition from Linux usually works fine, it doesn’t usually give problems. The kernel itself has its own controller, and there are other third-party tools for this purpose. Linux is capable of reading and writing to NTFS drives. This is the safest way to do it, since by not entering the Windows hard drive from Linux, we avoid changing permissions or corrupting files, saving us problems. Now that we are in Windows we can choose, either to do what we wanted to do from the Microsoft operating system, or to transfer the file to Linux, either through a pendrive or from the nexus hard drive that we have explained in the previous point. By doing so, we will once again have access to all the files that we had saved on that hard drive and, therefore, we will be able to access it. The simplest, and safest at the same time, is to restart the computer and return to Windows. In this case, we are going to see what we can do if we need to access a file from Linux that we have saved on the Windows hard drive. Other ways to access Windows data from Linux They usually mount an SMB / SAMBA server, so the files will be available from both Windows and Linux. These servers are connected to the network and allow any user connected to it to access the data. The important thing is to make sure that we keep all the data there.Īnother alternative that we can use is a NAS server. Therefore, we can use it as a link between all our operating systems. This file system is the improved version of FAT32 that eliminates, among other restrictions, the limit of 4 GB per file. īoth Windows and Linux will be able to read and write to the exFAT disk without problems. ![]() And, although we can use NTFS for this, the best we can choose to avoid problems is exFAT. The important thing is that this drive has a file system that is compatible with both Windows and Linux. This unit can be a hard drive or partition that we have internal to our own PC or an external hard drive that we have connected to the PC. ![]() If we want to avoid this type of problem, the best we can do is create a shared drive where we can save the data of all the operating systems that we use.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |