How to Install, Update and Use Antivirus in Ubuntu
- Install Clamav
sudo apt-get install clamav
- Update Clamav
sudo freshclam
- Scan specific directory
sudo clamscan -r directory_to_scan
sudo apt-get install clamav
sudo freshclam
sudo clamscan -r directory_to_scan
Sometimes, after updating my Ubuntu Server or running sudo apt-get -f install
, I have a message: The link /vmlinuz.old is a damaged link
and you may need to re-run your boot loader[grub]
To solve this warning, run this command: sudo update-grub
In case after you upgraded your Windows 10 to Build 10240 (Final Release) and starts asking for activation, do the following:
By default, Google Chrome is not installed in Linux. Here's how to install:
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb
In case of any error in the installation, run also this command: sudo apt-get -f install
My favorite universal text editor in Mac, Windows and Linux is Sublime Text. Here's how to install in Ubuntu:
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer
After installing the latest updates for Windows 10 Enterprise Insider Preview; my test machine starts prompting for activation.
I tried many keys available, nothing works, except this one:
CKFK9-QNGF2-D34FM-99QX2-8XC4K
Going to Programs in Control Panel, you will not find Store App.
To uninstall, follow this:
On the Start screen, press and hold or right-click the app tile.
Tap or click Uninstall :)
It is always a good idea to to change the default http://yourhost.com/phpmyadmin
to something like http://yourhost.com/yourdb
to hide it from easy access to others.
Here's how to do it:
sudo nano /etc/phpmyadmin/apache.conf
Change:Alias /phpmyadmin /usr/share/phpmyadmin
To:Alias /yourdb /usr/share/phpmyadmin
In some cases that you have hundred of thousands or even million of files in a directory that you want to delete, you will encounter this error:
/bin/rm: Argument list too long.
The problem is when you type command like rm -rf *, * is replaced with the list of all files, and usually the memory buffer allocated to shell is small to accomodate let's say million of file names.
To solve this issue, I usually use this simple command:
find . -type f -delete
Image retention and burn-in issues are widely <a href="https://discussions.apple.com/message/18669644#18669644">reported</a> with the new Retina displays of MacBook Pro. Generally, it seems happening with displays manufactured by LG. While displays made by Samsung are OK. Samsung display are also brighter, and seem to display colors with more accuracy.
How to know the make of your display installed in your MacBook Pro?