ℹ️ Skipped - page is already crawled
| Filter | Status | Condition | Details |
|---|---|---|---|
| HTTP status | PASS | download_http_code = 200 | HTTP 200 |
| Age cutoff | PASS | download_stamp > now() - 6 MONTH | 0.1 months ago |
| History drop | PASS | isNull(history_drop_reason) | No drop reason |
| Spam/ban | PASS | fh_dont_index != 1 AND ml_spam_score = 0 | ml_spam_score=0 |
| Canonical | PASS | meta_canonical IS NULL OR = '' OR = src_unparsed | Not set |
| Property | Value |
|---|---|
| URL | https://beebom.com/how-copy-files-linux/ |
| Last Crawled | 2026-04-07 08:06:33 (4 days ago) |
| First Indexed | 2023-07-01 09:30:20 (2 years ago) |
| HTTP Status Code | 200 |
| Meta Title | How to Copy Files in Linux (2 Ways) | Beebom |
| Meta Description | Copying files is a basic operation an operating system should be able to do, and Linux is capable. Let's look at how to copy files in Linux. |
| Meta Canonical | null |
| Boilerpipe Text | Learning file management in Linux is the key to efficient workflow. One of the most basic tasks that you would need to learn as a Linux beginner is copying files. Terminal is your friend in Linux and it can be used to most even the simplest of tasks quickly. As a beginner, if you’re struggling with copying files, here’s a tutorial with two different methods detailing how to copy files in Linux.
How to Copy Files in Linux Using Terminal
Copying files in Linux via the terminal is simple enough. All you need to do is use the “cp” command followed by two directories — one containing the file with the file name and the other where you want the file to be copied. cp stands for copy and this is the easiest Linux command to copy files from one location to another.
Here’s the syntax for cp command in Linux:
cp /path/to/file /path/to/destination
Here’s an example where we copy the file Beebom.txt in the /Desktop directory to /Downloads.
cp /home/abubakarmohammed/Desktop/Beebom.txt /home/abubakarmohammed/Downloads
In the above example, we copied Beebom.txt which was in the Desktop directory to the Downloads directory. If you have a file in a directory different than what you’re currently in and want to copy the same in the current directory you’d need to
specify the path
to the directory with the file and just the name of the directory you want to copy the file in.
For copying a file from a different directory to the current directory, use this syntax:
cp /path/to/file ./directory
For example, let’s copy Beebom.txt to a directory called /example_directory.
cp /home/abubakarmohammed/Desktop/Beebom.txt ./example_directory
1. Copy Multiple Files into a Directory using cp Command
There are two ways to go about this — by mentioning every file in cp and moving them to a directory, or by using a Regex-like method to copy files with similar extensions to a directory. Here’s the syntax.
cp /path/to/file path/to/file2 /directory
Here’s an example to copy multiple files in a directory one by one. Using the below command, we’re moving the files Beebom.txt and Beebom1.desktop to /example_directory.
cp /home/abubakarmohammed/Desktop/Beebom.txt /home/abubakarmohammed/Desktop/Beebom1.desktop ./example_directory
2. Copy Files with Matching Extensions using cp Command
To copy files of similar extensions in Linux, the syntax would be:
cp /path/to/file/*.txt ./directory
This example will copy every .txt file from Desktop into the example_directory.
cp /home/abubakarmohammed/Desktop.*.txt ./example_directory
2. Copy a Directory into Another Directory using cp Command
To copy a directory into another directory in Linux, you’d need to use the “-r” identifier. This lets the cp command know that you intend to copy a directory into another. Here’s the syntax:
cp -r ./path/to/directory ./directory
A real-time example of the command would be:
cp -r ./home/abubakarmohammed/Desktop/beebom ./example_directory
How to Copy Files in Linux using GUI
Like on Windows, most distros ship with their own file managers and shortcuts to copy/paste by dragging/dropping files and folders. For example, Nautilus is a files app that ships with distros that use GNOME, and Dolphin ships with KDE distributions, both support dragging and dropping files and copy/paste. If you’re new to Linux and don’t find Terminal that appealing, they’re your best bet. Here’s how to copy files using Nautilus.
1. Launch Nautilus > go to the file directory > right-click on the file.
2. Clicking Copy will copy the file whereas clicking Copy to will open another Nautilus pop-up window where you can choose where you want to copy the file to.
3. Click on a directory where you want to copy the file and then click Select at the top-right corner. That’s as simple as it gets.
Beebom Staff
Bringing the latest in technology, gaming, and entertainment is our superhero team of staff writers. They have a keen eye for latest stories, happenings, and even memes for tech enthusiasts. |
| Markdown | Skip to content
[Beebom](https://beebom.com/)
- [News](https://beebom.com/category/news/)
- [Opinions](https://beebom.com/tag/opinion/)
- [Reviews](https://beebom.com/category/reviews/)
- [Gaming](https://beebom.com/category/games/)
- [Roblox](https://beebom.com/tag/roblox/)
- [Roblox Codes](https://beebom.com/tag/roblox-codes/)
- [Puzzle Games](https://beebom.com/puzzle/)
- [GTA](https://beebom.com/tag/gta/)
- [Minecraft](https://beebom.com/tag/minecraft/)
- [Genshin Impact](https://beebom.com/tag/genshin-impact/)
- [Honkai Star Rail](https://beebom.com/tag/honkai-star-rail/)
- [Fortnite](https://beebom.com/tag/fortnite/)
- [Tech](https://beebom.com/category/tech/)
- [Instagram](https://beebom.com/tag/instagram/)
- [WhatsApp](https://beebom.com/tag/whatsapp/)
- [Meta](https://beebom.com/tag/meta/)
- [Discord](https://beebom.com/tag/discord/)
- [Snapchat](https://beebom.com/tag/snapchat/)
- [Spotify](https://beebom.com/tag/spotify/)
- [Apple](https://beebom.com/tag/apple/)
- [AI](https://beebom.com/tag/ai/)
- [Android](https://beebom.com/tag/android/)
- [App](https://beebom.com/tag/app/)
- [Entertainment](https://beebom.com/category/entertainment/)
- [Netflix](https://beebom.com/tag/netflix/)
- [DC](https://beebom.com/tag/dc/)
- [Marvel](https://beebom.com/tag/marvel/)
- [Anime](https://beebom.com/tag/anime/)
- [One Piece](https://beebom.com/tag/one-piece/)
- [Disney](https://beebom.com/tag/disney/)
- [Beebom Gadgets](https://gadgets.beebom.com/)
[Beebom Gadgets](https://gadgets.beebom.com/)
Search For :
Search Results
Load More
- [News](https://beebom.com/category/news/)
- [Opinions](https://beebom.com/tag/opinion/)
- [Reviews](https://beebom.com/category/reviews/)
- [Gaming](https://beebom.com/category/games/)
- [Roblox](https://beebom.com/tag/roblox/)
- [Roblox Codes](https://beebom.com/tag/roblox-codes/)
- [Puzzle Games](https://beebom.com/puzzle/)
- [GTA](https://beebom.com/tag/gta/)
- [Minecraft](https://beebom.com/tag/minecraft/)
- [Genshin Impact](https://beebom.com/tag/genshin-impact/)
- [Honkai Star Rail](https://beebom.com/tag/honkai-star-rail/)
- [Fortnite](https://beebom.com/tag/fortnite/)
- [Tech](https://beebom.com/category/tech/)
- [Instagram](https://beebom.com/tag/instagram/)
- [WhatsApp](https://beebom.com/tag/whatsapp/)
- [Meta](https://beebom.com/tag/meta/)
- [Discord](https://beebom.com/tag/discord/)
- [Snapchat](https://beebom.com/tag/snapchat/)
- [Spotify](https://beebom.com/tag/spotify/)
- [Apple](https://beebom.com/tag/apple/)
- [AI](https://beebom.com/tag/ai/)
- [Android](https://beebom.com/tag/android/)
- [App](https://beebom.com/tag/app/)
- [Entertainment](https://beebom.com/category/entertainment/)
- [Netflix](https://beebom.com/tag/netflix/)
- [DC](https://beebom.com/tag/dc/)
- [Marvel](https://beebom.com/tag/marvel/)
- [Anime](https://beebom.com/tag/anime/)
- [One Piece](https://beebom.com/tag/one-piece/)
- [Disney](https://beebom.com/tag/disney/)
- [Beebom Gadgets](https://gadgets.beebom.com/)
No results found
[Home](https://beebom.com/) \> [Tech](https://beebom.com/category/tech/) \> How to Copy Files in Linux (2 Ways)
# How to Copy Files in Linux (2 Ways)
[ Beebom Staff](https://beebom.com/author/staff/)
Updated: October 15, 2025
[Comments 0](https://beebom.com/how-copy-files-linux/#comments-497072)
Share
Copied
Learning file management in Linux is the key to efficient workflow. One of the most basic tasks that you would need to learn as a Linux beginner is copying files. Terminal is your friend in Linux and it can be used to most even the simplest of tasks quickly. As a beginner, if you’re struggling with copying files, here’s a tutorial with two different methods detailing how to copy files in Linux.
## How to Copy Files in Linux Using Terminal
Copying files in Linux via the terminal is simple enough. All you need to do is use the “cp” command followed by two directories — one containing the file with the file name and the other where you want the file to be copied. cp stands for copy and this is the easiest Linux command to copy files from one location to another.
Here’s the syntax for cp command in Linux:
```
cp /path/to/file /path/to/destination
```
Here’s an example where we copy the file Beebom.txt in the /Desktop directory to /Downloads.
```
cp /home/abubakarmohammed/Desktop/Beebom.txt /home/abubakarmohammed/Downloads
```

In the above example, we copied Beebom.txt which was in the Desktop directory to the Downloads directory. If you have a file in a directory different than what you’re currently in and want to copy the same in the current directory you’d need to **specify the path** to the directory with the file and just the name of the directory you want to copy the file in.
For copying a file from a different directory to the current directory, use this syntax:
```
cp /path/to/file ./directory
```
For example, let’s copy Beebom.txt to a directory called /example\_directory.
```
cp /home/abubakarmohammed/Desktop/Beebom.txt ./example_directory
```
### 1\. Copy Multiple Files into a Directory using cp Command
There are two ways to go about this — by mentioning every file in cp and moving them to a directory, or by using a Regex-like method to copy files with similar extensions to a directory. Here’s the syntax.
```
cp /path/to/file path/to/file2 /directory
```
Here’s an example to copy multiple files in a directory one by one. Using the below command, we’re moving the files Beebom.txt and Beebom1.desktop to /example\_directory.
```
cp /home/abubakarmohammed/Desktop/Beebom.txt /home/abubakarmohammed/Desktop/Beebom1.desktop ./example_directory
```

### 2\. Copy Files with Matching Extensions using cp Command
To copy files of similar extensions in Linux, the syntax would be:
```
cp /path/to/file/*.txt ./directory
```
This example will copy every .txt file from Desktop into the example\_directory.
```
cp /home/abubakarmohammed/Desktop.*.txt ./example_directory
```

### 2\. Copy a Directory into Another Directory using cp Command
To copy a directory into another directory in Linux, you’d need to use the “-r” identifier. This lets the cp command know that you intend to copy a directory into another. Here’s the syntax:
```
cp -r ./path/to/directory ./directory
```
A real-time example of the command would be:
```
cp -r ./home/abubakarmohammed/Desktop/beebom ./example_directory
```

## How to Copy Files in Linux using GUI
Like on Windows, most distros ship with their own file managers and shortcuts to copy/paste by dragging/dropping files and folders. For example, Nautilus is a files app that ships with distros that use GNOME, and Dolphin ships with KDE distributions, both support dragging and dropping files and copy/paste. If you’re new to Linux and don’t find Terminal that appealing, they’re your best bet. Here’s how to copy files using Nautilus.
1\. Launch Nautilus \> go to the file directory \> right-click on the file.

2\. Clicking Copy will copy the file whereas clicking Copy to will open another Nautilus pop-up window where you can choose where you want to copy the file to.

3\. Click on a directory where you want to copy the file and then click Select at the top-right corner. That’s as simple as it gets.

Beebom Staff
Bringing the latest in technology, gaming, and entertainment is our superhero team of staff writers. They have a keen eye for latest stories, happenings, and even memes for tech enthusiasts.
Comments 0
Leave a Reply
Cancel reply
Loading comments...
***
Recommended Articles
[](https://beebom.com/deepseek-vs-chatgpt/)
[DeepSeek vs ChatGPT: The Ultimate AI Comparison for 2026](https://beebom.com/deepseek-vs-chatgpt/)
 Arjun Sha
[](https://beebom.com/how-set-path-variable-linux/)
[How to Set the PATH Variable in Linux (2 Ways)](https://beebom.com/how-set-path-variable-linux/)
 Beebom Staff
[](https://beebom.com/wispr-flow-ai-dictation-app-transcribes-voice-faster-than-typing/)
[I Tested Wispr Flow AI Dictation App and It Transcribes My Voice Faster than I Can Type](https://beebom.com/wispr-flow-ai-dictation-app-transcribes-voice-faster-than-typing/)
 Arjun Sha
[](https://beebom.com/nano-banana-2-vs-nano-banana-pro-comparison/)
[Nano Banana 2 vs Nano Banana Pro Comparison: Bigger Isn't Always Better](https://beebom.com/nano-banana-2-vs-nano-banana-pro-comparison/)
 Arjun Sha
[](https://beebom.com/wondershare-relumi-ai-photo-retake-app/)
[Wondershare Relumi: The AI Photo Retake App That Lets You Recreate Moments](https://beebom.com/wondershare-relumi-ai-photo-retake-app/)
 Arjun Sha
[](https://beebom.com/what-to-expect-from-apple-march-2026-event/)
[What to Expect from Apple's March 2026 Event: Budget MacBook, iPhone 17e, New iPads and More](https://beebom.com/what-to-expect-from-apple-march-2026-event/)
 Anshuman Jain
[](https://beebom.com/what-is-nano-banana-2-explained/)
[What Is Nano Banana 2 Explained: Inside Google's Best AI Image Model Yet](https://beebom.com/what-is-nano-banana-2-explained/)
 Arjun Sha
More In Tech
[](https://beebom.com/wondershare-relumi-ai-photo-retake-app/)
[Wondershare Relumi: The AI Photo Retake App That Lets You Recreate Moments](https://beebom.com/wondershare-relumi-ai-photo-retake-app/)
 Arjun Sha
[](https://beebom.com/deepseek-vs-chatgpt/)
[DeepSeek vs ChatGPT: The Ultimate AI Comparison for 2026](https://beebom.com/deepseek-vs-chatgpt/)
 Arjun Sha
[](https://beebom.com/chatgpt-adult-mode-nsfw-chat-and-messages/)
[ChatGPT Adult Mode: How to Get NSFW (18+) Chat and Messages](https://beebom.com/chatgpt-adult-mode-nsfw-chat-and-messages/)
 Anshuman Jain
[](https://beebom.com/what-to-expect-from-apple-march-2026-event/)
[What to Expect from Apple's March 2026 Event: Budget MacBook, iPhone 17e, New iPads and More](https://beebom.com/what-to-expect-from-apple-march-2026-event/)
 Anshuman Jain
[](https://beebom.com/wispr-flow-ai-dictation-app-transcribes-voice-faster-than-typing/)
[I Tested Wispr Flow AI Dictation App and It Transcribes My Voice Faster than I Can Type](https://beebom.com/wispr-flow-ai-dictation-app-transcribes-voice-faster-than-typing/)
 Arjun Sha
[](https://beebom.com/hitpaw-vikpea-ai-video-enhancer-upscale-restore-videos/)
[I Tried HitPaw's VikPea AI Video Enhancer to Upscale, Denoise, and Restore Videos](https://beebom.com/hitpaw-vikpea-ai-video-enhancer-upscale-restore-videos/)
 Partner Content
[](https://beebom.com/nano-banana-2-vs-nano-banana-pro-comparison/)
[Nano Banana 2 vs Nano Banana Pro Comparison: Bigger Isn't Always Better](https://beebom.com/nano-banana-2-vs-nano-banana-pro-comparison/)
 Arjun Sha
### Trending Stories in \#terminal
01
[How to Extract or Untar a File on Linux](https://beebom.com/how-extract-untar-file-linux/)
Abubakar Mohammed
02
[How to Change Directory in Linux Terminal](https://beebom.com/how-change-directory-linux-terminal/)
Beebom Staff
03
[How to Create a User in Linux](https://beebom.com/how-create-user-linux/)
Beebom Staff
04
[How to Create Symbolic Links in Linux](https://beebom.com/how-create-symbolic-links-linux/)
Beebom Staff
05
[How to Check System Uptime in Linux (5 Methods)](https://beebom.com/how-check-uptime-linux-system/)
Beebom Staff
Beebom is one of the leading consumer technology websites aimed at helping people understand and use technology in a better way.
- [About Us](https://beebom.com/about-us/)
- [Careers](https://beebom.com/careers/)
- [Get in touch](https://beebom.com/contact-us/)
- [Advertise](https://beebom.com/advertise/)
- [Privacy Policy](https://beebom.com/privacy-policy/)
- [Editorial Guidelines](https://beebom.com/editorial-guidelines/)
Beebom is one of the leading consumer technology websites aimed at helping people understand and use technology in a better way.
- [About Us](https://beebom.com/about-us/)
- [Careers](https://beebom.com/careers/)
- [Get in touch](https://beebom.com/contact-us/)
- [Advertise](https://beebom.com/advertise/)
- [Privacy Policy](https://beebom.com/privacy-policy/)
- [Editorial Guidelines](https://beebom.com/editorial-guidelines/)
***
© Beebom Media Private Limited |
| Readable Markdown | Learning file management in Linux is the key to efficient workflow. One of the most basic tasks that you would need to learn as a Linux beginner is copying files. Terminal is your friend in Linux and it can be used to most even the simplest of tasks quickly. As a beginner, if you’re struggling with copying files, here’s a tutorial with two different methods detailing how to copy files in Linux.
## How to Copy Files in Linux Using Terminal
Copying files in Linux via the terminal is simple enough. All you need to do is use the “cp” command followed by two directories — one containing the file with the file name and the other where you want the file to be copied. cp stands for copy and this is the easiest Linux command to copy files from one location to another.
Here’s the syntax for cp command in Linux:
```
cp /path/to/file /path/to/destination
```
Here’s an example where we copy the file Beebom.txt in the /Desktop directory to /Downloads.
```
cp /home/abubakarmohammed/Desktop/Beebom.txt /home/abubakarmohammed/Downloads
```

In the above example, we copied Beebom.txt which was in the Desktop directory to the Downloads directory. If you have a file in a directory different than what you’re currently in and want to copy the same in the current directory you’d need to **specify the path** to the directory with the file and just the name of the directory you want to copy the file in.
For copying a file from a different directory to the current directory, use this syntax:
```
cp /path/to/file ./directory
```
For example, let’s copy Beebom.txt to a directory called /example\_directory.
```
cp /home/abubakarmohammed/Desktop/Beebom.txt ./example_directory
```
### 1\. Copy Multiple Files into a Directory using cp Command
There are two ways to go about this — by mentioning every file in cp and moving them to a directory, or by using a Regex-like method to copy files with similar extensions to a directory. Here’s the syntax.
```
cp /path/to/file path/to/file2 /directory
```
Here’s an example to copy multiple files in a directory one by one. Using the below command, we’re moving the files Beebom.txt and Beebom1.desktop to /example\_directory.
```
cp /home/abubakarmohammed/Desktop/Beebom.txt /home/abubakarmohammed/Desktop/Beebom1.desktop ./example_directory
```

### 2\. Copy Files with Matching Extensions using cp Command
To copy files of similar extensions in Linux, the syntax would be:
```
cp /path/to/file/*.txt ./directory
```
This example will copy every .txt file from Desktop into the example\_directory.
```
cp /home/abubakarmohammed/Desktop.*.txt ./example_directory
```

### 2\. Copy a Directory into Another Directory using cp Command
To copy a directory into another directory in Linux, you’d need to use the “-r” identifier. This lets the cp command know that you intend to copy a directory into another. Here’s the syntax:
```
cp -r ./path/to/directory ./directory
```
A real-time example of the command would be:
```
cp -r ./home/abubakarmohammed/Desktop/beebom ./example_directory
```

## How to Copy Files in Linux using GUI
Like on Windows, most distros ship with their own file managers and shortcuts to copy/paste by dragging/dropping files and folders. For example, Nautilus is a files app that ships with distros that use GNOME, and Dolphin ships with KDE distributions, both support dragging and dropping files and copy/paste. If you’re new to Linux and don’t find Terminal that appealing, they’re your best bet. Here’s how to copy files using Nautilus.
1\. Launch Nautilus \> go to the file directory \> right-click on the file.

2\. Clicking Copy will copy the file whereas clicking Copy to will open another Nautilus pop-up window where you can choose where you want to copy the file to.

3\. Click on a directory where you want to copy the file and then click Select at the top-right corner. That’s as simple as it gets.

Beebom Staff
Bringing the latest in technology, gaming, and entertainment is our superhero team of staff writers. They have a keen eye for latest stories, happenings, and even memes for tech enthusiasts. |
| Shard | 167 (laksa) |
| Root Hash | 3942313026910408367 |
| Unparsed URL | com,beebom!/how-copy-files-linux/ s443 |