Skip to main content

Command Palette

Search for a command to run...

Linux System Administration & Automation ๐Ÿงโš™๏ธ

Published
โ€ข2 min readโ€ขView as Markdown
Linux System Administration & Automation ๐Ÿงโš™๏ธ
M

Tech enthusiast | Code craftsman | DevOps explorer | Turning bugs into features one line at a time ๐Ÿš€

โœ… What I worked on:

๐Ÿ”น User & Group Management

  • Created users and groups

  • Configured sudo access

  • Restricted SSH access for better security

๐Ÿ”น File & Directory Permissions

  • Applied precise permission controls using chmod and chown

  • Verified access using ls -l

๐Ÿ”น Log File Analysis (AWK, grep, sed)

  • Searched errors with grep

  • Extracted timestamps & log levels using awk

  • Masked IP addresses with sed

  • Identified most frequent log entries

๐Ÿ”น Volume & Disk Management

  • Mounted storage under /mnt

  • Verified mounts using df -h and mount

๐Ÿ”น Process Monitoring

  • Managed background processes

  • Monitored using ps, top, and htop

  • Safely terminated processes

๐Ÿ”น Shell Scripting & Automation

  • Wrote a backup script using tar

  • Added colored success output

  • Automated backups using cron

๐Ÿ’ก This week strengthened my understanding of how Linux powers real DevOps environments, from security and monitoring to automation.

๐Ÿ“Œ Iโ€™ll be sharing commands, scripts, and learnings soon on GitHub / Blog.

#90DaysOfDevOps

#LinuxAdmin

#DevOps

#ShellScripting

#Automation

#SysAdmin

#LearningInPublic


๐Ÿง  (Optional) GitHub / Blog โ€“ Command Highlights

# User & Group
sudo useradd devops_user
sudo groupadd devops_team
sudo usermod -aG devops_team devops_user
sudo usermod -aG sudo devops_user

# Permissions
mkdir /devops_workspace
touch /devops_workspace/project_notes.txt
chmod 640 project_notes.txt

# Log Analysis
grep -i "error" Linux_2k.log
awk '{print $1, $2, $3}' Linux_2k.log
sed -E 's/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/[REDACTED]/g' Linux_2k.log

# Process
ping google.com > ping_test.log &
ps aux | grep ping
kill <PID>

# Backup Script
tar -czvf backup_$(date +%F).tar.gz /devops_workspace

More from this blog

Untitled Publication

78 posts