Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
development:linux:misc_commands [2020/02/27 14:31] kalenpw created |
development:linux:misc_commands [2023/04/12 19:58] (current) kalenpw |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Misc. Commands ====== | + | ====== Misc Commands ====== |
| Various commands that are handy I tend to forget | Various commands that are handy I tend to forget | ||
| ---- | ---- | ||
| Line 5: | Line 5: | ||
| # get name for compton | # get name for compton | ||
| xprop WM_CLASS # and clicking the window. | xprop WM_CLASS # and clicking the window. | ||
| + | |||
| + | # sed with regex | ||
| + | # mac | ||
| + | find . -type f -name " | ||
| + | # linux | ||
| + | find . -type f -name " | ||
| + | |||
| + | # set volume over 100% | ||
| + | pactl set-sink-volume 0 150% | ||
| + | |||
| + | # get SSID | ||
| + | iwgetid -r | ||
| + | |||
| + | # count lines of code | ||
| + | find . -name ' | ||
| + | |||
| + | # sort _ first instead of by next char | ||
| + | update-locale LC_COLLATE=C # must log out and in | ||
| + | |||
| + | # touch drag while holding click | ||
| + | sudo modprobe -r psmouse && sudo modprobe psmouse | ||
| + | |||
| + | # disable touchpad | ||
| + | synclient TouchpadOff=1 | ||
| + | |||
| + | # palm detection | ||
| + | synclient PalmDetect=1 | ||
| + | |||
| + | # replace text in filename with other text | ||
| + | for i in *.png; do mv " | ||
| + | |||
| + | # see what goes into your boottime | ||
| + | systemd-analyze critical-chain | ||
| + | |||
| + | # if you can't format a drive and partition table was messed up | ||
| + | sudo dd if=/ | ||
| + | |||
| + | # Symlink so you can put .desktop files in ~/ | ||
| + | ln -s $HOME/ | ||
| + | |||
| + | # Reset sound drivers Fedora | ||
| + | systemctl --user restart pipewire pipewire-pulse wireplumber | ||
| + | # Reset sound drivers Mac | ||
| + | sudo pkill coreaudiod | ||
| + | |||
| </ | </ | ||
| + | ---- | ||