search files with multiple patterns in linux
Well today I have to search files with *.php and with *.html . How to do that ? Solution is : find ./ \( -name "*.php" -o -name "*.html" \)
Well today I have to search files with *.php and with *.html . How to do that ? Solution is : find ./ \( -name "*.php" -o -name "*.html" \)
Creating an auto scaled system using an Amazon load balancer is an interesting task that I did recently. Here are the list of commands that I used to setup from the command line : as-create-launch-config ec2elbconfig –image-id ami-xxxxx –instance-type m1.large –key key_name Also if you don’t have already setup credentials you may append -I amazonid [...]
If you’re thinking of doing Radi10 on the ephemeral storage disks attached to an Ec2 instance, this post is for you. Well first of all you have to chose a instance with 4 drives. You may chose m1.xlarge or c1.xlarge or cc2.8xlarge . This are only instances with 4 drives. On other instances you may chose to make Raid0, witch [...]
Today I want to change some settings on one of my server. But when to change I didn’t know if it’s prefork or worker module at the power of my apache. So what to tune ? Well this information is compile in Apache and is not loaded as module. So if you want to find [...]
Recent mytop a inceput sa nu mai mearga pe versiunile mai noi de Centos Eroarea este: #mytop Error in option spec: “long|!” Ca sa repari, editezi /usr/bin/mytop, faci un search dupa “long|!” => \$config{long_nums}, si pui un # in fata, salvezi si ar trebui sa functioneze. Multa bafta