Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

25
tldr/linux/deluser Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# deluser
> Delete a user from the system.
> More information: <https://manpages.debian.org/latest/adduser/deluser.html>.
- Remove a user:
`sudo deluser {{username}}`
- Remove a user and their home directory:
`sudo deluser --remove-home {{username}}`
- Remove a user and their home, but backup their files into a `.tar.gz` file in the specified directory:
`sudo deluser --backup-to {{path/to/backup_directory}} --remove-home {{username}}`
- Remove a user, and all files owned by them:
`sudo deluser --remove-all-files {{username}}`