Commit Graph

10 Commits

Author SHA1 Message Date
89e4bd519a docs(notes): expand storage, btrfs, linux, and ssh notes
btrfs.md:
- Add device scan (no-arg form) and device stats --reset / -z
- Add read-only mount, remount with performance/default options
- Add Degraded Mount and Missing Device Removal subsection
- Add stdbuf + zstd backgrounded defrag with log output
- Add RAID1 balance conversion
- Add ionice for scrub, watch scrub+device stats, watch scrub+temperatures
- Add Recovery → Filesystem Check (btrfs check, --force)
- Add Recovery → Diagnosis (journal by date, dmesg btrfs filter)

linux.md:
- Add CPU info commands (lscpu, /proc/cpuinfo, core count)
- Add GPU info (lspci | grep vga) and CPU scaling driver
- Add mount --bind and chroot with pseudo-fs setup
- Add update-initramfs -k all and -c -k $(uname -r) variants
- Add NFS section (showmount, exportfs)
- Add Network Diagnostics section (curl timing, high-freq ping, jumbo frame ping)
- Add journal date filtering and microcode grep to Diagnosis

ssh.md:
- Add Placeholders section
- Replace all hardcoded usernames, hostnames, IPs, and key paths with placeholders
- Add Skip Host Key Verification section (StrictHostKeyChecking, UserKnownHostsFile)

storage.md:
- Add lsblk -e 7 to exclude loop devices
- Add blkid <partition> variant
- Add cat /proc/mounts grep
- Add SMART filtered greps (Reallocated, Pending, UDMA_CRC, Load_Cycle_Count)
- Add drive temperature one-liner and watch loop
- Add Hardware Monitoring section (lm-sensors, sensors-detect, sensors)
- Add Kernel Messages section (dmesg tail, err/warn, -T, nvme, ata/scsi, I/O, ATA port mapping)
- Add strings on raw device to Hex Dump
2026-05-12 01:03:26 -04:00
13c0acd990 feat: split and clean drive/storage notes into three focused files
* notes/btrfs.md : remove generic drive commands, genericize all UUIDs/paths/hostnames, add Placeholders section, add command shorthands table, collapse backup procedures into a single generic template
* notes/linux.md : remove all storage and drive-related content, genericize all hardcoded usernames/hostnames/paths
* notes/storage.md : new file consolidating all storage tooling (smartctl, badblocks, dd, hdparm, fsck, findmnt, fstab) from both btrfs.md and linux.md
2026-04-05 18:22:20 -04:00
cd1db53397 Add commands to find information about Linux distribution, version, and kernel
Included various commands such as `lsb_release -a`, `cat /etc/debian_version`, and `hostnamectl` to document ways of retrieving system and distribution details.
2024-12-05 15:40:37 -05:00
3ae971374f feat: add user creation notes to linux.md
- Documented user addition using the `adduser` command with the `--gecos` option for pre-filling user details.
2024-10-29 17:35:58 -04:00
7124708173 Added pip packaging notes and guide for Debian
- Included instructions for required tools, building the package, and uploading to Test PyPI and Live PyPI.
- Added comments for clarity in the notes.

Added notes on user commands and font directories in Linux notes

- Included commands to run commands as a specific user, change user shells, and switch to a user with a specific shell.
- Added instructions for managing local and global font directories.
2024-10-21 03:19:21 -04:00
328b876257 Add Disk Management and Diagnosis sections to notes
- **Disk Management**: Added commands for switching data between two USB drives, including formatting and copying operations.
- **Diagnosis**:
  - **Apt**: Included command to view APT logs for package history.
  - **Wayland Issues**: Added commands for checking system logs and GPU information to diagnose Wayland-related issues.
2024-09-23 23:20:37 -04:00
3364657b0b Enhance system management notes with additional commands and scripts
- Added instructions for setting and updating hostnames, including alias configuration.
- Included detailed `tar` commands for creating and transferring backups over SSH.
- Expanded time zone configuration section with `timedatectl` commands and manual link setup.
- Added methods for locating specific services using `systemctl`.
- Included steps for decrypting and re-encrypting `openssl` archives with password management.
- Added `diff`, `rsync`, and `cmp` methods for recursively verifying directory content differences.
2024-09-23 23:07:21 -04:00
aeae8e4ab1 Add notes on installing and updating fonts
- Added instructions for downloading, extracting, and copying font files.
- Included steps to update the font cache with explanations of `fc-cache` options.
2024-09-23 17:59:28 -04:00
51c0b3312c Update Linux Notes: Expanded System Information and User Management Sections
- **System Information**:
  - Added detailed commands for hardware and software information, including `lscpu`, `lshw`, `hwinfo`, and more.
  - Included commands for finding binary paths, counting words and lines in files.

- **User Management**:
  - Introduced new sections for managing user information, super user management, and switching users.
  - Added commands for listing users, disabling root login via SSH, managing sudo permissions, and switching users with sudo or root privileges.

This update provides a more comprehensive overview of system and user management tasks.
2024-09-23 17:51:52 -04:00
c66d6a3213 Add notes on Linux system commands and USB device management
- Added detailed instructions for checking and managing USB devices
- Included commands for:
  - Viewing system information related to USB devices
  - Identifying mount points and device information
  - Checking filesystem and data integrity
  - Testing for bad blocks and running SMART diagnostics
  - Benchmarking read speed and safely removing devices

This commit provides a comprehensive guide for handling USB devices in Linux environments.
2024-09-23 16:48:41 -04:00