Adam Duval
Posts Tags Categories
Adam Duval
PostsTagsCategories

TIL - 2023-04-11 // Delete entire directory with Bash

Delete an entire directory and all contents within using the rm command and -r option

Adam Duval included in TIL
 2023-04-11  25 words   One minute 

The rm command is used to remove a file. Using rm -r will remove a directory and all contents within.

Practical usage:

rm -r dir
Updated on 2023-04-11
 Bash
Back | Home
TIL - 2023-04-10 // Chaining Bash Commands Sequentially TIL - 2023-04-12 // Create and checkout new branch in git
Powered by Hugo | Theme - LoveIt
2022 - 2023 Adam Duval