---
title: "Discussion on \"Rename dir3 to backup_dir and verify. (Use mv and ls to check)\" | Hashnode"
description: "Discussion on \"Rename dir3 to backup_dir and verify. (Use mv and ls to check)\". Run the following command:\nbashCopyEditmv ~/dir3 ~/backup_dir\n\nStep 2: Verify the Renaming\nbashCopyEditls -l ~\n\nExpected Output:\nsqlCopyEditdrwxr-xr-x  2 user user 4096 Mar 29 12:34 backup_dir\ndrwxr-xr-x  2 user user 4096 Mar 29 12:34 dir1\ndrwxr-xr-x..."
url: "https://hashnode.com/posts/rename-dir3-to-backupdir-and-verify-use-mv-and-ls-to-check/67e7e4052398742f56a0c1db"
---

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

Discussion

# [Rename dir3 to backup\_dir and verify. (Use mv and ls to check)](https://cloudcomutingandnetworking.hashnode.dev/rename-dir3-to-backupdir-and-verify-use-mv-and-ls-to-check?utm_source=hashnode&utm_medium=feed)

Run the following command: bashCopyEditmv ~/dir3 ~/backup\_dir Step 2: Verify the Renaming bashCopyEditls -l ~ Expected Output: sqlCopyEditdrwxr-xr-x 2 user user 4096 Mar 29 12:34 backup\_dir drwxr-xr-x 2 user user 4096 Mar 29 12:34 dir1 drwxr-xr-x...

Mar 29, 2025 · 1 min read · cloudcomutingandnetworking.hashnode.dev  
Read the article

-   [#rename-folder-in-linux](https://hashnode.com/tag/rename-folder-in-linux)
-   [#rename](https://hashnode.com/tag/rename)

## Written by

[Ravi Vishwakarma](https://hashnode.com/@ravishwakarma)

@ravishwakarma

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
