resources
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
resources [2022/10/22 17:53] – gman | resources [2024/01/13 01:36] (current) – gman | ||
---|---|---|---|
Line 200: | Line 200: | ||
====== GRUB ====== | ====== GRUB ====== | ||
+ | |||
+ | ===== My Tweaks ===== | ||
+ | |||
+ | Here are the lines I add to my ''/ | ||
+ | |||
+ | < | ||
+ | GRUB_DEFAULT=saved | ||
+ | GRUB_SAVEDEFAULT=true | ||
+ | GRUB_DISABLE_OS_PROBER=false | ||
+ | </ | ||
+ | |||
+ | After you save the grub file, run: '' | ||
+ | |||
+ | ---- | ||
===== Reinstall GRUB ===== | ===== Reinstall GRUB ===== | ||
Line 226: | Line 240: | ||
< | < | ||
- | ===== No Windows ===== | ||
- | |||
- | If your fancy, shiny, new Linux install failed to recognize Windows and place a boot option for it in Grub, | ||
- | see [[general_configs# | ||
===== No Windows ===== | ===== No Windows ===== | ||
Line 251: | Line 261: | ||
===== APT Commands ===== | ===== APT Commands ===== | ||
- | < | + | See [[general_commands# |
- | # [1] Update package repo | + | |
- | apt update | + | |
- | # [2] Upgrade your distro | ||
- | apt full-upgrade -y | ||
- | |||
- | # [3] Remove obsolete packages left after the upgrade | ||
- | apt autoremove | ||
- | |||
- | # [4] Clear local repo of useless package files | ||
- | apt autoclean | ||
- | |||
- | # Or do it all in one line: | ||
- | apt update && apt full-upgrade -y && apt autoremove && apt autoclean | ||
- | </ | ||
===== SecLists ===== | ===== SecLists ===== | ||
Line 287: | Line 283: | ||
└── Web-Shells | └── Web-Shells | ||
</ | </ | ||
+ | |||
+ | ===== zsh auto-suggestion ===== | ||
+ | |||
+ | The default terminal in Kali is zsh and out of the box it has auto-suggestion turned on. That means you get pop-up suggestions every time you type in the term window. Annoying. | ||
+ | |||
+ | **Here' | ||
+ | |||
+ | < | ||
+ | # enable auto-suggestions based on the history | ||
+ | if [ -f / | ||
+ | . / | ||
+ | # change suggestion color | ||
+ | ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE=' | ||
+ | fi | ||
+ | </ | ||
+ | |||
+ | Restart the terminal for changes to take effect. | ||
---- | ---- |
resources.1666461208.txt.gz · Last modified: by gman