General :: Using An Index To Make Grep Faster?

Aug 9, 2011

I find myself grepping the same codebase over and over. While it works great, each command takes about 10 seconds, so I am thinking about ways to make it faster.So can grep use some sort of index? I understand an index probably won't help for complicated regexps, but I use mostly very simple patters. Does an indexer exist for this case?EDIT: I know about ctags and the like, but I would like to do full-text search.

View 5 Replies


ADVERTISEMENT

General :: Make Ubuntu 10.04 More Faster On Old Pc?

Jul 27, 2010

i run ubuntu 10.04 on my old pc pentium 4, 500mb ram ,how can ido for make faster..

View 5 Replies View Related

General :: Mac-like Tweak To Make Programs Start Faster

Apr 24, 2010

I've been working with Macs nowadays and noticed that programs load like "instantly" once it has been open and closed.

I don't know if MAC is pre-fetching them to somewhere but it is good to start Firefox right after you closed it.

what MAC actually does and how this could be implemented ? I have 6gb of ram on my laptop. Running Kubuntu 10.04 RC1.

View 3 Replies View Related

General :: How To Make Grep To Search A Pattern In Only Specific File Type?

Mar 6, 2010

To search a string pattern in all files in a directory and subdirectories, I am using;

Code:
grep -R "myclass::my-func(" mydirectory/
Now I want grep, to search in only specific file types say *.cc. Please help me. I have read manual of grep, but could not deduce any hint.
Best Regards.

View 7 Replies View Related

Ubuntu :: How To Make Faster

May 22, 2011

I installed preload, I unchecked all startup applications, I uninstalled programs I wouldn't use. Any other tips for a faster Ubuntu?

View 9 Replies View Related

Ubuntu :: How To Make It Faster

Aug 14, 2010

I have windows xp professional installed and I have 256 MB RAM and 80 GB hard disk.I installed Ubuntu 10.04 LTS Desktop Edition alongside on windows on a formatted 12 GB C drive(windows on E drive).When I used linux it was very slow but my windows is running smoothly.How can I get normal and smooth speed on linux as I have it on windows.Will removing the windows speed up linux?

View 4 Replies View Related

Fedora :: Make Yum Update Faster?

Feb 6, 2009

Just installed fedora10 the first time, and the system wants to update, but the yum download process is too slow, it seems dead over 2 hours can't download one package! Is there anyway to make it faster?

View 8 Replies View Related

Fedora :: Make Yum Faster To Start Up?

May 5, 2011

When I haven't run yum for a little awhile, it's slow to start up because it goes through all the progress bars of downloading from different repositories. specially, just now updates/primary_db had to download 5.5MB.

Is there some way to automate this so it happens in the background and not when starting up?

View 2 Replies View Related

Ubuntu :: How To Make Nautilus Faster

Jul 12, 2010

One of the most common tasks I perform is browsing for files. I have always wanted my file manager to be lightning fast. That is, I open it and it loads directories instantly. No waiting, just opening them right away. This remained always a wish, as in Windows and Ubuntu on a variety of machines I always see that it takes a little while for the program to load directories. I am not talking about folders with thousands of files or anything special. However, I have seen others who have Windows (XP in this case), and their Explorer opens right away. Browsing folders is very much instant.

Is there any way to achieve the same in Nautilus? The other computer is not very modern or super fast, at all.

I have a laptop with SSD drive which I hoped would speed up this process, but this is not the case. On both my laptop and desktop I often see the 'loading' symbol, and files often appear after the folder view has opened (they just appear all of a sudden). This happens with folders I rarely visit but also with folders I often open.

How are others' experiences? Can Nautilus be instant? Is this a configuration tweak or hardware issue?

View 4 Replies View Related

Debian Multimedia :: Make KDE More Responsive And Faster ?

May 27, 2011

I am a GNOME user but because of the release of GNOME 3 i decided that i may have to start using KDE. So i installed KDE 4.6 from the qt-kde debian repository. It works more or less OK but i have a problem with the performance. It just doesn't feel as snappy as GNOME. For example if i have minimized Firefox when i maximize it it takes about a second for the window to draw and until then i just see and empty window. Or when i open nautilus it too takes a little to open and draw the window. Overall KDE seems a little unresponsive. Is this normal? And second, from time to time there seems to be huge performance issues - KDE suddenly becomes very slow - programs take a while to open, and the windows draw even slowlier than what i described previously. Also whenever there is a slowdown (like for example when i start a program) i hear some kind of scratching noises from a my laptop - like there is a heavy hard disk activity. I've heard that kind of noises before when doing something very demanding like compiling or archiving something.

Is there any way to make KDE more responsive and faster. I have disabled strigi and nepomuk.

I am running KDE on Debian Unstable with kernel 2.6.39-1-amd64 and NVidia driver 270.41.19 on a Thinkpad T61 laptop with Intel Core 2 Duo T9300, Nvidia Quadro NVS 140m and 4GB of Ram.

View 14 Replies View Related

Ubuntu :: Software To Make System Faster?

Mar 24, 2010

After installing ubuntu 9.10. It's now been a month or so from a fresh reinstall.

Currently for some reason at times my computer slows down where typing starts to lag.

Is there any software that would speed up the linux os. Like for windows there is softwares that would check the registery for errors and shortcut errors etc and fix them.

I use free software like that for windows and works well. I just would like to know if I can get something like that for linux. I know linux dosen't use a regsiter but just saying software that checks the linux system for any errors that could cause the computer to slow down.

View 3 Replies View Related

Ubuntu :: How To Make Amarok Launch Faster

Apr 26, 2010

I need a command to tell the alarm to start the playback of amarok on the morning, I also need a way to be able to see lyrics in amarok, and last, any tip on how to make the amarok launch faster? is takes like 5 min!
Amarok ver 2.3.0
Ubuntu karmic koala

View 6 Replies View Related

Ubuntu :: Make U11.04 Beta Run Faster (downgrade To 10.10)?

Apr 10, 2011

I like the new 11.04 ubuntu, especially the left panel. However, performance dramatically dropped when i did the upgrade. What I'm asking is, how do I improve the performance of Natty?

If I can't, how can I downgrade back to 10.10?

View 4 Replies View Related

Debian :: Konqeror - Make It Load Webpages Faster?

Apr 29, 2010

I put the KDE NOIPV6 in the /etc/environment file, but nothing happened it seems.

The problem = Midori / other browsers are too unstable with Flash; but Konqueror is lightning-fast with Flash and apparently takes up the least resources too. But the problem with that is, the aforementioned 20 seconds to 2 minute web page load time, even though I have 5-8 MBps cable Internet.

Midori is a little slow too to load web pages, now that I think about it, but faster once I have first visited a domain.

View 7 Replies View Related

Debian Configuration :: Can Make Openvpn Faster Like Rsync

Oct 22, 2010

I use openvpn to connect otherwise isolated machines, and use samba to share filesystems across the vpn, which works just fine.But I recently discovered that copying files using rsync -e ssh is so much faster than copying from a mounted filesystem - like about 5 times faster.I've got comp-lzo enabled in both server and the client, at least I think I have, the directive is there in both the server.conf and the client.conf files, but how do I check that it's active?Does anyone know if I can make openvpn behave more like rsync, because copying is easier than rsyncing?

View 8 Replies View Related

Ubuntu :: 10.04 Lucid - Make Transmission Download Faster?

Mar 23, 2011

I want to make transmission download faster. I have noticed transmission is a slow bittorrent.

View 1 Replies View Related

Server :: Very Slow Boot In Ubuntu / Make It Faster?

Dec 3, 2010

I have an Ubuntu Server 10.10 install on a VIA C7 chip. It seems to pause for about 5 min on a USB component.

It is a fresh install, here is a snip from my messages log code...

My KB is USB, so I would rather not disable it if at all possible. The next time I can take it down, I will test disabling it though...

View 4 Replies View Related

Ubuntu :: How To Make System Boot Faster By Removing Idle Time

Jun 14, 2011

How to make the system boot faster by removing the idle time between 5s to 10s? bootchart attached. It is Ubuntu10.04LTS by the way. One more hint, the screen black out for ~4s after "Begin: Running /scripts/init-bottom... Done." I don't know what is going on during that 4s, but my best guess is there is a way we can get rid of it.
Bootchart can be found here:

View 9 Replies View Related

Programming :: Input File - Grep Within Grep

Nov 22, 2010

I need to kind of grep within grep. My input file would be something like:

[Code]....

and I need to find the first occurrence of hello before MY PATTERN (hello 9008 in this case), so the output should be:

[Code]....

View 4 Replies View Related

General :: Iethernet 10 / 100 In LAN Transfer Faster Than USB 1.0?

Jun 14, 2010

I have an old laptop (PIII 800MHz, with 256 RAM) that I wish to use as my home server: it'll have to serve just two people, so I think that I'll be more than ok as for the RAM and the CPU.The issue is about data, because the internal hard disk is a 12GB, that is...ridicolous! I have more than 60GB of mixed storage and counting (images, videos and music) in an external usb hd. I could put the hd in my desktop pc just to serve the big files through ethernet or let it inside its usb box attached to the laptop.

The question is: which of these solutions will be the fastest? USB 1.0 attached to the server (laptop) or internal hard disk serving files via 10/100 ethernet to the laptop on demand?what about your experience? Is the difference based on a human notable scale?

View 3 Replies View Related

General :: Faster To Have More Primary Partitions?

Mar 13, 2011

Why is it faster to have more primary partitions when using Linux? Please give some real examples; I know some theoretical reasons but I don't understand them well.

View 2 Replies View Related

General :: Rsync -z Vs Scp ... Which One Is Faster Over Network

Dec 3, 2010

I often have to transfer huge data over our LAN from one computer to another. The size of the files varies and can be somewhere from 2 GB to 50GB or more! The only accepted connection protocol between machines are ssh; and rsync and scp are the only options available for copying over network (unison is not installed). I usually use rsync with "-z" option to copy over network. if "rsync -z" is faster than "scp" for data transfer?

View 5 Replies View Related

General :: Why Is JFS Faster Than A Raw Device For 1.5TB Disk

Aug 19, 2010

I have a 4 * 1.5TB RAID5 disk array (software linux RAID, formatted with jfs) on my Fedora 12 system and want to expand it by adding another 1.5TB disk. I have added a drive to the system and conducted a simple performance check on it to make sure it was functioning properly:

Code:

# dd if=/tmp/bigfile.dat of=/dev/sdg1
5478774+1 records in
5478774+1 records out
2805132609 bytes (2.8 GB) copied, 168.77 s, 16.6 MB/s

But 16.6 MB/s is lousy. I ran an iostat -dmx 2 on this drive at the time of this lousy performance, and typical output was:

Code:

Device: rrqm/s wrqm/s r/s w/s rMB/s wMB/s avgrq-sz avgqu-sz await svctm %util
sda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
sdb 1.50 0.00 258.50 0.00 16.25 0.00 128.74 0.17 0.66 0.36 9.30
sdg 0.00 3556.00 4160.00 32.00 16.25 16.00 15.76 135.73 35.11 0.24 100.05

(note that sda and sdb are a linux raid mirror set for the / filesystem that holds /tmp). I formatted the new drive (/dev/sdg1) with jfs and mounted it under /mnt2:

Code:

# jfs_mkfs /dev/sdg1
jfs_mkfs version 1.1.13, 17-Jul-2008
Warning! All data on device /dev/sdg1 will be lost!
Continue? (Y/N) y

[code].....

I would like to know what the performance will be like before I add the disk to the array because I don't want to wait for the whole array to be rebuilt before finding out my array is performing badly. The array is used as part of a mythtv system and has up to 6 simultaneous recordings running on it, so it needs to perform well.

View 6 Replies View Related

General :: Get Faster Booting In System?

Jul 27, 2011

how can I make my system's booting faster. Is Linux support to increase it?

View 1 Replies View Related

General :: Epiphany Browser 2.30 Is Noticably Faster Than 2.28?

Dec 15, 2010

I'm using Linux Mint 8. However, internet browser speed is very slow as compared to using the same computer with Windows. In Linux, I've used Firefox 3.5 and Epiphany 2.28. Epiphany runs somewhat faster than Firefox so I mainly use it for the internet.

What I would like to know is if Epiphany browser 2.30 is noticably faster than 2.28? Should I go thru the trouble of upgrading to Mint 9 inorder to be able to use Epiphany 2.3 - as well as Chromium 8?

View 2 Replies View Related

General :: Combine Two Internet Connections To Get A Faster Connection?

Oct 25, 2010

I am using Red Hat Linux enterpriser 4 using two physical LAN cards.There are two different ISP internet lines coming into a single gateway computer. Is it possible that if in our one network we are using 2 MB bandwidth and from another network we are getting 2 MB bandwidth.(Two different Networks) and combine it into 4 MB. In bonding it combine the bandwidth or it do loadbalancing ?

The question is can we accumulate or add these two bandwidth in Linux machine and it sent total bandwidth 4 to the end users ?

Lan Card A
IP Address: 192.168.1.250 2MB Bandwidth
l
l
l

[Code]....

View 2 Replies View Related

General :: Change The Index.html File?

Jul 1, 2010

I just installed linux. How can I change the index.html file?

my dir is var/www/index.html

it doesnt allow me to delete it the index.html (permission denied) I can't move a file into it either. (permission denied)

View 7 Replies View Related

General :: Some Index Files Failed To Download, They Have Been Ignored, Or Old Ones Used Instead?

Oct 26, 2010

i am using ubuntu 8.04 and evrytime i run sudo apt-get update, the following takes place

netbase2@netbase2:~$ sudo apt-get update
Hit http://security.ubuntu.com intrepid-security Release.gpg
Ign http://security.ubuntu.com intrepid-security/main Translation-en_US

[code]...

View 1 Replies View Related

General :: Index An Ldap Database Without Shutting Down Or Stoping The Slapd?

Feb 26, 2010

I want to index my openLDAP database without shutting down or stopping by slapd. Is there a way to do that.

I also have master - slave architecture setuped for the replication.

View 4 Replies View Related

General :: Remove Index.html File Alone In Every Directory Via Bash Script

Jul 7, 2011

I want to remove the index.html file alone in the every directory via bash script, for example i have 5 directories in the path /var/www/vhost

anish
kumar
linux
question
friend

each directories have index.html file now i want to replace the index.html file alone from the other directory /var/tmp/vhosbak

anish
kumar
linux
question
friend

How we can do this using script?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved