Author Archives: Ahmed Tawfik

Unknown's avatar

About Ahmed Tawfik

Cybersecurity Professional, Systems Engineer, OSS & Linux Geek

How to encrypt a USB Flash Drive in Ubuntu using LUKS

We lose USB Flash drives all the time, so if you hold any sensitive or personal stuff, you’d better have it encrypted, just in case. Important Notes: This works only on Linux, won’t work on Windows or MAC Before you … Continue reading →

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

Compress PDF Files Effectively in Ubuntu

Found a great script that does an amazing job with compressing PDF files whilst maintaining a good quality: Get the script from here: http://www.alfredklomp.com/programming/shrinkpdf/ Just copy the script to a text file and make it executable, then run: ./shrinkpdf infile.pdf outfile.pdf … Continue reading →

Posted in Linux, Uncategorized | Tagged , | 1 Comment

How to solve Google Chrome Flickering on Ubuntu 16.04

Just do the following two steps: sudo nano /usr/share/applications/google-chrome.desktop Scroll down to the “Exec” line Add two additional parameters, so that it looks like this: Exec=/usr/bin/google-chrome-stable –disable-gpu-driver-bug-workarounds –enable-native-gpu-memory-buffers %U That’s it, now restart Chrome and it shall work perfectly! I … Continue reading →

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

Fixing DNS Issues with Linux Mint 18

A problem that has been bugging me for a while on my Linux Mint 18, that the DNS is not working properly and on a random basis. What I could fix it with is that I just did the following: … Continue reading →

Posted in Linux, linuxmint, Uncategorized | Tagged , , , | 4 Comments

Create/Modify LVM Physical Volumes, Volume Groups and Logical Volumes on Ubuntu 16.04

It’s pretty straight-forward, but before you start, you need to check for block devices that can be used to create physical volumes: sudo lvmdiskscan You will see a result that looks like this: /dev/ram0 [ 64.00 MiB] /dev/sda [ 50.00 … Continue reading →

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