Fading Coder

One Final Commit for the Last Sprint

Home > Tech > Content

Comprehensive Reference for Linux Command Origins, File Extensions, and Path Conventions

Tech May 9 4

Core Filesystem & Navigation Utilities

  • ls: list directory contents
  • pwd: print working directory (outputs absolute path of current session context)
  • cd: change directory (alter shell execution context)
  • rmdir: remove empty directories
  • mkdir: create new directory structures
  • rm: remove files or directories recursive
  • mv: relocate filesystem entries between paths
  • cp: duplicate source data to target locations
  • cat: concatenate streams or display file payloads (supports redirection like cat source_a source_b >> destination.txt)

System Configuration & Access Control

  • su: substitute user / switch user (elevate privileges or change identity)
  • uname: Unix name (reports kernel architecture, version, and hostname)
  • chown: change owner (reassigns ownership metadata across users/groups)
  • chgrp: change group (modifies primary group association)
  • chmod: change mode (adjusts read/write/execute permission bits)

Resource Monitoring & Storage Metrics

  • ps: process status (captures active task snapshots; ps auxf renders hierarchical tree views)
  • df: disk free (queries mount points for available block allocation and inode availability)
  • du: disk usage (aggregates occupied space per directory hierarchy)

Repository & Binary Distribution Tools

  • rpm: Red Hat Package Manager (binary compilation and dependency tracking)
  • dpkg: Debian package manager (low-level .deb archive handler)
  • apt: Advanced Package Tool (high-level repository resolver with automatic dependency resolution)

Kernel Modules & Dynamic Linking

  • insmod: insert module (injects compiled driver binaries into running kernel space)
  • lsmod: list loaded modules (exports current kernel registry state)
  • rmmod: remove module (unloads specific driver objects from memory)
  • ldd: list dynamic dependencies (resolves shared library paths required by an executable)
  • ln: link (creates hard references or symbolic pointers)
  • ln -s: symbolic link generation (equivalent to operating system-level shortcuts)

Archive Compression & File Type Indicators

  • tar: tape archive (original hardware medium reference; now standard for bundling)
  • mkfs: make filesystem (initializes partition structures)
  • fsck: filesystem consistency check (scans metadata blocks for corruption recovery)
  • umount: unmount (detaches mounted volumes from the namespace tree)
  • *.rc: resource configuration (user/environment initialization scripts)
  • kXXservice/sXXservice (in /etc/rc*.d/): kill/start sequence controllers where XX denotes execution priority
  • Static archives use .a; dynamically linked libraries use .so
  • Compiled C/C++ translation units produce .o relocatable object files

Runtime & Scripting Environment Origins

  • fg: foreground (promotes suspended jobs to active terminal control)
  • bg: background (resumes halted tasks in detached process groups)
  • touch: update access/modification timestamps or create empty placeholders
  • man: manual pages (documented API references)

Standard Directory Hierarchy Abbreviations

  • /bin: essential binary executables for all users
  • /sbin: privileeged binaries restricted to administrative accounts
  • /dev: device node interface files for hardware abstraction
  • /etc: host-specific configuration databases
  • /lib: shared runtime libraries supporting base system utilities
  • /proc: virtual filesystem exposing kernel/process state
  • /tmp: ephemeral storage cleaned on reboot cycles
  • /usr: UNIX shared resources containing userland applications
  • /var: volatile data including logs, caches, and spool directories
  • fifo: first-in-first-out enter-process communication channel
  • GRUB: Grand Unified Bootloader
  • IFS: Internal Field Separator (defines word boundary delimiters in shells)
  • LILO: Linux Loader (legacy bootloader predecessor)
  • MySQL: Structured Query Language database named after founder Michael Widenius's daughter
  • PHP: Originally Personal Home Page Tools, later PHP Hypertext Preprocessor
  • PS: Prompt String (shell prompt formatting variable)
  • Perl: Practical Extraction and Reporting Language
  • Python: Named after Monty Python's Flying Circus comedy troupe
  • Tcl/Tk: Tool Command Language / Toolkit
  • VT: Video Terminal (character-based display emulation)
  • YaST: Yet Another Setup Tool (SUSE ecosystem installer)

Related Articles

Understanding Strong and Weak References in Java

Strong References Strong reference are the most prevalent type of object referencing in Java. When an object has a strong reference pointing to it, the garbage collector will not reclaim its memory. F...

Comprehensive Guide to SSTI Explained with Payload Bypass Techniques

Introduction Server-Side Template Injection (SSTI) is a vulnerability in web applications where user input is improper handled within the template engine and executed on the server. This exploit can r...

Implement Image Upload Functionality for Django Integrated TinyMCE Editor

Django’s Admin panel is highly user-friendly, and pairing it with TinyMCE, an effective rich text editor, simplifies content management significantly. Combining the two is particular useful for bloggi...

Leave a Comment

Anonymous

◎Feel free to join the discussion and share your thoughts.