Skip to content

Commit

Permalink
linux: more cmds (#27)
Browse files Browse the repository at this point in the history
tungbq authored Aug 13, 2024
1 parent 8cfba52 commit b9a8742
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit b9a8742

Please sign in to comment.