Last active
August 29, 2015 14:28
-
-
Save yashodhank/1b8b22625c527b59c18b to your computer and use it in GitHub Desktop.
Various linux commands I've found helpful at one time or another
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# My preferred ls outputs | |
ls -Alh --group-directories-first | |
# Find and remove multiple files with same extension (careful!) | |
find . -type f -name "*.txt" -exec rm -f {} \; | |
# You can first view your current default audio device by typing: | |
pactl stat | |
# To check the current swappiness value: | |
$ cat /proc/sys/vm/swappiness | |
# To set the swappiness value permanently, edit a sysctl configuration file | |
/etc/sysctl.d/99-sysctl.conf | |
vm.swappiness=10 | |
# WPA | |
/run/wpa_supplicant/wlp2s0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment