Author Archives: Ahmed Tawfik

Unknown's avatar

About Ahmed Tawfik

Cybersecurity Professional, Systems Engineer, OSS & Linux Geek

How to reset lost password on Ubuntu

From the official Ubuntu LostPassword documentation (with minor changes to work on more recent versions of Ubuntu) Reboot your computer. Hold Shift during boot to start GRUB menu. Press e to edit. Find the line starting with “linux” and change “ro” … Continue reading

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

How to delete all files in a folder EXCEPT certain ones in BASH

Imagine you have a folder that has about 20 files that you need and like 100 files that you don’t. In this case, there is a very simple bash script that allows you to do that in a jiffy! Here … Continue reading

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

How to install Shutter Screenshot Tool and assign as the default in Linux Mint

Shutter is an amazing screenshot taker and annotator. To install it successfully, you have to install two packages: sudo apt-get install shutter libgoo-canvas-perl Note: That second package is to allow editing and annotation You are done with the installation now. Next, … Continue reading

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

Batch-resize videos on Ubuntu Linux with ffmpeg

So, the case is as follows: I have about 15 videos files that were recorded at 4K and are very large in size. I wanted to keep everything as is, but just reduce the resolution to HD (720p). ffmpeg would … Continue reading

Posted in Linux, Uncategorized | Tagged | Leave a comment

Allow non-root users to capture network packets with Wireshark on Ubuntu

It’s very easy to do, all you need is just add your user to the wireshark group, e.g. sudo adduser hobba wireshark so this makes user hobba able to capture packets without requiring sudo privileges. Enjoy! Tested on LinuxMint 18.1 … Continue reading

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