- Install Clamav
sudo apt-get install clamav
- Update Clamav
- Scan specific directory
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:
By default, Google Chrome is not installed in Linux. Here's how to install:
- Download the latest current stable version of Google Chrome (64 bit)
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
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?
Official release of this feature will be rolling out in the next few days, but if you cannot wait and you are concern about your Dropbox security as I do, here are the steps to enable two-step verification beta.
In some of my sites, I don't want to include Submitted by in each post. Going to content type admin settings, I can disable that line entire line including the timestamp of posting, but that is not my requirement. I only want the author information to be remove or to hide.
Here's how I solve this case:
Edit node.module under modules/node directory. In Drupal 7.15, the section that you need to edit is in line 1469
vi +1469 node.module
If you are using Hardy Server or any other older versions of Ubuntu Server, and you want to upgrade to Intrepid Server or any other future latest Ubuntu Server releases, here are the simple steps...
But before that, please take note that upgrade will not take place by default because 8.10 is not a Long Term Support (LTS) release.
Very important, be sure that you have all updates applied to Ubuntu 8.04 LTS before you upgrade to 8.10.
Here are now the steps:
Simple installation of Apache, PHP and MySQL in Ubuntu 8.10 (Intrepid Ibex).
Optionally, install SSH Client and Server (for remote access to this server)
sudo apt-get install ssh
Install Database Server
sudo apt-get install mysql-server
Install Apache2 web server
sudo apt-get install apache2
sudo apt-get install php5 libapache2-mod-php5
Install PHP5-MySQL support
sudo apt-get install php5-mysql
sudo /etc/init.d/apache2 restart