Hands-on task
Clean up junk without touching anything else
A build left some junk in /root/project. Delete:
- all files with the
.tmpextension — hidden ones included; - the empty directory
old.
Everything else must stay: regular files, hidden files, and the data directory with its contents. Hidden files are the ones whose names start with a dot: a plain ls doesn't show them.
- rm
- rmdir
- ls -a
- hidden files
- name patterns