Quiz: Which virtual pseudo-filesystem exposes live kernel metrics and process information (e.g., cpuinfo, meminfo)?
The /proc virtual filesystem acts as an interface to internal kernel data structures and running process state.
Find tutorials, system documentation, dynamic pages, and interactive quizzes in one place.
The /proc virtual filesystem acts as an interface to internal kernel data structures and running process state.
git init creates a new Git repository by generating the hidden .git metadata directory.
git checkout -b (or modern git switch -c ) creates and switches to a new branch atomically.
git cherry-pick copies a specific commit from any branch and applies it directly on top of the active HEAD.
git reset --soft moves the HEAD pointer backward while keeping all file modifications staged in the index for recommitting.
--hard discards all uncommitted modifications across the index and working directory, restoring exact commit state.
The reflog keeps a chronological journal of all HEAD pointer movements, enabling rescue of orphaned commits or lost branches.
The .gitignore file lists file patterns (such as build artifacts, cache files, and secrets) that Git will not track.