Linuxโ
Some files are private or not ready yet, if a link gives you a 404 that's why :)
This is a work in progress, new notes will be added daily
List of note Indexes
-
๐ PROJECTS -
๐ ART -
๐ TECHNOLOGY -
๐ SCIENCE -
๐ PHILO-PSYCHO -
๐ HISTORY -
๐ HEALTH -
๐ GAMING -
๐ KNOWLEDGE
.... |\| .|||. |\/| .|\\. .|.
.\\||/|. .\|..|| .\|..|||...||.....
.| .....||.|\\\\\\ ... |\\\/. .\\. .||
.\\| .|\\|..|\\ .\\\\ .\\|. .\\\\\| |\| |\\|
|\\ |\\|.. /\\\. |\|\\ \\\\|. .|\\. .\\\\|
.\\. |\\\\\\\|.. .\\| .\\||\\/|. |\\| .|/\|
\. .\\\||/\|.... \\| |\/ |\\\ |\\\| .\\| \\| ....
|\/ |\\| |\\\\\\\| |\|.\\\ \\\\. |\\\\| |\\ \\. ||..
..|||\| .. .\\\\. |\\\\\\ .\\|....|\\\. |\\\\\\ |/. |/
\\\|.. .\\\ |\\. .\\\| \\| |||\\\. ...|\\/||. .\\\
|\| |\/. /\\\\\| .\\\\. \\. .../|. .|\\\|. |\\\| |\\
. |||\\|. ..||| .\\|. |\| \\|..../\\| |\\| .\\\\\ ..
\\| .||\|.|.. |\\\|./\ \\||\. ||... .\\\\/. |\/||
..|/||. |\\\\\|. .|/\| ||. .||\\\ .|||. |\
.\/| \\\. .|\\\|||\\\||.. .|\\\\\\\|\\\\. /\\\\||. |
.|| |\\\\| .......|\\\\\\. .\\\. ..|||.... .\\\\|.. ...
\\||....|\\\\\\\\||\\\\\\\/ |\|....|||\\\\\\\/....|\\\|
||.|\||\\| .....|\\\\..\\| .|\\\. ||........ .|\|...
. |\ /\\/\\\\\\. |\. .\\\\\\. ./\\\\/ |\\\||.
.|\.|\| .|\|... .. ./\\|..|\\| ..
.|\\| .\\\\.\\\\\\\ \||...\\\|..|\\\|.||
|\. ..||....|| ... ..||\\\. .|.
... .......
โ ๐ TECHNOLOGY
Linux
- ๐ How To Secure A Linux Server
- ๐ Permissions
- Linux CPU usage
- Linux fix screen brightness controls
- https://linux-hardware.org/?view=timeline
- https://www.howtogeek.com/ive-been-using-these-core-linux-commands-wrong-for-years/?ref=dailydev
- ๐ Linux Disable Suspend On Lid Close
- Linux Fix Slow ssh on Local Network
- https://github.com/phyver/GameShell - learn shell
- ๐ Bash - Used to work in linux (include basic commands)
aptvsapt-get: apt is the most recent one- Where do I edit the MOTD on a Linux system?
- ๐ Linux Fan Control
Install
- ๐ Rufus - Create a bootable USB
- https://www.ventoy.net/en/index.html - bootable USB with iso directly
Distros
- ๐ Arch Linux - source distro
- https://endeavouros.com/
- https://www.blackarch.org/
- https://artixlinux.org/ - arch and you can use
dinitor any othersystemdalternative
- Debian - source distro
- Migrate from Ubuntu to Debian
- Ubuntu
- https://pop.system76.com/
- Kubuntu
- lubuntu
- Kali Linux
- Parrot OS
- ๐ Proxmox
- openmediavault - NAS solution based on Debian Linux
- ๐ Security Onion
- tails - portable operating system that protects against surveillance and censorship
- ๐ REMnux
- Redox OS - Unix like written in rust
- ChimeraOS - gaming distro
- https://bazzite.gg/ - gaming distro
- https://batocera.org/ - retro-gaming distribution
- Rocky - CentOS fork (since RedHat is paid)
- https://os.ewe.moe/
- https://blendos.co/ - Arch Linux made declarative, immutable and atomic. With Android app support and Fedora, Debian, CentOS Stream and Ubuntu containers available
- https://www.qubes-os.org/ - leverages Xen-based virtualization to allow for the creation and management of isolated compartments called qubes
- Solus - source distro with its own DE
- Void - uses
runitinstead ofsystemd - RedHat - kinda bad with the way they handle stuff (sunsetted CentOS)
- Fedora - wanted to integrate tellemtry in the OS
- Nobara - fork oriented toward gaming
- nushell - nushell (made in rust)
Packages
- list packages:
dpkg -l- count them:
dpkg-query -W -f='${Package}\n' | wc -l
- count them:
apt remove --purge <package>- removes package and config files- ๐ net-tools
- ๐ ripgrep
ps aux- list processes
ps auxf- list process tree
top- https://github.com/aristocratos/bashtop - stats in terminal
- BTOP - same but in C++
- https://htop.dev/ - stats in terminal
iftop- list network usagelsof- show ressource usage- PDFINFO:
- poppler-utils
pdfinfo <file.pdf>
- poppler-utils
- libimage-exiftool-perl
exiftool <image.jpg>
- tmux - a terminal multiplexer
- Zellij - A terminal workspace with batteries included (I'm gonna try tmux first)
- kitty - GPU terminal emulator
- https://github.com/MusicPlayerDaemon/MPD - player music on a server
mc- file manager in terminaljournalctl -xedebugx: add message explanatione: jump to endjournalctl -xefdebug and watch (f)
- Flameshot - screenshot tool
- dust - du + rust = dust. Like du but more intuitive.
systemctl list-units --type=service --state=runningview running services (or usetop)- CRON
- stored in
/etc/crontab
- stored in
- ClamAV - antivirus
aide- integrity checksaide --check --config=/etc/aide/aide.conf
ncdu- likedubut more visualduf- prettier version ofdf(shows drive usage)lsusb- list usb deviceslshw- ls but for hardwarelshw -C cpulshw -C memorylshw -C disk
mtr- ping + traceroute - track latency and packet loss for each hopfd- likefindbut faster and betterfzf- fuzzy finderhistory | fzf
ranger- tui file managerwatch- rerun commands in specified intervalwatch -n 0.5 nvidia-smi
dog- better DNS lookups - replacedigtermshark- tui for tsharkipcalc- ip subnet calculatorprocs- alternative topsrsync- file transfershred-rmon steroidunp- unpack any archive (zip, rar, gz ...)asciinema- record your terminalgzip <file>- compress a file (the original will be replaced with the archive<file>.gz)gunzip <file>- decompress a file (the archive will be replaced with the original)
bzip2 <file>- works similarly as gzip (produce<file>.bz2)bunzip2 <file>- decompress
xz <file>- like gzip (produce<file>.xz)unxz <file>- like gunzip
zip <output>.zip <file>- creates a compressed archive (the.zipis optional but helps to know the archive format)zip -r udev.zip /etc/udev- recursiveunzip -l udev.zip- list contentunzip udev.zip- extract archive
tar- Tape ARchive-j- uses bzip2tar โcvf mybackups/udev.tar /etc/udevcreates an archive (the.taris optional but helps to know the archive format)ccreate a tar filevverbosefname of the output file
tar โtvf mybackups/udev.tar- list the files of an archivetlist contentvverboseffilename
tar โzcvf mybackups/udev.tar.gz /etc/udev- uses gzip for compressiontar โxvf udev.tar.gz- extract an archivetar -rvf udev.tar /etc/hosts- adds a file to an archive
- w3m - text based web browser
Misc
- KDE
- https://system76.com/cosmic - cosmic desktop
- https://i3wm.org/ - tiling windows manager
- https://awesomewm.org/ - window manager
- ๐ Hyprland
- Niri - scrollable-tiling Wayland compositor
/dev/null> the void/etc/passwd> all users/etc/shadow> users passwords- find stuff :
find / -name "name" - Cockpit - web-based graphical interface for servers
- Pokemon colorscripts - print out images of pokemons to terminal.
- https://www.gnome-look.org/browse?cat=109 - lot of visuals for linux
dmidecode | grep -A3 '^System Information'find device model- you can use sytemd timers instead of crons
ethtool eth0 | grep Speedview NIC speed- zabbly/linux - Recent stable mainline kernel with wide hardware support
/etc/xdg/- system wide equivalent of~/.configfor app that followfreedesktopspecs- winboat - Run Windows apps on ๐ง Linux
- lookin-glass - KVM (Kernel-based Virtual Machine) configured for VGA PCI Pass-through
- does not use any form of compression or color space conversion, all frames are transferred to the viewer (client application) in 32-bit RGBA