notes:misc_linux
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
notes:misc_linux [2023/08/16 11:36] – tracker3 Reset Sean Rhone | notes:misc_linux [2024/02/01 17:02] – yt-dlp Sean Rhone | ||
---|---|---|---|
Line 15: | Line 15: | ||
7z x -o'/ | 7z x -o'/ | ||
- | ====== | + | ====== |
- | * https://ytdl-org.github.io/youtube-dl/index.html | + | * https:// |
===== Download ===== | ===== Download ===== | ||
Line 23: | Line 23: | ||
**** | **** | ||
- | rm -f '/tmp/youtube-dl' && wget -O '/tmp/youtube-dl' ' | + | rm -f '/tmp/yt-dlp' && wget -O '/tmp/yt-dlp' ' |
===== Show Formats ===== | ===== Show Formats ===== | ||
Line 29: | Line 29: | ||
* Change '' | * Change '' | ||
- | '/tmp/youtube-dl' --list-formats x | + | '/tmp/yt-dlp' --list-formats x |
===== Download Media ===== | ===== Download Media ===== | ||
Line 36: | Line 36: | ||
* '' | * '' | ||
- | '/tmp/youtube-dl' --extract-audio --format ' | + | '/tmp/yt-dlp' --extract-audio --format ' |
==== M4A Audio ==== | ==== M4A Audio ==== | ||
Line 42: | Line 42: | ||
* Ideally for if iOS devices will be involved | * Ideally for if iOS devices will be involved | ||
- | '/tmp/youtube-dl' --extract-audio --format ' | + | '/tmp/yt-dlp' --extract-audio --format ' |
==== MP3 Audio ==== | ==== MP3 Audio ==== | ||
Line 48: | Line 48: | ||
**** | **** | ||
- | '/tmp/youtube-dl' --extract-audio --format ' | + | '/tmp/yt-dlp' --extract-audio --format ' |
====== Shortcuts ====== | ====== Shortcuts ====== | ||
Line 98: | Line 98: | ||
sudo dnf remove *5.3.7* && sync | sudo dnf remove *5.3.7* && sync | ||
+ | |||
+ | ====== openSUSE ====== | ||
+ | |||
+ | ===== Zypper ===== | ||
+ | |||
+ | ==== Find Orphans ==== | ||
+ | |||
+ | **** | ||
+ | |||
+ | zypper packages --orphaned | ||
+ | |||
+ | ==== Remove Package and Deps ==== | ||
+ | |||
+ | **** | ||
+ | |||
+ | sudo zypper remove --clean-deps ' | ||
+ | |||
+ | ==== Show Installed Patterns ==== | ||
+ | |||
+ | **** | ||
+ | |||
+ | sudo zypper patterns --installed-only | ||
+ | |||
+ | ==== Folder ==== | ||
+ | |||
+ | **** | ||
+ | |||
+ | ls '/ | ||
+ | |||
+ | ==== List ==== | ||
+ | |||
+ | **** | ||
+ | |||
+ | zypper repos --priority | ||
+ | |||
+ | ====== Firewalld ====== | ||
+ | |||
+ | ===== List Active Rules ===== | ||
+ | |||
+ | **** | ||
+ | |||
+ | sudo firewall-cmd --list-all | ||
+ | |||
+ | ===== List Available Services ===== | ||
+ | |||
+ | **** | ||
+ | |||
+ | sudo firewall-cmd --get-services | ||
+ | |||
+ | ===== Show Service Info ===== | ||
+ | |||
+ | * Change '' | ||
+ | * This shows what ports and protocols a service covers | ||
+ | |||
+ | sudo firewall-cmd --info-service=x | ||
+ | |||
+ | ===== Reload ===== | ||
+ | |||
+ | **** | ||
+ | |||
+ | sudo firewall-cmd --reload | ||
+ | |||
+ | ===== Add/Remove Service ===== | ||
+ | |||
+ | * Add '' | ||
+ | |||
+ | sudo firewall-cmd --add-service=x | ||
+ | |||
+ | sudo firewall-cmd --remove-service=x | ||
+ | |||
+ | ===== Add/Remove Port ===== | ||
+ | |||
+ | * Add '' | ||
+ | * Change '' | ||
+ | |||
+ | sudo firewall-cmd --add-port=x/ | ||
+ | |||
+ | sudo firewall-cmd --remove-port=x/ | ||
====== PipeWire ====== | ====== PipeWire ====== | ||
Line 126: | Line 204: | ||
nano '/ | nano '/ | ||
+ | |||
+ | ===== WirePlumber Settings Reset ===== | ||
+ | |||
+ | sudo rm -Rf ~gdm/' | ||
+ | |||
+ | rm -Rf ~/' | ||
====== GPG Keys ====== | ====== GPG Keys ====== | ||
Line 301: | Line 385: | ||
===== Create Software RAID ===== | ===== Create Software RAID ===== | ||
- | | + | ==== Fedora Anaconda ==== |
+ | |||
+ | | ||
+ | * Compared to old notes, the RAID device needs to be under ''/ | ||
+ | | ||
+ | |||
+ | sudo mdadm --create '/ | ||
+ | |||
+ | ==== Old ==== | ||
+ | |||
+ | * :?: Came from old notes; this used to work for an Acer Predator laptop that had 3 SSDs | ||
sudo mdadm --create '/ | sudo mdadm --create '/ | ||
Line 327: | Line 421: | ||
====== ACPI Tables ====== | ====== ACPI Tables ====== | ||
+ | **** | ||
+ | |||
+ | sudo strings '/ | ||
+ | |||
+ | ===== Old Method ===== | ||
+ | |||
+ | * Provides more information as to what certain '' | ||
* In '' | * In '' | ||
/var/www/wiki/data/pages/notes/misc_linux.txt · Last modified: 2024/04/29 18:38 by Sean Rhone