Tag Archives: Ubuntu

How to kill all processes accessing a filesystem on Ubuntu

This is not really safe, ok 😀 ? Do it at 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

How to resolve suspend/wake issues on Dell XPS with Ubuntu

Just append this to your kernel boot params: mem_sleep_default=deep Reboot, Enjoy! Source: https://gist.github.com/greigdp/bb70fbc331a0aaf447c2d38eacb85b8f

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

bc: A command-line calculator for Ubuntu

It’s simple, but effective for command line addicts If it’s not already installed, install it by using: sudo apt install bc then run bc and type any calculations you want. I wrote for example $ bc bc 1.07.1 Copyright 1991-1994, … Continue reading

Posted in Linux | Tagged , , | Leave a comment

Set fractional display scaling on Ubuntu 18.10 (XORG)

I am using an LG 5K monitor, and the display scaling options are very limited in gnome-shell, only increments of 100%. To have fractional scaling, I tried this script: #!/bin/bash gsettings set org.gnome.desktop.interface scaling-factor 2gsettings set org.gnome.settings-daemon.plugins.xsettings overrides “{‘Gdk/WindowScalingFactor’: <2>}” … Continue reading

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