created: 20230111153758951 creator: Octt icon: 🐧 modified: 20231224171918426 modifier: Octt page-cover: https://images.unsplash.com/photo-1549605659-32d82da3a059?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D tags: $:/i18n:en Unix title: Linux <<^wikipediaframe Linux en>> !! ''Docs'' * [[The Linux Kernel documentation|https://docs.kernel.org/]] * [[Embedded Linux Wiki|https://elinux.org/Main_Page]] * [[die.net Linux Documentation|https://linux.die.net]] !!! ''Manpages'' * on [[linux die|https://linux.die.net/man]] * or, simplified: [[tldr pages|https://tldr.sh/]] --- <<#[ Git "https://github.com/tldr-pages">> !!! ''Misc'' * LDP (obsolete?) ** [[The Network Administrators' Guide|https://tldp.org/LDP/nag/]] ** [[Linux-MIPS for PS1?|https://www.linux-mips.org/wiki/PS1]] * [[SquashFS|https://tldp.org/HOWTO/SquashFS-HOWTO/whatis.html]], [[DwarFS|https://github.com/mhx/dwarfs]] * cannot access fuse mount as root or other users, [[Why does root get Permission denied when accessing FUSE directory?|https://unix.stackexchange.com/questions/17402/why-does-root-get-permission-denied-when-accessing-fuse-directory#17423]] --- To allow access to other users, add `user_allow_other` in `/etc/fuse.conf`, then mount fs with `-o allow_root` (only root) or `-o allow_other` (any user, including root). * [[How to extend the life of SD card used as root partition?|https://raspberrypi.stackexchange.com/questions/169/how-can-i-extend-the-life-of-my-sd-card]] * [[systemd-nspawn|https://wiki.archlinux.org/title/Systemd-nspawn]] --- //chroot on steroids// for systemd hosts and guests. ** Quick boot a mounted rootfs: `-b -D ${rootfs path}`. ** Kill booted container from shell: hold Ctrl and quickly press ] for 3 times. * [[Running a script every time a new kernel is installed|https://unix.stackexchange.com/questions/30320/running-a-script-every-time-a-new-kernel-is-installed]] --- Just place a sh script in `/etc/kernel/postinst.d/` (with the correct filename order). * [[linuxserver/webtop|https://github.com/linuxserver/docker-webtop]] --- //Ubuntu, Alpine, Arch, and Fedora based Webtop Docker images, Linux in a web browser supporting popular desktop environments// ** Note: apparently the `/websockify` HTTP endpoint doesn't respect the option for installing the container under an HTTP subpath; in practice this could mean that more than one container at the same time cannot be used behind a reverse proxy without some modification, but instead have to be accessed from their dedicated port directly. !!! ''Benchmarks'' * [[Paul Raspberry Pi Benchmarks|https://willy-tech.de/raspberry-pi-benchmarks/]] !!! ''Troubleshooting, practical guides'' * [[Linux Hint|https://linuxhint.com/]] * [[Linuxize|https://linuxize.com/]] --- //Linux Tips, Tricks and Tutorials// * [[Ubuntu Geek|https://www.ubuntugeek.com/]] --- //Ubuntu Linux Tutorials,Howtos,Tips & News// * [[How to Zip Files and Directories in Linux|https://linuxize.com/post/how-to-zip-files-and-directories-in-linux/]] --- //the `zip` util and all important options// * [[Ubuntu 18.04 - pulseaudio Daemon startup failed|https://askubuntu.com/questions/1114659/ubuntu-18-04-pulseaudio-daemon-startup-failed]] * [[Create a Linux Swap File|https://linuxize.com/post/create-a-linux-swap-file/]] * [[How to Increase Swap on Raspberry Pi|https://linuxhint.com/increase-swap-raspberry-pi/]] --- edit the `/etc/dphys-swapfile` file accordingly, then run: `sudo dphys-swapfile {swapoff,setup,swapon}` * [[cannot mount /dev/loop1 read-only|https://serverfault.com/questions/839898/cannot-mount-block-device-dev-loop-read-only]] --- Filesystem might have a dirty log, using `-o norecovery` can still mount it readonly. * [[How to take back control of /etc/resolv.conf on Linux|https://www.ctrl.blog/entry/resolvconf-tutorial.html]] --- //Several DNS-related programs want to automatically manage the DNS name server and resolution configuration file at `/etc/resolv.conf`. In some situations, you may want to manage this file yourself.// * [[How do I start a process with a nice value of -20 and not give it root privilege?|https://unix.stackexchange.com/questions/72934/how-do-i-start-a-process-with-a-nice-value-of-20-and-not-give-it-root-privilege]] --- quick hack: `sudo nice -n -20 su -c ${cmd} ${user}` * [[How to Show FPS Counter in Linux Games|https://linuxhint.com/show_fps_counter_linux_games/]] * [[How to Check CPU Temperature on Linux|https://phoenixnap.com/kb/linux-cpu-temp]]