From b9a8742a610ee685bf6610ebd28a2732d63a0f25 Mon Sep 17 00:00:00 2001 From: Tung Leo Date: Wed, 14 Aug 2024 00:20:39 +0700 Subject: [PATCH] linux: more cmds (#27) --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 5116ff2..bfcc1db 100644 --- a/README.md +++ b/README.md @@ -26,11 +26,17 @@ This repository is a collection of the most commonly used command-line commands ## Linux Commands ```bash +# Clear terminal output +clear + # List files in the current directory with details ls -la +# Check system stats df -h cat /etc/os-release +cat /proc/meminfo +nproc # Working with linux service systemctl status target_service @@ -44,6 +50,9 @@ chmod +x some_file.sh # Change directory owner chown 0600 /path/to/directory +# Create new directory +mkdir -p /path/to/directory + # Change directory cd /path/to/directory