Author Archives: Ahmed Tawfik

Unknown's avatar

About Ahmed Tawfik

Cybersecurity Professional, Systems Engineer, OSS & Linux Geek

How to mount a file created using dd command

I created an exact copy of a bootable USB drive using the dd command (which is an extremely cool tool by the way) using the following command: dd if=/dev/sdb of=myFile.img After that, to mount it, you can simply use the … Continue reading →

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

How to reset your administrative user password in ubuntu

It’s useful in case you forget your password and unable to access your system. All you have to do is: startup your machine and select the kernel that you use at the grub menu press e to start editing Find … Continue reading →

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

How to rebuild the cache for ownCloud

This can be done using the ownCloud Console (occ). All you need is to go where the web app is, which is usually /var/www/owncloud and then run: sudo -u www-data php occ  files:scan –all This will rebuild the whole files … Continue reading →

Posted in Uncategorized | Leave a comment

Monitor Linux CPU Frequency in RealTime

watch grep \”cpu MHz\” /proc/cpuinfo Source

Posted in Linux | Tagged , , | 1 Comment

How to change the Linux prompt

Sometimes the Linux prompt doesn’t look really attractive and/or practical, like for example bash:/ or sh:/ which is really annoying. To solve this, you need to use the PS1 environment variable and append to it what you need: Go to … Continue reading →

Posted in Linux | Tagged , , | Leave a comment