Whenever you are ready
Keep what matters.
Remove what you choose.
Practice cleanup concerns the folder inside Linux. Windows, your WSL distribution or desktop VM, and anything outside that folder are separate.
1. Inspect before removing anything
Inspect the practice folder
Read-only system viewCheck the exact location, contents and size. Do not assume the folder holds only course-created files.
du -sh ~/linux-practice
ls -la ~/linux-practice 2. Preserve work you want to keep
Copy your chosen files to a separate location outside ~/linux-practice. Open that copy and verify its contents before deleting the original. A
backup inside the practice folder will be deleted with it.
This does not remove installed packages, shell startup edits, real crontab entries, users/groups or Windows/VM resources. Undo those individually using the procedure you followed.
3. Select the removal scope
Remove only selected text files
CautionReview every displayed path. The interactive prompt asks for each matching text file; cancel for anything you want to keep.
rm -i ~/linux-practice/*.txt Whole-folder deletion is optional and destructive. The command below has copying disabled. Verify the literal home path, keep the intended backups elsewhere, and type it only after inspecting what will go. It does not offer an undo operation.
Remove the whole practice folder
CautionDeletes only the course sandbox if you kept all practice work inside ~/linux-practice. Optional admin actions such as apt installs are not undone by this.
Run from home directory
cd ~ && rm -rf ~/linux-practice Expected result
~/linux-practice no longer exists
4. Verify the result
Check the removed path
Read-only system viewIf you deliberately removed the entire folder, “No such file or directory” is the expected result. If you only removed selected files, inspect the remaining folder instead.
ls ~/linux-practice Removing the practice environment
Deleting the practice folder does not uninstall Ubuntu or WSL, erase a VM disk, or reverse Windows virtualization settings. Follow the WSL environment removal guidance or the desktop VM removal instructions for your chosen route. Preserve and verify your data first; avoid removing shared tools or host configuration used elsewhere.
Course progress lives in your browser profile. Deleting practice files does not reset it. Removing a VM or distribution also removes any browser profiles stored inside it, so preserve that browser's data before removing the environment.
← Back to the course