Skip to content

Add comprehensive Linux commands cheatsheet - #3

Open
omprakash2929 wants to merge 1 commit into
NotHarshhaa:masterfrom
omprakash2929:add-linux-cheatsheet
Open

Add comprehensive Linux commands cheatsheet#3
omprakash2929 wants to merge 1 commit into
NotHarshhaa:masterfrom
omprakash2929:add-linux-cheatsheet

Conversation

@omprakash2929

@omprakash2929 omprakash2929 commented May 28, 2026

Copy link
Copy Markdown

What this PR adds

  • A new comprehensive Linux.md cheatsheet covering 17 sections
  • Covers: file ops, permissions, users, processes, networking, SSH,
    systemd, package management, cron, scripting, disk management,
    performance, and best practices for DevOps

Why

Linux was the only major DevOps tool missing from this collection.
It's foundational to everything else in the repo (Docker, Kubernetes, CI/CD, etc.)

Checklist

  • Follows the existing cheatsheet Markdown format
  • Includes code blocks with comments
  • Covers beginner to advanced usage
  • Added references section

Summary by CodeRabbit

  • Documentation
    • Added a comprehensive Linux reference guide covering system fundamentals, directory structures, file operations, permissions and ownership management, user and group administration, process control with signals and priorities, disk and storage operations, networking configuration and troubleshooting, system monitoring, package management across distributions, shell scripting, cron scheduling, performance analysis, and industry best practices.

Review Change Stack

@vercel

vercel Bot commented May 28, 2026

Copy link
Copy Markdown

@omprakash2929 is attempting to deploy a commit to the Ramesh's projects Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented May 28, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

A new comprehensive Linux cheatsheet document is added to the repository covering Linux fundamentals through DevOps operations, including file operations, permissions, process management, networking, package management, scripting, performance monitoring, best practices, and references.

Changes

Linux DevOps Reference Cheatsheet

Layer / File(s) Summary
Introduction and document overview
Linux/Linux.md
Document title and opening overview of Linux concepts and directory structure.
File operations and text processing
Linux/Linux.md
Navigation, file/directory creation, removal, copying, moving, finding, viewing, searching, and text editing with editor references.
Permissions and ownership
Linux/Linux.md
Permission model breakdown, chmod, chown/chgrp usage, and special permission bits (SUID/SGID/sticky).
User, group, and process management
Linux/Linux.md
User and group management commands; process inspection, signaling, job control, and priority operations.
Storage and networking operations
Linux/Linux.md
Disk/storage management; network interface inspection, connectivity testing, firewall configuration (UFW/firewalld/iptables), and SSH key management.
System information and service management
Linux/Linux.md
System info, logging commands, systemd service control, and power management.
Package management and archiving
Linux/Linux.md
Package managers for Debian (apt) and RHEL-family (dnf/yum/rpm); archiving and compression tools (tar, gzip, zip).
Environment, shell, and scheduling
Linux/Linux.md
Environment variables, aliases, shell scripting basics, and cron/at scheduling commands.
Performance monitoring and best practices
Linux/Linux.md
Performance and troubleshooting tools for networks, processes, and systems; security, performance, automation, and logging best practices.
References and resources
Linux/Linux.md
Links to official Linux documentation and community resources.

🎯 1 (Trivial) | ⏱️ ~3 minutes


🐰 A cheatsheet grows in the Linux land,
From files to networks, all commands on hand,
With permissions and packages arranged so neat,
DevOps now has a reference so sweet! 🎯

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: adding a comprehensive Linux commands cheatsheet as the primary contribution of this PR.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@Linux/Linux.md`:
- Line 24: Two fenced code blocks in Linux.md are missing language identifiers
causing MD040 lint warnings; update each block start from ``` to ```text (use
"text" or "plaintext") so the blocks shown (the filesystem tree and the
file-permissions example) begin with ```text instead of ``` to resolve the lint
error.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: ef75d28e-a958-4bc9-b28c-7d988e78899f

📥 Commits

Reviewing files that changed from the base of the PR and between d433174 and 4431444.

📒 Files selected for processing (1)
  • Linux/Linux.md

Comment thread Linux/Linux.md

### Linux Directory Structure

```

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Add language identifiers to fenced code blocks (markdownlint MD040).

These two fenced blocks are missing language tags, which will keep lint warnings active. Use text (or plaintext) for both.

Suggested patch
-```
+```text
 /               → Root of the filesystem
 ├── bin/        → Essential user binaries (ls, cp, mv)
 ├── sbin/       → System binaries (for root)
 ├── etc/        → Configuration files
 ├── home/       → User home directories
 ├── var/        → Variable data (logs, caches)
 ├── tmp/        → Temporary files
 ├── usr/        → User programs and libraries
 ├── opt/        → Optional/third-party software
 ├── proc/       → Virtual FS for process/kernel info
 ├── dev/        → Device files
 ├── mnt/        → Mount points
 └── lib/        → Shared libraries

- +text
-rwxr-xr-- 1 user group size date filename
|||||||||||
|└┬┘└┬┘└┬┘
| │ │ └── Others: r-- = read only
| │ └───── Group: r-x = read + execute
| └──────── Owner: rwx = read + write + execute
└────────── File type: - = file, d = directory, l = symlink

Also applies to: 164-164

🧰 Tools
🪛 markdownlint-cli2 (0.22.1)

[warning] 24-24: Fenced code blocks should have a language specified

(MD040, fenced-code-language)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@Linux/Linux.md` at line 24, Two fenced code blocks in Linux.md are missing
language identifiers causing MD040 lint warnings; update each block start from
``` to ```text (use "text" or "plaintext") so the blocks shown (the filesystem
tree and the file-permissions example) begin with ```text instead of ``` to
resolve the lint error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant