Author Archives: Ahmed Tawfik

Unknown's avatar

About Ahmed Tawfik

Cybersecurity Professional, Systems Engineer, OSS & Linux Geek

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

How to add Ubuntu Server to a Windows Active Directory

Setup: Server: Ubuntu 14.04.3 LTS 64-bit pbis-open version: 8.3 First of all, install these packages: libpam-winbind (available in repository) nfs-common (available in repository) pbis-open (download latest version from http://download1.beyondtrust.com/Technical-Support/Downloads/PowerBroker-Identity-Services-Open-Edition/?Pass=True) Now that you have all the necessary packages, you have to … Continue reading

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