Re: [CentOS] Grep: show me this line and the next N lines?

2011-05-30 Thread Pintér Tibor
On 05/30/2011 11:08 PM, Dotan Cohen wrote: Can grep show the matching lines and the next N lines after a match? For instance, I have a config file wit hthe following text: [Tag h1] foreground=#2e5a03 underline=double indent=0 weight=PANGO_WEIGHT_BOLD scale=2.25 I would ideally grep on

Re: [CentOS] recursively find duplicate filenames

2011-01-05 Thread Pintér Tibor
On 01/05/2011 12:15 PM, S Mathias wrote: find duplicate filenames in a folder find | perl -ne 's!([^/]+)$!lc $1!e; print if 1 == $seen{$_}++' find duplicate filenames in a folder recursively ? how? eg: /foo/bar.txt /foo2/bar.txt /foo3/bar.txt t

Re: [CentOS] adobe flash

2010-12-13 Thread Pintér Tibor
On 12/13/2010 06:30 PM, Ritika Garg wrote: I have CentOS5.5 installed in the system. After updating the version of firefox, the videos are playing on the internet. Earlier the message flash player download required used to come. so what? is that a problem? you want your message back? t

Re: [CentOS] how to do repetetive command in shell

2010-10-21 Thread Pintér Tibor
USER1=roland USER2=dany USER3=kevin cp -r /opt/$USER1/test /backup/$USER1 cp -r /opt/$USER2/test /backup/$USER2 $ for user in one two three four; do echo $user; done one two three four t ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] need Centos5.4 url download

2010-01-12 Thread Pintér Tibor
Anas Alnaffar wrote: From where can I download Centos5.4 Thanks http://www.centos.org/modules/tinycontent/index.php?id=30 t ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] PHP Add-on

2009-11-15 Thread Pintér Tibor
Ricky Tompu Breaky írta: Dear my friends... I want to install Magento but the installer asks me several PHP Add-on: PHP Extension pdo_mysql must be loaded PHP Extension mcrypt must be loaded PHP Extension curl must be loaded PHP Extension gd must be loaded Anybody would be so nice to

Re: [CentOS] yum hangs, rpm hangs

2009-10-27 Thread Pintér Tibor
Hmm. Now I find that *any* rpm or yum command I type in will hang. This is not good. tried removing temp files from /var/lib/rpm (afaik __db.*) t ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] how to clean YUM download?

2009-09-08 Thread Pintér Tibor
mcclnx mcc wrote: We have CENTOS 5.2 on DELL server. While I run yum update and yum start download files. in middle of download there have power surge and computer reboot. Does there has way to clean yum download? Thanks man yum = yum clean = headers, packages, metadata, dbcache,

Re: [CentOS] mysql error

2009-08-31 Thread Pintér Tibor
You're getting that because -ucountry isn't a valid flag for mysqladmin. Did you mean to log into the MySQL server as user country? If so put a space after the -u mind the difference between mysqladmin and mysql itself. t ___ CentOS mailing list

Re: [CentOS] Install 32 or 64 bits

2009-08-18 Thread Pintér Tibor
mcclnx mcc wrote: Not all 32 bits applications can run on 64 bits O.S. ORACLE is one of that. ORACLE web site say very clearly 32 bits ORACLE can NOT install on 64 bits LINUX O.S. I personal tried to do that several times, but failed. This include 32 bits ORACLE 10Gr2, ORACLE EBS R12

Re: [CentOS] CentOS 5.3 - php mycrypt

2009-06-17 Thread Pintér Tibor
Tom Brown wrote: I need PHP with mycrypt support see http://www.php.net/manual/en/ref.mcrypt.php i wonder - is this available in the PHP that comes with CentOS 5.3 ? ever thought of yum search php-mcrypt? t ___ CentOS mailing list

Re: [CentOS] how to build php5-cgi from source

2009-06-05 Thread Pintér Tibor
Tim Ke írta: Does anyone has experience on how to build php5-cgi from source? ./configure. make make install t ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] script question

2009-06-04 Thread Pintér Tibor
Jerry Geis wrote: I have this line: ALSA=`aplay --version` in a script. when I execute the script I get the message line 187: --version: command not found $ echo $(aplay --version) aplay: version 1.0.18 by Jaroslav Kysela pe...@perex.cz t

Re: [CentOS] installation needs libpng but rpm is there

2009-02-11 Thread Pintér Tibor
configure: error: png library not found. please install libpng but I check rpm is installed libpng-1.2.10-7.1.el5_0.1 How can I do? what do you install? libpng-devel? t ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] real SATA RAID

2009-02-08 Thread Pintér Tibor
Last week I had a lengthy thread in which someone indicated the my SIL card is a FRAID (don't know if F stands for the F word or Fake, though it doesn't really matter). I want to replace the controller with a controller that Linux will see the RAID1 group as a single HD and not multiple

Re: [CentOS] More than 2TB RAID...

2009-01-28 Thread Pintér Tibor
mcclnx mcc wrote: how to stop fsck on boot? 1. vi /etc/fstab 2. grub.conf = fastboot 3. touch /fastboot t ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] How to add network driver for network installation

2009-01-27 Thread Pintér Tibor
CentOS 5.2 x86_64 (kernel 2.6.9-92) that cant be true t ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Help with find

2009-01-21 Thread Pintér Tibor
Matt wrote: This finds all files modified 5 minutes ago. find /home/*/ -cmin 5 -type f -mindepth 1 -maxdepth 1 I want to find all files modified 5 or less minutes ago. How do I do that? find -mtime -1 only works in 24 hour increments. -cmin -5 t

Re: [CentOS] yum update fails: CentOS 5.2

2009-01-12 Thread Pintér Tibor
It doesn't ask if its ok. But if I type yenter it reports: Is this ok [y/N]: Downloading Packages: Then it does nothing. I can't kill it with CRTL-C, but I killed the yum process with kill -9 from another window. I retried it several times; same result. tried deleting

Re: [CentOS] Problems compiling PostgreSQL package from FC8 on CentOS 5

2008-12-15 Thread Pintér Tibor
http://yum.pgsqlrpms.org/reporpms/repoview/pgdg-centos.html t ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] script to find last accessed time?

2008-12-02 Thread Pintér Tibor
Tom Brown wrote: Can anyone help me with the syntax to find last accessed time on a bunch of dir's - something like show me the files that were last accessed 6 months or more ago? man find? t ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] Location of 5.2 .iso without XEN

2008-11-21 Thread Pintér Tibor
Sam Drinkard írta: Subject pretty much says it all. I want the 5.2 without the xen kernel. I've grabbed bits from 2 different mirrors and they all appear to have xen on them. It would be very nice if someone could throw some text into the mirrors file to differentiate the two versions.. Oh

Re: [CentOS] CentOS/RHEL, PHP and zip archives

2008-11-19 Thread Pintér Tibor
[Sun Nov 16 22:05:38 2008] [error] [client 192.168.0.192] PHP Fatal error: Class 'ZipArchive' not found in /var/www/fraud/html/davesBlog/sites/all/modules/photos/photos.module on line 1375, referer: http://davenjudy.org/davesBlog/node/39/photos The PHP code at line 1375 in photos.module is

Re: [CentOS] replace

2008-10-24 Thread Pintér Tibor
Phil Schaffner írta: Mad Unix wrote: i need your feedback about this command, it should find a string in multiple html files in a directory and replace it with a different string... find /dir -name *.html -exec sed -i 's/old/new/g' {} \; Mad Unix, find /dir -name *.html -exec sed -i -e

Re: [CentOS] replace

2008-10-24 Thread Pintér Tibor
You also have to give an extension to the command to get a backup. For this one it would basically be: perl -pi.old -e 's/foo/bar/' *.html... in addition to the no recursion thing if you dont, the target changes are applied to the source files. t

Re: [CentOS] script question

2008-10-15 Thread Pintér Tibor
I am trying to create a script that takes an entire file, drops the first 19 characters from each line and creates a new file. I am missing something easy but I am not seeing it. Jerry --- I tried the script below but did not work. rm output.txt cat test.txt | \ while read LINE do

Re: [CentOS] problem with roundcubemail

2008-10-13 Thread Pintér Tibor
david fritz wrote: I use the webmail roundcubemail to edit my mail server. after finishing to configure it and mysql server and I try to connect to the mail server but i had this message : unable to connect to the database. help me please pretty informative error msg. can you

Re: [CentOS] problem with dns

2008-10-13 Thread Pintér Tibor
david fritz wrote: i want to configure dns but i don't find the file like named.conf dns server you mean? you need the bind rpm installed. if you need dns client, edit /etc/resolv.conf t ___ CentOS mailing list CentOS@centos.org

Re: [CentOS] find

2008-10-03 Thread Pintér Tibor
[EMAIL PROTECTED] írta: I am looking for something similar to the windows SEARCH FILES comman with the option files containing ... (that is where I can specify a string and it will find all files containing that string -- not just having the string as part of the name but actually containing

Re: [CentOS] link speed

2008-09-18 Thread Pintér Tibor
Craig White írta: Is there a command line way to tell me whether a ethernet connection is 100 BaseT or Gigabit Ethernet? mii-tool t ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Installing activating mysql in CentOS 5

2008-09-17 Thread Pintér Tibor
Andrew Allen wrote: I want to set up a local mysql server + client (preferably graphical, ie mysqlgui) so have yum installed both perl-DBI and mysql.i386, both apparently successfully. However, I can't see what to do next to get mysqld running, as it doesn't appear in the list of services (in

Re: [CentOS] yum erase fails

2008-09-12 Thread Pintér Tibor
Robert Moskowitz wrote: I am trying to erase an rpm with yum erase. It fails: service hipfw does not support chkconfig Removed: hipl-firewall.i386 0:1.0.4.1 Complete! And it is not removed If I try with rpm -e, I get the same error message. So how do I remove this rpm? --noscripts ?

Re: [CentOS] small window manager

2008-09-02 Thread Pintér Tibor
Paul Bijnens wrote: What is an alternative X window manager, supported by CentOS, that has very small memory footprint? I want to avoid twm, because it defaults to interactive placement when not giving geometry options. No other requirements. dwm, fwm, xfce, fluxbox? ps: your signature is