The gMan nixWiki

Because the mind is made of Teflon...

User Tools

Site Tools


resources

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
resources [2022/10/17 15:29] – [SecLists] gmanresources [2024/01/13 01:36] (current) gman
Line 200: Line 200:
  
 ====== GRUB ====== ====== GRUB ======
 +
 +===== My Tweaks =====
 +
 +Here are the lines I add to my ''/etc/default/grub'' file immediately (first thing!) after a fresh install (descriptions below): 
 +
 +<code>
 +GRUB_DEFAULT=saved
 +GRUB_SAVEDEFAULT=true
 +GRUB_DISABLE_OS_PROBER=false
 +</code>
 +
 +After you save the grub file, run: ''update-grub''. Reboot.
 +
 +----
  
 ===== Reinstall GRUB ===== ===== Reinstall GRUB =====
Line 225: Line 239:
  
 <code>update-grub</code> <code>update-grub</code>
 +
  
 ===== No Windows ===== ===== No Windows =====
  
-If your fancy, shiny, new Linux install failed to recognize Windows and place a boot option for it in Grub, +If your fancy, shiny, new Linux install failed to recognize Windows and place a boot option for it in Grub... it's okay.  
-see [[general_configs#os-prober Kali::os-prober]].+ 
 +After grub v2.06 ''os-prober'' is disabled by default, therefore your fresh, shiny, new Kali install will not recognize other operating systems (like Windoze). If this happens, then add this to your ''/etc/default/grub'' file 
 + 
 +<code> 
 +# file/etc/default/grub 
 + 
 +GRUB_DISABLE_OS_PROBER=false 
 +</code> 
 + 
 +Then run: ''update-grub''. If that doesn't do the try, try: ''grub-mkconfig'' (or possibly ''grub-mkconfig -o /boot/grub/grub.cfg'')
  
 ---- ----
Line 237: Line 261:
 ===== APT Commands ===== ===== APT Commands =====
  
-here+See [[general_commands#apt | here]]
  
 ===== SecLists ===== ===== SecLists =====
Line 259: Line 283:
 └── Web-Shells └── Web-Shells
 </code> </code>
 +
 +===== 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's how you turn that off:** Find the following lines in your ''~/.zshrc'' file (toward the bottom, around line 248: ''vim +248 .zshrc'') and comment them out. 
 +
 +<code>
 +# enable auto-suggestions based on the history
 +if [ -f /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh ]; then
 +    . /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
 +    # change suggestion color
 +    ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=#999'
 +fi
 +</code>
 +
 +Restart the terminal for changes to take effect. 
  
 ---- ----
resources.1666020575.txt.gz · Last modified: by gman