/terminal-configs

Terminal configuration files in an easy to get repo

Primary LanguageShell

terminal-configs

Terminal configuration files in an easy to get repo This repo should be downloaded to /usr/share/ then linked to config locations.

Add the following to the mozilla faves [done]

MalwareBazaar - https://bazaar.abuse.ch/browse/ theZoo - https://github.com/ytisf/theZoo VX-Underground - https://vx-underground.org/samples.html Malpedia - https://malpedia.caad.fkie.fraunhofer.de/

ToDo

Migrating Firefox Profile

from https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles # Restoring to a different location

basically just copy contents of xxxxxxxx.default backup into new xxxxxxxx.default in the .mozilla/Firefox/Profiles folder

  1. Locate the backed-up profile folder on your hard drive or backup medium (e.g., your USB stick).
  2. Open the profile folder backup (e.g., the xxxxxxxx.default backup).
  3. Copy the entire contents of the profile folder backup, such as the handlers.json file, prefs.js file, bookmarkbackups folder, etc.
  4. Locate and open the new profile folder as explained above and then close Firefox (if open).
  5. Paste the contents of the backed up profile folder into the new profile folder, overwriting existing files of the same name.
  6. Start Firefox.

find $HOME/.mozilla/Firefox/Profiles -type d -name *.default -ls 2>/dev/null

Increase Swap in LVM

  1. Determine the name of the swap logical volume using the "lvs" command:
$ lvs
LV VG Attr LSize Origin Snap% Move Log Copy%
root_lv volgroup0 -wi-ao 7.00G
swap_lv1 volgroup0 -wi-ao 30.00G
tmp_lv volgroup0 -wi-ao 3.00G
usr_lv volgroup0 -wi-ao 7.00G
var_lv volgroup0 -wi-ao 4.00G
  1. Turn off the swap partition:
$ swapoff /dev/volgroup0/swap_lv1
  1. Resize the swap partition, adding 15GB more space to it:
$ lvresize -L+15G /dev/volgroup0/swap_lv1
Extending logical volume swap_lv1 to 30.00 GB
Logical volume swap_lv1 successfully resized
  1. Format the new swap space to make it usable:
$ mkswap /dev/volgroup0/swap_lv1
Setting up swapspace version 1, size = 41875927 kB
  1. Turn the swap volume back on:
$ swapon /dev/volgroup0/swap_lv1
  1. Use free command to show your new swap space:
$ free -t | grep -i swap
Swap: 30719 0 30719