100 likes | 114 Vues
Sometimes you may need to copy files from linux to windows. Here are the steps to do it. #Linux #Ubuntu #windows <br><br>Visit https://fedingo.com/how-to-copy-files-from-linux-to-windows-2/
E N D
Update System First we need to update Linux system. Open terminal and run the following command for this purpose. $ sudo apt update
Install SSH Server Most Linux systems have SSH server pre-installed. If that is not the case with you, run the following command to install SSH server. $ sudo apt install openssh-server If you see any prompts during installation, just enter ‘y’ to proceed further. After SSH server is installed, you can check its status with the following command. $ sudo service ssh status
Install Samba Samba is a Windows interoperability suite for Linux/Unix systems. It allows Linux/Unix systems to communicate with Windows systems easily. So we need to install this software before proceeding further. Run the following command for this purpose. $ sudo apt install samba
Create Samba User Once you have installed Samba software on your system, you need to create a user for this software, using usermod command. You need to also enter the password. Here is the command to create a test user ‘test’ and set its password. $ sudo useradd –M –N –g sambashare test $ sudo smbpasswd –a test
Find IP Address of Windows Next, you need to find the IP address of Windows system. Open command prompt on your Windows system and run ifconfig command to get its IP address. $ ifconfig
Create Windows Folder Next, within Local Disk folder (C:) you need to create a new folder ‘Share’. Next we need to update the privileges of this folder to allow remote access. To do this, right click the folder, and hover ‘Give Access to’. It will expand to show you a menu. Click ‘Specific people …’
Access Shared Folder from Ubuntu Open File Explorer in Ubuntu, click ‘Other Locations’, check ‘Connect to Server’ at the bottom. Enter the Samba URL to your Windows system in text bar and click Connect button. Here is the format of Samba URL. $ Smb://ip-address-of-windows/foldername
Copy Files from Linux to Windows If you want to copy files & folders from Linux to Windows you need to enable remote access to Linux folders. Create a new folder ‘Share’ in your Linux system. Right Click to see context menu and click ‘Properties’. You will see a dialog box. Expand ‘Local Network Share’ and check ‘Share this folder’ option and ‘Allow others to create and delete’ option. Click Share button and close it. You will see the share icon added to the folder’s icon. To access this folder from Windows system, open run application in your Windows system. Enter the IP address of your Linux system as //ip-address and click Ok.
Thank You Visit for details https://fedingo.com/how-to-copy-files-from-linux-to-windows-2/