bash
This demonstrates file and directory removal in Bash, including verbose and recursive deletion, and suggests using trash-cli
for safer file deletion.
rm -v output.out error.err output-and-error.log rm -r tempDir/ # recursively delete # You can install the `trash-cli` Python package to have `trash` # which puts files in the system trash and doesn't delete them directly # see https://pypi.org/project/trash-cli/ if you want to be careful
bash internalfile and stream operationsfile managementfile and directory deletion