From 797d626b21ecd49f30523e8382f0a7204c60c379 Mon Sep 17 00:00:00 2001 From: ivuorinen Date: Thu, 5 Sep 2024 00:16:01 +0000 Subject: [PATCH] Update cheatsheets --- tldr/atom | 1 + tldr/linux/rm | 4 ++++ tldr/passwd | 4 ++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/tldr/atom b/tldr/atom index 9ad02c24..53911cda 100644 --- a/tldr/atom +++ b/tldr/atom @@ -7,6 +7,7 @@ source: https://github.com/tldr-pages/tldr.git > A cross-platform pluggable text editor. > Plugins are managed by `apm`. +> Note: Atom has been sunsetted and is no longer actively maintained. > More information: . - Open a file or directory: diff --git a/tldr/linux/rm b/tldr/linux/rm index b2adea29..ae848ce8 100644 --- a/tldr/linux/rm +++ b/tldr/linux/rm @@ -28,3 +28,7 @@ source: https://github.com/tldr-pages/tldr.git - Remove specific files and directories recursively: `rm --recursive {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}` + +- Remove empty directories (this is considered the safe method): + +`rm --dir {{path/to/directory}}` diff --git a/tldr/passwd b/tldr/passwd index 1382dcdc..5c217724 100644 --- a/tldr/passwd +++ b/tldr/passwd @@ -18,8 +18,8 @@ source: https://github.com/tldr-pages/tldr.git - Get the current status of the user: -`passwd -S` +`passwd {{-S|--status}}` - Make the password of the account blank (it will set the named account passwordless): -`passwd -d` +`passwd {{-d|--delete}}`