Rename dir3 to backup_dir and verify. (Use mv and ls to check)
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...
cloudcomutingandnetworking.hashnode.dev1 min read