| Both sides previous revision Previous revision Next revision | Previous revision |
| linux [2024/04/20 03:07] – [Linux.Network] admin | linux [2025/08/18 09:42] (current) – admin |
|---|
| ====== Linux ====== | ====== Linux ====== |
| | https://www.dmosk.ru/terminus.php?object=mtls MTLS \\ |
| | https://fmhy.net/file-tools#p2p-file-transfer free stuff on internet \\ |
| | https://www.youtube.com/watch?v=n3CWYPGjVns - настройка окружения \\ |
| | https://github.com/LukeGus/Termix - web ssh \\ |
| | https://casaos.zimaspace.com/ \\ |
| <WRAP left tip 60%> | <WRAP left tip 60%> |
| | https://rclone.org/ - софт копирования\\ |
| | |
| | https://github.com/unixhostpro/ssh-login-notification - telegram notification |
| Sites: | Sites: |
| * https://www.linuxfromscratch.org/lfs/view/stable/ - linux from scratch | * https://www.linuxfromscratch.org/lfs/view/stable/ - linux from scratch |
| Get info | Get info |
| <code BASH> | <code BASH> |
| INXI | # INXI sudo apt install inxi |
| sudo apt install inxi | |
| inxi -Fazy | inxi -Fazy |
| |
| NOFETCH | # NOFETCH |
| sudo add-apt-repository ppa:dawidd0811/neofetch | sudo add-apt-repository ppa:dawidd0811/neofetch |
| sudo apt update | sudo apt update |
| sudo apt install neofetch | sudo apt install neofetch |
| | |
| | #mount info |
| | grep btrfs /proc/self/mountinfo |
| |
| #write activity | #write activity |
| sudo du -a ./ 2>/dev/null | sort -n -r | head -n 10 | sudo du -a ./ 2>/dev/null | sort -n -r | head -n 10 |
| alias ducks='du -cks * | sort -rn | head -n 10' | alias ducks='du -cks * | sort -rn | head -n 10' |
| | |
| | # dto delete files in ~/.cache directory that are have not been accessed in 100 days |
| | find ~/.cache/ -type f -atime +100 -delete |
| |
| # Download magnet | # Download magnet |
| aria2c -d ~/Downloads --seed-time=0 "magnet:?xt=urn:btih:248D0A1CD08284299DE78D5C1ED359BB46717D8C" | aria2c -d ~/Downloads --seed-time=0 "magnet:?xt=urn:btih:248D0A1CD08284299DE78D5C1ED359BB46717D8C" |
| | |
| | |
| | #turn off disk |
| | sync |
| | umount /dev/sdXN |
| | sudo hdparm -Y /dev/sdX |
| | udisksctl unmount -b /dev/sdXN |
| | udisksctl power-off -b /dev/sdX |
| | </code> |
| | <code bash> |
| | |
| | #GDU |
| | curl -L https://github.com/dundee/gdu/releases/latest/download/gdu_linux_amd64_static.tgz | tar xz |
| | chmod +x gdu_linux_amd64_static |
| | mv gdu_linux_amd64_static /usr/bin/gdu |
| </code> | </code> |
| |
| |
| ===== Linux полезное ===== | ===== Linux полезное ===== |
| | * [[linux:tools|linux:tools]] |
| * https://habr.com/ru/post/553000/ - полезные утилиты | * https://habr.com/ru/post/553000/ - полезные утилиты |
| * hard reset ++Hard reset by keyboard| | * hard reset ++Hard reset by keyboard| |
| * learn learning обучение redhat https://rhtapps.redhat.com/assessment/?intcmp=701f20000012ngPAAQ | * learn learning обучение redhat https://rhtapps.redhat.com/assessment/?intcmp=701f20000012ngPAAQ |
| * linux certification https://ru.wikipedia.org/wiki/Linux_Professional_Institute_Certification | * linux certification https://ru.wikipedia.org/wiki/Linux_Professional_Institute_Certification |
| | |
| | |
| | ===== Linux графика ===== |
| | * https://www.youtube.com/watch?v=WKKTzPYP18k - графика в linux |
| |
| ===== Linux hardware ===== | ===== Linux hardware ===== |
| * ssd raid 4 https://larryjordan.com/articles/maximize-performance-with-an-ssd-raid/ | * ssd raid 4 https://larryjordan.com/articles/maximize-performance-with-an-ssd-raid/ |
| |
| | ===== Linux smartmontolls smartd smart ===== |
| | * precompiled version ci https://builds.smartmontools.org/ |
| ===== Linux настройка ===== | ===== Linux настройка ===== |
| |
| |
| ===== Linux.boot grub uefi ===== | ===== Linux.boot grub uefi ===== |
| | * https://www.youtube.com/watch?v=XpFsMB6FoOs - linux boot video |
| * https://archived.forum.manjaro.org/t/using-livecd-v17-0-1-and-above-as-grub-to-boot-os-with-broken-bootloader/24916 manjaro | * https://archived.forum.manjaro.org/t/using-livecd-v17-0-1-and-above-as-grub-to-boot-os-with-broken-bootloader/24916 manjaro |
| * https://wiki.manjaro.org/index.php/GRUB/Restore_the_GRUB_Bootloader | * https://wiki.manjaro.org/index.php/GRUB/Restore_the_GRUB_Bootloader |
| ===== Linux.Tmux ===== | ===== Linux.Tmux ===== |
| * Tmux [[https://gist.github.com/andreyvit/2921703|cheat sheet ]] | * Tmux [[https://gist.github.com/andreyvit/2921703|cheat sheet ]] |
| | * https://leanpub.com/the-tao-of-tmux/read#prefix-key |
| * Buffers <code BASH> | * Buffers <code BASH> |
| C-b + [ - selection mode | C-b + [ - selection mode |
| |
| ===== Linux.Shell ===== | ===== Linux.Shell ===== |
| | * configure shell https://www.youtube.com/watch?v=CbMbGV9GT8I https://github.com/Sin-cy/dotfiles |
| * ZSH [[https://medium.com/@hjgraca/style-your-windows-terminal-and-wsl2-like-a-pro-9a2e1ad4c9d0|medium.com]][[https://medium.com/@shivam1/make-your-terminal-beautiful-and-fast-with-zsh-shell-and-powerlevel10k-6484461c6efb|install]][[https://gist.github.com/kevin-smets/8568070|Так ставим ZSH]],[[https://www.freecodecamp.org/news/jazz-up-your-zsh-terminal-in-seven-steps-a-visual-guide-e81a8fd59a38/|jazz_up]][[https://habr.com/ru/post/516004/|Делаем Linux терминал красивым и удобным]] | * ZSH [[https://medium.com/@hjgraca/style-your-windows-terminal-and-wsl2-like-a-pro-9a2e1ad4c9d0|medium.com]][[https://medium.com/@shivam1/make-your-terminal-beautiful-and-fast-with-zsh-shell-and-powerlevel10k-6484461c6efb|install]][[https://gist.github.com/kevin-smets/8568070|Так ставим ZSH]],[[https://www.freecodecamp.org/news/jazz-up-your-zsh-terminal-in-seven-steps-a-visual-guide-e81a8fd59a38/|jazz_up]][[https://habr.com/ru/post/516004/|Делаем Linux терминал красивым и удобным]] |
| * Fonts [[https://github.com/tonsky/FiraCode/wiki#installing-font|FiraCode TTF]] | * Fonts [[https://github.com/tonsky/FiraCode/wiki#installing-font|FiraCode TTF]] |
| * https://scriptingosx.com/2019/06/moving-to-zsh/ | * https://scriptingosx.com/2019/06/moving-to-zsh/ |
| | |
| | ===== VNC ===== |
| | Start on ssh session <code BASH> ssh -Y user@hostname ; export DISPLAY=:0 && /usr/lib/vino/vino-server</code> |
| |
| ===== Cloud-Init===== | ===== Cloud-Init===== |
| * [[https://www.digitalocean.com/community/cheatsheets/how-to-use-ansible-cheat-sheet-guide| Ansible cheat sheet guide]] | * [[https://www.digitalocean.com/community/cheatsheets/how-to-use-ansible-cheat-sheet-guide| Ansible cheat sheet guide]] |
| * https://github.com/ansible/ansible-examples | * https://github.com/ansible/ansible-examples |
| | * https://semaphoreui.com/pricing/ - это современное веб-приложение, которое предлагает удобный, интуитивно понятный интерфейс и мощное API для управления процессами автоматизации ansible / terraform |
| |
| |