WSL copy file from windows downloads directory to home directory in ubuntu

Created at 22-Feb-2023 , By samar

In this article, we will focus on copying a file from the Downloads directory in Windows to the home directory in Ubuntu running within WSL.

Here's a step-by-step guide to copy a file from the Downloads directory in Windows to the home directory of ubuntu.

Step 1: Open the Ubuntu terminal by typing "Ubuntu" in the Windows search bar and selecting "Ubuntu" from the search results

Step 2: Now run below command to copy the file (records.txt) to the home directory of the current loggedin user in Ubuntu

cp /mnt/c/Users/Samar/Downloads/records.txt ~/

Replace records.txt with your filename exists in downloads folder.

Step 3: Check if the file has been successfully copied to the home directory in Ubuntu

You can also use the "ls" command without any arguments to list the contents of your home directory:

ls ~/

This will show you all the files and directories in your home directory, including any files that you have copied.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Buy Me A Coffee

Don't forget to share this article! Help us spread the word by clicking the share button below.

We appreciate your support and are committed to providing you valuable and informative content.

We are thankful for your never ending support.