This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:linux_notes [2018/06/08 11:52] dave [Emacs Notes] |
linux:linux_notes [2021/05/22 13:06] (current) dave |
||
---|---|---|---|
Line 4: | Line 4: | ||
* [[.Arch:Arch Notes]] | * [[.Arch:Arch Notes]] | ||
* [[.Manjaro:Manjaro Notes]] | * [[.Manjaro:Manjaro Notes]] | ||
+ | * [[.Gentoo:Gentoo Notes]] | ||
==== Coreutils == | ==== Coreutils == | ||
Line 11: | Line 12: | ||
* [[.Commands:grep]] | * [[.Commands:grep]] | ||
* [[.Commands:sed]] | * [[.Commands:sed]] | ||
+ | * [[.Commands:unzip]] | ||
+ | * [[.Commands:rsync]] | ||
==== Emacs Notes == | ==== Emacs Notes == | ||
* [[http://ergoemacs.org/emacs/emacs.html|ErgoEmacs Practical Emacs Tutorial]] | * [[http://ergoemacs.org/emacs/emacs.html|ErgoEmacs Practical Emacs Tutorial]] | ||
- | * [[https://www.emacswiki.org/emacs/FillParagraph| FillParagraph] - very useful when editing markdown! | + | * [[https://www.emacswiki.org/emacs/FillParagraph| FillParagraph]] - very useful when editing markdown! |
- | * [[https://www.emacswiki.org/emacs/AutoFillMode|AutofillMode] | + | * [[https://www.emacswiki.org/emacs/AutoFillMode|AutofillMode]] |
+ | |||
+ | Key shortcuts: | ||
+ | |||
+ | ^ Shortcut ^ Description ^ | ||
+ | | ''M z x'' | Change the font size, use then +/- keys to increase or decrease the font size | | ||
+ | | ''M f e d'' | Open the current ''~./spacemacs'' file for editing. | | ||
+ | | ''M f e D'' | Diff the current ''~/.spacefile'' with the default. | | ||
==== Vim Notes == | ==== Vim Notes == | ||
Line 26: | Line 36: | ||
* [[https://github.com/gpakosz/.tmux|Oh My Tmux]] | * [[https://github.com/gpakosz/.tmux|Oh My Tmux]] | ||
+ | * [[https://robots.thoughtbot.com/a-tmux-crash-course|tmux crash course]] | ||
+ | * To rename a session: | ||
+ | * ''ctrl+b,$'' | ||
+ | * To list sessions: | ||
+ | * ''tmux list-sessions'' | ||
+ | * To join a previous session: | ||
+ | * ''tmux attach -t <session name>'' | ||
+ | * To detatch: | ||
+ | * ''ctrl+b,d'' | ||
==== Networking == | ==== Networking == | ||
Line 34: | Line 53: | ||
==== Misc == | ==== Misc == | ||
+ | * [[Fixing the intermittent mouse wheel when using Linux as a Guest]] | ||
* [[http://www.pclinuxos.com/forum/index.php?topic=138037.0|How to get a screensaver in KDE Plasma 5]] | * [[http://www.pclinuxos.com/forum/index.php?topic=138037.0|How to get a screensaver in KDE Plasma 5]] | ||
+ | * [[.General|How to fix incredibly frustrating scroll wheel issue that prevents some applications from receiving mouse wheel events while the mouse is moving]] | ||
+ | * [[https://www.linuxweblog.com/dd-image|Backup and restore entire disk images using dd]]: | ||
+ | * Backup: ''sudo dd if=/dev/nvme1n1 status=progress bs=4M | gzip -c > /run/media/dave/Transcend/windows-backup.img.gz && sync'' | ||
+ | * Restore: TBD. (ha!) | ||
+ | * [[https://infertux.com/posts/2012/12/20/properly-close-a-frozen-ssh-session/|How to properly terminate a frozen ssh connection]] Type ''<Enter>'', ''~'' and ''.''. | ||
+ | * [[https://stackoverflow.com/questions/16893306/how-can-i-extract-files-from-vdi|How to mount a VirtualBox .vdi file on a linux host]] | ||
+ |