linux:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:start [2026/04/26 15:45] – [Misc Ressources] mhlinux:start [2026/10/31 22:34] (current) – [claude] align eGPU link label with page title (Core X) claude
Line 3: Line 3:
   -**[[linux:bash|Bash]]**   -**[[linux:bash|Bash]]**
   -**[[linux:git|Git basics]]**   -**[[linux:git|Git basics]]**
-  -**[[linux:eGPU|Razer Core eGPU]]**+  -**[[linux:eGPU|Razer Core X eGPU]]**
   -**[[linux:RBS|Razer Blade Stealth in Linux]]**   -**[[linux:RBS|Razer Blade Stealth in Linux]]**
 +
 +====== System & Diagnostics ======
 +
 +===== Logs =====
 +
 +Common system logs:
 +
 +<code>
 +/var/log/syslog
 +</code>
 +
 +View recent entries:
 +
 +<code bash>
 +tail -f /var/log/syslog   # if rsyslog is installed
 +journalctl -f             # systemd journal (Fedora, Debian 12+)
 +</code>
 +
 +List recently modified log files:
 +
 +<code bash>
 +ls -lt /var/log
 +</code>
 +
 +<WRAP info>
 +**Notes:**
 +
 +  * ''tail -f'' follows logs in real time
 +  * On systemd systems, ''journalctl'' is often preferred
 +</WRAP>
 +
 +===== System information =====
 +
 +=== General overview ===
 +
 +<code bash>
 +inxi -F
 +</code>
 +
 +=== Distribution ===
 +
 +<code bash>
 +lsb_release -d
 +</code>
 +
 +=== Kernel ===
 +
 +<code bash>
 +uname -snrm
 +</code>
 +
 +Flags:
 +
 +  *''s'': kernel name
 +  *''n'': network node hostname
 +  *''r'': kernel release number
 +  *''m'': machine hardware name
 +
 +
 +=== CPU ===
 +
 +<code bash>
 +lscpu
 +cat /proc/cpuinfo
 +</code>
 +
 +=== Memory ===
 +
 +<code bash>
 +free -h
 +</code>
 +
 +=== Mounted filesystems ===
 +
 +<code bash>
 +df -h
 +</code>
 +
 +=== Kernel modules ===
 +
 +<code bash>
 +lsmod
 +</code>
 +
 +=== Bash history ===
 +
 +<code bash>
 +history
 +</code>
 +
 +----
 +
 +===== Diagnostics =====
 +
 +<code bash>
 +uptime              # load average
 +dmesg -T | tail     # recent kernel messages
 +vmstat 1            # system performance
 +mpstat -P ALL 1     # CPU usage per core (package: sysstat)
 +pidstat             # process statistics (package: sysstat)
 +free -h             # memory usage
 +</code>
 +
 +
 +====== Storage & Filesystems ======
 +
 +===== Mounting =====
 +
 +=== List mounts ===
 +
 +<code bash>
 +findmnt
 +</code>
 +
 +=== List disks ===
 +
 +<code bash>
 +lsblk
 +</code>
 +
 +=== Mount ===
 +
 +<code bash>
 +sudo mkdir -p /media/DRIVE
 +sudo mount /dev/sdX# /media/DRIVE
 +</code>
 +
 +=== Unmount ===
 +
 +<code bash>
 +sudo umount /media/DRIVE
 +</code>
 +
 +----
 +
 +===== Samba =====
 +
 +==== Manage service ====
 +
 +<code bash>
 +sudo systemctl start smbd
 +sudo systemctl stop smbd
 +sudo systemctl restart smbd
 +</code>
 +
 +----
 +
 +==== List available shares ====
 +
 +<code bash>
 +smbclient -L //host -U username
 +</code>
 +
 +  * ''host'' → hostname or IP of the server
 +  * prompts for password
 +
 +----
 +
 +==== Access a share (temporary mount) ====
 +
 +Create mount point if needed:
 +
 +<code bash>
 +sudo mkdir -p /mnt/share
 +</code>
 +
 +Then mount:
 +
 +<code bash>
 +sudo mount -t cifs //host/share /mnt/share -o username=user
 +</code>
 +
 +----
 +
 +==== GUI mounts (file manager) ====
 +
 +When mounting via a file manager (Nautilus, Nemo, etc.), shares are typically mounted under:
 +
 +<code>
 +/run/user/UID/gvfs/
 +</code>
 +
 +----
 +
 +==== Notes ====
 +
 +<WRAP info>
 +**Notes:**
 +
 +  * ''smbclient -L'' is useful for discovery and debugging access issues
 +  * ''mount -t cifs'' provides a standard way to mount shares in scripts or system configs
 +  * SMB1 is deprecated and may be disabled on modern systems
 +</WRAP>
 +
 +----
 +
 +===== Mount/Repair NTFS =====
 +
 +If an NTFS volume mounts as read-only, it is usually due to an unclean shutdown or filesystem inconsistency.
 +
 +Attempt repair:
 +
 +<code bash>
 +sudo ntfsfix /dev/sdX#
 +</code>
 +
 +Create mount point if needed:
 +
 +<code bash>
 +sudo mkdir -p /mnt/ntfs
 +</code>
 +
 +Then remount:
 +
 +<code bash>
 +sudo mount -t ntfs3 /dev/sdX# /mnt/ntfs
 +</code>
 +
 +<WRAP info>
 +**Notes:**
 +
 +  * ''ntfsfix'' performs basic repairs and clears the "dirty" flag
 +  * Full repair should be done from Windows using ''chkdsk''
 +  * If the issue persists, ensure Windows Fast Startup is disabled
 +</WRAP>
 +
 +===== Repair FAT32 filesystem errors =====
 +
 +If a FAT32 filesystem mounts as read-only, it is often due to detected corruption.
 +
 +Check kernel logs:
 +
 +<code bash>
 +dmesg
 +</code>
 +
 +Typical errors:
 +
 +<code bash>
 +FAT-fs (sdb1): error, corrupted directory (invalid entries)
 +FAT-fs (sdb1): Filesystem has been set read-only
 +FAT-fs (sdb1): error, invalid access to FAT
 +</code>
 +
 +Repair the filesystem:
 +
 +<code bash>
 +sudo umount /dev/sdX#
 +sudo fsck.vfat -a -w /dev/sdX#
 +</code>
 +
 +  * ''-a'' automatically repair filesystem
 +  * ''-w'' write changes to disk
 +
 +Note: Ensure the correct device is targeted before running ''fsck''.
 +
 +
 +====== File & Data Operations ======
 +
 +===== Shell toolbox =====
 +
 +==== File operations ====
 +
 +=== Mass renaming ===
 +
 +__**Changing an extension:**__
 +
 +<code bash>
 +for i in *.JPG; do mv "$i" "${i/.JPG/.jpg}"; done
 +</code>
 +
 +__**Changing a prefix:**__
 +
 +<code bash>
 +for i in "prefix"*.png; do
 +  mv -n -- "$i" "${i/#prefix/another prefix}"
 +done
 +</code>
 +
 +  * ''"prefix"*.png'' targets only files beginning with the selected prefix, so unrelated files in the folder are ignored.
 +  * ''${i/#prefix/another prefix}'' replaces only the prefix at the beginning of the filename. If the same text appears later in the filename, it is left untouched.
 +  * In Bash parameter expansion, the ''#'' before ''prefix'' means “match only at the start of the variable value”. Without ''#'', Bash would replace the first matching occurrence anywhere in the filename.
 +  * ''mv -n'' prevents overwriting an existing file if the renamed target already exists.
 +  * ''--'' tells ''mv'' that everything after it is a filename, not an option. This protects against unusual filenames starting with ''-''.
 +  * ''"$i"'' keeps the original filename safely quoted, so spaces and special characters in filenames are preserved.
 +
 +__**Alternative (rename tool):**__
 +
 +<code bash>
 +rename 's/\.JPG$/.jpg/' *.JPG
 +</code>
 +
 +  * Use the ''for ... done'' + ''mv -n --'' loop for safe, explicit prefix renaming.
 +  * Use ''rename'' for concise regex-based changes, especially extension changes such as ''.JPG'' to ''.jpg''.
 +  * On Linux Mint / Ubuntu, ''rename 's/\.JPG$/.jpg/' *.JPG'' usually works because the available ''rename'' is the Perl-style tool.
 +  * On Ubuntu / Mint the Perl-style ''rename'' is a separate package and is not always preinstalled: ''sudo apt install rename''.
 +  * The ''rename'' command is not fully portable across all Linux distributions, because different systems may ship different versions with different syntax.
 +  * For safety, preview first with ''rename -n 's/\.JPG$/.jpg/' *.JPG''.
 +
 +----
 +
 +=== Empty a file ===
 +
 +<code bash>
 +: > /path/to/file
 +</code>
 +
 +----
 +
 +==== Text processing ====
 +
 +=== cut ===
 +
 +Extract part of a string:
 +
 +<code bash>
 +date | cut -c17-24
 +</code>
 +
 +----
 +
 +==== Archives ====
 +
 +=== tar ===
 +
 +<code bash>
 +# Extract
 +tar -xvf file.tar
 +tar -xvzf file.tar.gz
 +
 +# Create
 +tar -cvf file.tar /path/folder
 +tar -cvzf file.tar.gz /path/folder
 +</code>
 +
 +Flags:
 +
 +  * ''c'' create archive
 +  * ''x'' extract archive
 +  * ''v'' verbose (list files processed)
 +  * ''f'' specify archive file
 +  * ''z'' gzip compression
 +
 +----
 +
 +====== User Environment ======
  
 ===== PATH ===== ===== PATH =====
Line 41: Line 387:
 </code> </code>
  
-[[http://refspecs.linuxfoundation.org/fhs.shtml|FHS Reference]]+[[https://refspecs.linuxfoundation.org/fhs.shtml|FHS Reference]]
  
 === Add to PATH === === Add to PATH ===
Line 143: Line 489:
 <code> <code>
 GRUB_BACKGROUND=/path/to/image.jpg GRUB_BACKGROUND=/path/to/image.jpg
 +</code>
 +
 +Apply the change:
 +
 +<code bash>
 +# Ubuntu / Mint
 +sudo update-grub
 +
 +# Fedora
 +sudo grub2-mkconfig -o /boot/grub2/grub.cfg
 </code> </code>
  
Line 175: Line 531:
  
 <code bash> <code bash>
-$ sudo fc-cache -f -v+fc-cache -f -v
 </code> </code>
  
Line 212: Line 568:
  
 It often reduces file size, especially with image-heavy PDFs, but this is not guaranteed. It often reduces file size, especially with image-heavy PDFs, but this is not guaranteed.
-</WRAP> 
- 
-===== Repair FAT32 filesystem errors ===== 
- 
-If a FAT32 filesystem mounts as read-only, it is often due to detected corruption. 
- 
-Check kernel logs: 
- 
-<code bash> 
-dmesg 
-</code> 
- 
-Typical errors: 
- 
-<code bash> 
-FAT-fs (sdb1): error, corrupted directory (invalid entries) 
-FAT-fs (sdb1): Filesystem has been set read-only 
-FAT-fs (sdb1): error, invalid access to FAT 
-</code> 
- 
-Repair the filesystem: 
- 
-<code bash> 
-sudo umount /dev/sdX# 
-sudo fsck.vfat -a -w /dev/sdX# 
-</code> 
- 
-  * ''-a'' automatically repair filesystem 
-  * ''-w'' write changes to disk 
- 
-Note: Ensure the correct device is targeted before running ''fsck''. 
- 
- 
-===== Data recovery ===== 
- 
-Use **TestDisk** / **PhotoRec** as a first recovery tool. 
- 
-  * **TestDisk** attempts partition repair and file undelete when filesystem metadata is still usable. 
-  * **PhotoRec** performs file carving by signature. It can recover files from damaged filesystems, but filenames and folder structure are usually lost. 
- 
-Do not write recovered files to the source disk. 
- 
-==== PhotoRec: recovered MOV files ==== 
- 
-For some recovered ''.mov'' files, PhotoRec may split the video into separate ''ftyp'' and ''mdat'' parts. 
- 
-In PhotoRec ''FileOpts'', enable: 
- 
-<code> 
-[X] mov/mdat Recover mdat atom as a separate file 
-</code> 
- 
-Sort recovered files by name, then try concatenating matching parts: 
- 
-<code bash> 
-cat f123_ftyp.mov f456_mdat.mov > recovered_1.mov 
-cat f456_mdat.mov f123_ftyp.mov > recovered_2.mov 
-</code> 
- 
-One order may produce a usable file. 
- 
-Sometimes the header/container part may be ''.mp4'' while the media data part is ''.mov'': 
- 
-<code bash> 
-cat f54114560.mp4 f51781632_mdat.mov > recovered.mov 
-</code> 
- 
-Note: This is a recovery attempt, not a guaranteed repair method. For valuable data, stop using the disk immediately and clone/image it before experimenting. 
- 
-===== Mount/Repair NTFS ===== 
- 
-If an NTFS volume mounts as read-only, it is usually due to an unclean shutdown or filesystem inconsistency. 
- 
-Attempt repair: 
- 
-<code bash> 
-sudo ntfsfix /dev/sdX# 
-</code> 
- 
-Then remount: 
- 
-<code bash> 
-sudo mount -t ntfs3 /dev/sdX# /mnt/ntfs 
-</code> 
- 
-Create mount point if needed: 
- 
-<code bash> 
-sudo mkdir -p /mnt/ntfs 
-</code> 
- 
-<WRAP info> 
-**Notes:** 
- 
-  * ''ntfsfix'' performs basic repairs and clears the "dirty" flag 
-  * Full repair should be done from Windows using ''chkdsk'' 
-  * If the issue persists, ensure Windows Fast Startup is disabled 
 </WRAP> </WRAP>
  
Line 361: Line 620:
 osdlevel=0 osdlevel=0
 </code> </code>
- 
-===== Using Apple USB SuperDrive ===== 
- 
-The Apple USB SuperDrive requires a vendor-specific command to activate on non-Apple systems. 
- 
-=== Required package === 
- 
-<code bash> 
-sudo apt install sg3-utils 
-</code> 
- 
-=== Identify device === 
- 
-Usually appears as ''/dev/sr0'': 
- 
-<code bash> 
-lsblk 
-</code> 
- 
-=== Send activation command === 
- 
-<code bash> 
-sudo sg_raw /dev/sr0 EA 00 00 00 00 00 01 
-</code> 
- 
-The drive should become usable immediately after. 
- 
-<WRAP info> 
-**Note:** This command must be reissued after reconnecting the drive. 
-</WRAP> 
- 
-===== QCAD (plugin location) ===== 
- 
-<WRAP center round alert 60%> 
-NOTE : MOVE TO BOTTOM 'MISC' SECTION AFTER REWRITE 
-</WRAP> 
- 
- 
-To locate the QCAD plugin directory: 
- 
-Go to: 
-  * Help > About > Plugins (Linux / Windows) 
-  * QCAD > About > Plugins (macOS) 
- 
-Click on any plugin name to reveal its file location. 
- 
-<WRAP info> 
-**Note:** Useful for locating and removing plugins related to trial limitations. 
-</WRAP> 
- 
-===== Screen recording ===== 
- 
-==== Recommended ==== 
- 
-  * **OBS Studio** → full-featured, actively maintained, works for both simple and advanced recording 
- 
-==== Lightweight alternatives ==== 
- 
-  * simplescreenrecorder → lightweight, reliable on X11 
-  * vokoscreenNG → simple GUI, good for quick recordings 
- 
-==== Notes ==== 
- 
-  * Older tools such as Kazam or gtk-recordmydesktop are largely unmaintained and may not work reliably on modern systems 
-  * Wayland sessions may require OBS or desktop-native recording tools 
- 
-===== Samba ===== 
- 
-==== List available shares ==== 
- 
-<code bash> 
-smbclient -L //host -U username 
-</code> 
- 
-  * ''host'' → hostname or IP of the server 
-  * prompts for password 
- 
----- 
- 
-==== Access a share (temporary mount) ==== 
- 
-<code bash> 
-sudo mount -t cifs //host/share /mnt/share -o username=user 
-</code> 
- 
-Create mount point if needed: 
- 
-<code bash> 
-sudo mkdir -p /mnt/share 
-</code> 
- 
----- 
- 
-==== GUI mounts (file manager) ==== 
- 
-When mounting via a file manager (Nautilus, Nemo, etc.), shares are typically mounted under: 
- 
-<code> 
-/run/user/UID/gvfs/ 
-</code> 
- 
----- 
- 
-==== Notes ==== 
- 
-<WRAP info> 
-**Notes:** 
- 
-  * ''smbclient -L'' is useful for discovery and debugging access issues 
-  * ''mount -t cifs'' provides a standard way to mount shares in scripts or system configs 
-  * SMB1 is deprecated and may be disabled on modern systems 
-</WRAP> 
  
 ===== Alias ===== ===== Alias =====
Line 520: Line 667:
 </code> </code>
  
-===== Mouse button mapping =====+===== Package management =====
  
-==== X11 method (xbindkeys) ====+==== Fix broken packages ====
  
-Install tools:+__**Ubuntu / Mint (apt):**__
  
 <code bash> <code bash>
-sudo apt install xbindkeys xvkbd+sudo dpkg --configure -a 
 +sudo apt --fix-broken install
 </code> </code>
  
-Identify button codes:+__**Fedora (dnf):**__
  
 <code bash> <code bash>
-xev | grep button+sudo dnf distro-sync 
 +sudo rpm --rebuilddb
 </code> </code>
  
-Create configuration:+  * ''dnf distro-sync'' realigns installed packages with the repositories and resolves inconsistent dependencies 
 +  * ''rpm --rebuilddb'' rebuilds the RPM database if it is damaged
  
-<code bash> 
-touch ~/.xbindkeysrc 
-</code> 
  
-Example:+====== Specialized & Recovery ======
  
-<code> +===== Data recovery =====
-# Send Enter on mouse button 8 +
-"xvkbd -text '\r'" +
-b:8 +
-</code>+
  
-Start xbindkeys:+Use **TestDisk** / **PhotoRec** as a first recovery tool.
  
-<code bash> +  * **TestDisk** attempts partition repair and file undelete when filesystem metadata is still usable. 
-xbindkeys +  * **PhotoRec** performs file carving by signature. It can recover files from damaged filesystems, but filenames and folder structure are usually lost.
-</code>+
  
-----+Do not write recovered files to the source disk.
  
-<WRAP info> +==== PhotoRec: recovered MOV files ====
-**Notes:**+
  
-  * Works on X11 sessions only +For some recovered ''.mov'' files, PhotoRec may split the video into separate ''ftyp'' and ''mdat'' parts.
-  * Wayland sessions generally do not support this method +
-  * ''xvkbd'' simulates keypresses; alternative tools may be preferred depending on use case +
-</WRAP>+
  
-===== Shell toolbox =====+In PhotoRec ''FileOpts'', enable:
  
-==== File operations ==== +<code> 
- +[X] mov/mdat Recover mdat atom as a separate file
-=== Mass renaming === +
- +
-Uppercase .JPG to lowercase .jpg +
- +
-<code bash> +
-for i in *.JPG; do mv "$i" "${i/.JPG/.jpg}"; done+
 </code> </code>
  
-Alternative (rename tool):+Sort recovered files by name, then try concatenating matching parts:
  
 <code bash> <code bash>
-rename 's/\.JPG$/.jpg/' *.JPG+cat f123_ftyp.mov f456_mdat.mov > recovered_1.mov 
 +cat f456_mdat.mov f123_ftyp.mov > recovered_2.mov
 </code> </code>
  
-----+One order may produce a usable file.
  
-=== Empty a file ===+Sometimes the header/container part may be ''.mp4'' while the media data part is ''.mov'':
  
 <code bash> <code bash>
-: > /path/to/file+cat f54114560.mp4 f51781632_mdat.mov > recovered.mov
 </code> </code>
  
-----+Note: This is a recovery attempt, not a guaranteed repair method. For valuable data, stop using the disk immediately and clone/image it before experimenting.
  
-==== Text processing ==== 
  
-=== cut === 
  
-Extract part of a string:+===== Using Apple USB SuperDrive =====
  
-<code bash> +The Apple USB SuperDrive requires a vendor-specific command to activate on non-Apple systems.
-date | cut -c17-24 +
-</code>+
  
----- +=== Required package ===
- +
-==== Archives ==== +
- +
-=== tar ===+
  
 <code bash> <code bash>
-# Extract +sudo apt install sg3-utils
-tar -xvf file.tar +
-tar -xvzf file.tar.gz +
- +
-# Create +
-tar -cvf file.tar /path/folder +
-tar -cvzf file.tar.gz /path/folder+
 </code> </code>
  
-Flags:+=== Identify device ===
  
-  * ''c'' create archive +Usually appears as ''/dev/sr0'':
-  * ''x'' extract archive +
-  * ''v'' verbose (list files processed) +
-  * ''f'' specify archive file +
-  * ''z'' gzip compression +
- +
----- +
- +
-==== Mounting ==== +
- +
-=== List mounts: === +
- +
-<code bash> +
-findmnt +
-</code> +
- +
-=== List disks: ===+
  
 <code bash> <code bash>
Line 644: Line 747:
 </code> </code>
  
-=== Mount: ===+=== Send activation command ===
  
 <code bash> <code bash>
-sudo mkdir -p /media/DRIVE +sudo sg_raw /dev/sr0 EA 00 00 00 00 00 01
-sudo mount /dev/sdX# /media/DRIVE+
 </code> </code>
  
-=== Unmount: ===+The drive should become usable immediately after.
  
-<code bash> +<WRAP info> 
-sudo umount /media/DRIVE +**Note:** This command must be reissued after reconnecting the drive. 
-</code>+</WRAP>
  
-----+===== Additional Resources =====
  
-==== Samba ====+  * [[https://en.wikipedia.org/wiki/Magic_SysRq_key#Configuration|SysRq Keys]] -- Best combo is ''Alt + SysRq + R E I S U B'' 
 +  * [[https://wiki.networksecuritytoolkit.org/nstwiki/index.php?title=HowTo_Create_A_GPT_Disk_With_EFI_System_And_exFAT_Partitions_Using_Parted|Creating GPT/exFAT partitions using CLI]]
  
-Manage service: 
  
-<code bash> +====== Misc / Desktop ======
-sudo systemctl start smbd +
-sudo systemctl stop smbd +
-sudo systemctl restart smbd +
-</code>+
  
-----+===== Screen recording =====
  
-==== Package management ====+==== Recommended ====
  
-=== Fix broken packages ===+  * **OBS Studio** → full-featured, actively maintained, works for both simple and advanced recording
  
-<code bash> +==== Lightweight alternatives ====
-sudo dpkg --configure -a +
-sudo apt --fix-broken install +
-</code>+
  
-----+  * simplescreenrecorder → lightweight, reliable on X11 
 +  * vokoscreenNG → simple GUI, good for quick recordings 
 +  * Spectacle → on Fedora (KDE Plasma), the native screenshot tool can also record video; nothing to install
  
-==== System information ====+==== Notes ====
  
-=== General overview: ===+  * Older tools such as Kazam or gtk-recordmydesktop are largely unmaintained and may not work reliably on modern systems 
 +  * Wayland sessions may require OBS or desktop-native recording tools
  
-<code bash> +===== Mouse button mapping =====
-inxi -F +
-</code>+
  
-=== Distribution: ===+==== X11 method (xbindkeys) ====
  
-<code bash> +Install tools:
-lsb_release -d +
-</code> +
- +
-=== Kernel: ===+
  
 <code bash> <code bash>
-uname -snrm+sudo apt install xbindkeys xvkbd
 </code> </code>
  
-Flags: +Identify button codes:
- +
-  *''s'': kernel name +
-  *''n'': network node hostname +
-  *''r'': kernel relase number +
-  *''m'': machine hardware name +
- +
- +
-=== CPU: ===+
  
 <code bash> <code bash>
-lscpu +xev | grep button
-cat /proc/cpuinfo+
 </code> </code>
  
-=== Memory: ===+Create configuration:
  
 <code bash> <code bash>
-free -h+touch ~/.xbindkeysrc
 </code> </code>
  
-=== Mounted filesystems: ===+Example:
  
-<code bash> +<code> 
-df -h+# Send Enter on mouse button 8 
 +"xvkbd -text '\r'" 
 +b:8
 </code> </code>
  
-=== Kernel modules: ===+Start xbindkeys:
  
 <code bash> <code bash>
-lsmod +xbindkeys
-</code> +
- +
-=== Bash history: === +
- +
-<code bash> +
-history+
 </code> </code>
  
 ---- ----
- 
-==== Diagnostics ==== 
- 
-<code bash> 
-uptime              # load average 
-dmesg -T | tail     # recent kernel messages 
-vmstat 1            # system performance 
-mpstat -P ALL 1     # CPU usage per core 
-pidstat             # process statistics 
-free -h             # memory usage 
-</code> 
- 
-===== Logs ===== 
- 
-Common system logs: 
- 
-<code> 
-/var/log/syslog 
-</code> 
- 
-View recent entries: 
- 
-<code bash> 
-tail -f /var/log/syslog 
-</code> 
- 
-List recently modified log files: 
- 
-<code bash> 
-ls -lt /var/log 
-</code> 
  
 <WRAP info> <WRAP info>
 **Notes:** **Notes:**
  
-  * ''tail -f'' follows logs in real time +  * Works on X11 sessions only 
-  * On systemd systems, ''journalctl'' is often preferred+  * Wayland sessions generally do not support this method 
 +  * ''xvkbd'' simulates keypresses; alternative tools may be preferred depending on use case
 </WRAP> </WRAP>
  
 +===== QCAD (plugin location) =====
  
 +To locate the QCAD plugin directory:
  
 +Go to:
 +  * Help > About > Plugins (Linux / Windows)
 +  * QCAD > About > Plugins (macOS)
  
 +Click on any plugin name to reveal its file location.
  
- +<WRAP info> 
- +**Note:** Useful for locating and removing plugins related to trial limitations. 
- +</WRAP>
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
- +
-===== Additional Ressources ===== +
- +
-  ***[[https://en.wikipedia.org/wiki/Magic_SysRq_key#Configuration|SysRq Keys]]** -- Best combo is ''Alt + SysRq + R E I S U B'' +
- +
-  ***[[https://www.guruadvisor.net/en/software-saas/465-advanced-linux-troubleshooting-methods-and-tools-for-diagnostics-and-problem-identification|Advanced Linux Troubleshooting]]** +
- +
-  ***[[https://wiki.networksecuritytoolkit.org/nstwiki/index.php?title=HowTo_Create_A_GPT_Disk_With_EFI_System_And_exFAT_Partitions_Using_Parted|Creating GPT/exFAT partitions using CLI]]**+
  • linux/start.1777211156.txt.gz
  • Last modified: 2026/04/26 15:45
  • by mh