This file contains hidden or 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
df -h | |
sudo btrfs filesystem df / | |
sudo btrfs filesystem usage / |
This file contains hidden or 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
# Source: | |
# - https://stackoverflow.com/a/1951752/8258804 | |
# - https://stackoverflow.com/questions/16017500/how-to-see-full-absolute-path-of-a-symlink | |
# To create a new symlink (will fail if symlink exists already): | |
ln -s /path/to/file /path/to/symlink | |
# To create or update a symlink: | |
ln -sf /path/to/file /path/to/symlink |
This file contains hidden or 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
# To find files with a particular term (with lines): | |
rg --line-number --no-heading 'search_term' | fzf |
This file contains hidden or 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
# Source: https://askubuntu.com/questions/722708/how-do-i-refresh-the-icon-cache | |
sudo update-icon-caches /usr/share/icons/* |
This file contains hidden or 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
# Source: https://stackoverflow.com/a/42827058/8258804 | |
ffmpeg -ss 00:01:00 -to 00:02:00 -i input.mp4 -c copy output.mp4 |