lwc:programming:bash

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
lwc:programming:bash [2024/09/27 12:48] – [Superuser] John Harrisonlwc:programming:bash [2025/11/09 20:00] (current) John Harrison
Line 199: Line 199:
    * traverse through to see what is using disk space: ''du -cha --max-depth=1 /var | grep -E "M|G"''    * traverse through to see what is using disk space: ''du -cha --max-depth=1 /var | grep -E "M|G"''
    * find out what app is on a particular port: ''netstat -anpe | grep "1234" | grep "LISTEN"''    * find out what app is on a particular port: ''netstat -anpe | grep "1234" | grep "LISTEN"''
 +   * if ''mount -o loop ./live-cd.iso /mnt'' returns ''mount: /mnt: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error.'' then
 +     * ''sudo kpartx -av live-cd.iso'' and (example) ''sudo mount -o loop /dev/mapper/loop0p1 /mnt''
  
  • lwc/programming/bash.1727459336.txt.gz
  • Last modified: 2024/09/27 12:48
  • by John Harrison