---
title: "Discussion on \"File Management in Linux\" | Hashnode"
description: "Discussion on \"File Management in Linux\". TABLE OF CONTENTS\nIn Linux, most of the operations are performed on files. And to handle these files Linux has directories also known as folders which are maintained in a tree-like structure. Though, these directories are also a type of file themselv..."
url: "https://hashnode.com/posts/file-management-in-linux/6483d6f4037b166ad223ccb4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [File Management in Linux](https://biswaraj333.hashnode.dev/file-management-in-linux?utm_source=hashnode&utm_medium=feed)

TABLE OF CONTENTS In Linux, most of the operations are performed on files. And to handle these files Linux has directories also known as folders which are maintained in a tree-like structure. Though, these directories are also a type of file themselv...

Jun 10, 2023 · 6 min read · biswaraj333.hashnode.dev  
Read the article

-   [#file-management-in-linux](https://hashnode.com/tag/file-management-in-linux)

## Written by

[Biswaraj Sahoo](https://hashnode.com/@Biswaraj333)

@Biswaraj333 · Hyderabad

  
[View profile](https://hashnode.com/@Biswaraj333)

Devops engineer DevOps Enthusiast || Linux | Git || Docker || Jenkins ||Kubernetes || AWS

\--AWS Community Builder | DevOps Engineer | Docker | Linux | Jenkins | AWS | Git | Terraform | Docker | kubernetes Empowering communities via open source and education.

## Responses

Markdown supported · ⌘↵ to post

[Php\_Guider](https://hashnode.com/@phpguider)

[Nov 23, 2024](https://hashnode.com/posts/file-management-in-linux/6483d6f4037b166ad223ccb4/comment/674203c5e46689f8876dcf3d)

Here’s a concise overview for managing Linux files and directories:

Copy files: cp source/filename destination/

Copy directories: cp -R source\_dir/ destination\_dir/ (Use cp -a to preserve permissions, but this might not be supported on all systems like AIX.)

Create files: touch filename

Delete files: rm filename

Delete directories: rm -R dir\_name/

Rename/Move: mv old\_filename new\_filename

For detailed instructions, check out Vultr's guide: How to [Copy Files and Directories in Linux Using the cp Command.](https://docs.vultr.com/how-to-copy-files-and-directories-in-linux-using-the-cp-command)
