Tag Archives: Ubuntu

Reset your Ubuntu Desktop to its default settings

dconf reset -f / Sources: https://www.omgubuntu.co.uk/2017/10/how-to-reset-ubuntu-desktop-to-default

Posted in Linux, Ubuntu | Tagged , , , | Leave a comment

How to check the DHCP server on Ubuntu

This is if you need to know which server gave you your dynamic IP: cat /var/lib/dhcp/dhclient.leases That’s it, Enjoy!

Posted in Ubuntu | Tagged , , , | Leave a comment

Print a batch of files on Ubuntu 18.10

Here we will send a batch of files inside a directory to the default printer in Ubuntu. First of all, you’d better define a default printer in your system by going to Printers and then select Use Printer by Default: … Continue reading

Posted in Linux | Tagged , , , | Leave a comment

Touchpad enable/disable script and shortcut on Ubuntu 18.10

If your laptop doesn’t have a working switch for turning on/off your touchpad, then this post is for you. Create a script called disenable_touchpad.sh and add the following code to it: !/bin/bash state=$( gsettings get org.gnome.desktop.peripherals.touchpad send-events ) if [ … Continue reading

Posted in Linux | Tagged , , , , | Leave a comment

Fix QT Apps scaling issue on hidpi screens on Ubuntu

On my 5k screen, all QT apps look very tiny, such as keepassxc and Virtualbox. The best solution I found was adding the following to your .profile to autoscale at a ratio of 2 (you can change it to your … Continue reading

Posted in Linux | Tagged , , , , | 2 Comments

How to kill all processes accessing a filesystem on Ubuntu

This is not really safe, ok 😀 ? Do it on your own risk lsof | grep /filesystem_name | awk ‘{print $2}’ | xargs kill -9 That’s it, Enjoy!

Posted in Linux | Tagged , , , , , , | Leave a comment

How to use hydra to test/crack ssh credentials for a list of servers

To install hydra on Ubuntu: sudo apt install hydra Simply, to start our test/attack, we have a list of usernames, list of passwords and list of servers: hydra -L users.txt -P passes.txt -u -M hosts.txt ssh -o Report.txt Where: users.txt … Continue reading

Posted in Linux | Tagged , , , | Leave a comment