Increasing Amazon Linux 2 AMI /tmp Size

cd # change to your home directory fallocate -l 20G mydrive.img # create the virtual drive file mkfs -t ext3 mydrive.img # format the virtual drive sudo umount /tmp # unmount the /tmp sudo mount -t auto -o loop mydrive.img /tmp # mount the virtual drive  

Update Kali on Raspberry

1. Check the repo source as expected kali@kali:~$ cat /etc/apt/sources.list # See https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/ deb http://http.kali.org/kali kali-rolling main contrib non-free non-free-firmware # Additional line for source packages # deb-src http://http.kali.org/kali kali-rolling main contrib non-free non-free-firmware kali@kali:~$ 2. Start the kali upgrade kali@kali:~$ sudo apt update kali@kali:~$ kali@kali:~$ sudo apt full-upgrade -y kali@kali:~$ Reference : https://www.kali.org/docs/general-use/updating-kali/

Setup scrot on Fedora with manual installation

Scrot is a quite popular command line tool and one of the swiss army tools sysadmin need to have. When I’m not be able to install it via the repository, this is what I did to make it work : $ wget http://mirror.ghettoforge.org/distributions/gf/el/7/gf/x86_64/giblib-1.2.4-27.gf.el7.x86_64.rpm $ wget http://packages.psychotic.ninja/7/base/x86_64/RPMS/scrot-0.8-12.el7.psychotic.x86_64.rpm $ sudo rpm -i giblib-1.2.4-27.gf.el7.x86_64.rpm $ sudo rpm -i … Read more