Skip to content

Instantly share code, notes, and snippets.

View ishakzail's full-sized avatar
🎯
Focusing

Ishak Zail ishakzail

🎯
Focusing
View GitHub Profile
@ishakzail
ishakzail / ownership_permession.md
Created November 4, 2025 13:19
Linux Ownership and Permissions

Detailed Explanation of Linux Ownership and Permissions

In Linux systems, every file and directory has three fundamental ownership categories: owner, group, and others (also called "world"). These concepts form the foundation of the Linux permission system and control who can access, modify, or execute files.

The Owner (User)

The owner is the individual user account that created the file or directory. This user has the most control over a file's properties and permissions. The owner can change the file's permissions at any time using the chmod command, modify the file's contents, and even delete it. Additionally, the owner can transfer ownership to another user (though only the superuser root can transfer ownership from one user to another in most cases).

@ishakzail
ishakzail / roadmap.md
Created November 4, 2025 11:29
Roadmap Linux
@ishakzail
ishakzail / linux-commands.md
Created November 3, 2025 13:27
Most Used Linux Commands: Cheat Sheet with Use Cases

Most Used Linux Commands: Cheat Sheet with Use Cases

1. Navigation & Filesystem

  • ls – List files in a directory.
    Usage: ls -l (detailed list), ls -a (show hidden)
    Example: ls -lh /var/log
  • pwd – Print current working directory.
    Usage: pwd
  • cd – Change directory.
    Usage: cd /home/user/docs
@ishakzail
ishakzail / Difference Between dependencies and devDependencies.md
Last active December 20, 2024 15:50
Difference Between dependencies and devDependencies
  1. dependencies:
  • These are the packages required for your application to run in production.
  • Examples include libraries like react, lodash, or express.
  • They are listed under the dependencies section in package.json.
  • Installed using:
yarn add <package-name>
  1. devDependencies:
  • These are the packages needed only during the development or build phase, not in production.