File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed
Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -577,8 +577,20 @@ $ cd ..
577577$ rm -r backup
578578```
579579
580- This will delete not only the directory, but all files within the directory. If you have write-protected files in the directory,
581- you will be asked whether you want to override your permission settings.
580+ ::::::::::::::::::::::::::::::::::::::::: callout
581+
582+ ## Risks of ` rm `
583+
584+ ` rm -r ` will delete not only the directory, but all files within the directory.
585+ If you have write-protected files in the directory, you will be asked whether you want to override your permission settings.
586+
587+ ** Important: This cannot be undone.**
588+
589+ ` rm -i ` will prompt you to confirm that you want to delete every file regardless of permission settings.
590+
591+ ::::::::::::::::::::::::::::::::::::::::::::::::::
592+
593+
582594
583595::::::::::::::::::::::::::::::::::::::: challenge
584596
Original file line number Diff line number Diff line change 55"index.md" "9fee7090c3acb6ad50fe0dbccf38d31f" "site/built/index.md" "2024-08-15"
66"episodes/01-introduction.md" "c0f3f85bf71bfaf19c2b3507d0207378" "site/built/01-introduction.md" "2023-08-15"
77"episodes/02-the-filesystem.md" "70b53ce6f53a88f931e492d876c60fa1" "site/built/02-the-filesystem.md" "2023-05-08"
8- "episodes/03-working-with-files.md" "6989deaa6d2a3b387212bff8b5d104f0 " "site/built/03-working-with-files.md" "2023 -05-08 "
8+ "episodes/03-working-with-files.md" "2c331035e2e8cea65fc0386b2e59b303 " "site/built/03-working-with-files.md" "2025 -05-30 "
99"episodes/04-redirection.md" "3f71f2fad3303b1be957191c95bae2f7" "site/built/04-redirection.md" "2024-03-14"
1010"episodes/05-writing-scripts.md" "648b54fd474490d69a6177a239be29d3" "site/built/05-writing-scripts.md" "2024-04-17"
1111"episodes/06-organization.md" "6a657fb25cd386f2088145a440f2acc3" "site/built/06-organization.md" "2023-05-08"
You can’t perform that action at this time.
0 commit comments