General :: Simulate Ack By Using Grep With The Right Combination Of Options?

Aug 25, 2011

I have ack-grep installed on my local machine, and find it indispensable for quickly 'acking' through a codebase when debugging. However, on my cheap shared hosting, there is no ack-grep. One of the testimonials on betterthangrep.com mentions a

Rube Goldberg mess of find/grep/xargs which sounds like what I need, but coming from the opposite direction.

View 2 Replies


ADVERTISEMENT

Ubuntu :: Regex In Grep - Match With Any Character Combination

Dec 10, 2010

regex in grep? I need to match ANYTHING in the following with any character combination (something like * in findstr in C): grep "Delivery of nonspam" /var/log/mail.log | grep "to [URL]"

View 1 Replies View Related

General :: Use Grep To Search For Multiple Options?

May 20, 2010

How can I use grep to search for line with either 'res' or 'rep'? i try "grep -e res|rep" or gre -e "rep|rep" but that does not work.

View 3 Replies View Related

General :: Alternate Key For Character Like Alt+65 Combination

Apr 19, 2011

I have a keyboard with two faulty buttons, and I don't want to through away my keyboard just for two buttons.I have linux and windows, In DOS and Windows I somehow managed to get away with this problem by typing Alt+65 (for letter 'A') and so on.and in Linux while in GUI I take use of on screen keyboard. But problem starts with when I work in run level 3.

View 3 Replies View Related

General :: Cannot Find The Right Combination For The Partition Designation?

Jul 11, 2010

Computer is Gateway Netbook with Win7. I want to install Ubuntu ,but when I go to the next window after the keyboard section, I cannot find the right combination for the partition designation. I click install on a 50gb partition I made for the install. The page asks for mount points and says no root file system is defined. I put in EXT2 and a / , page told me I should have a section for a swap file. what is the correct information for these boxes? I am installing Ubuntu to learn the linux sys and I certainly don't know inough about it to come up with these commands yet.

View 4 Replies View Related

General :: Resizing Subwindows In Eclipse Xming Combination?

Jun 22, 2011

I'm running Eclipse on a Linux server and I'm displaying it locally through xwindow forwarding using xming.Whenever I create something like a subwindow (like opening project properties or the Project Explorer when when pulled out of the main window), these windows are not resizable. When running natively on Linux, the resize is possible without a problem.

View 1 Replies View Related

General :: Write A Shell Script To Simulate The Built-in Commands?

Nov 7, 2010

i was trying to figure out a way to write my own linux commands.. in fact i wanted to write a shell script to simulate an already existed linux commands like 'cd','ls' and'adduser'i just dont know the language of scriptting and even doesnt know the steps to make a script

View 3 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

Ubuntu Installation :: Installer Options - Can't Select Any Of The Menu Options Except For Boot From First Hard Drive

Mar 19, 2010

So I have the burned ubuntu CD, and I'm attempting to install it on a system that has one HDD with XP/Vista on it, and another that is completely formatted and unpartitioned. However, when I boot to the ubuntu CD, I can use the menus from the bottom, and select the language when initially prompted, but I can't select any of the menu options except for boot from first hard drive.

View 1 Replies View Related

Fedora :: How To Simulate A Webcam

Mar 27, 2010

I do not have a webcam yet, but would like to set certain video files I have to be played as my 'streaming video content' from a 'virtual' webcam.

View 6 Replies View Related

Fedora :: New Update - Could Not Do Simulate

Jun 26, 2010

Could not do simulate: nautilus-sendto-2.28.4-1.fc13.i686 requires libedataserver-1.2.so.11
gnome-panel-2.30.0-1.fc13.i686 requires libedataserver-1.2.so.11
empathy-2.30.1.1-1.fc13.i686 requires libedataserver-1.2.so.11 : Success - empty transaction

View 14 Replies View Related

General :: How To Use Grep

Apr 7, 2011

I need to find file from ls - l by using grep and certain regexp.

In particular I need greep to see certain file ending, like let's say .txt but only using regex.

So it should be something like

ls -l | grep '^.+.txt$'

But that doesn't seem to work for me.

View 1 Replies View Related

Fedora :: Add / Remove Software - Could Not Do Simulate

Sep 2, 2010

How to get rid of the following error I've been receiving from Yum. I'm fairly new to Fedora. The following message appears when Add/Remove Software is launched. It also pops up periodically in the notification window.

could not do simulate: Traceback (most recent call last):
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 3270, in __init__
self.repos.confirm_func = self._repo_gpg_confirm
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 823, in <lambda>
repos = property(fget=lambda self: self._getRepos(),
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 551, in _getRepos
prerepoconf = self.prerepoconf
AttributeError: 'PackageKitYumBase' object has no attribute 'prerepoconf'

View 1 Replies View Related

Networking :: Simulate Mobile Agents With NS2?

Jan 7, 2011

how to simulate mobile agents with NS2 (docs , code ......)

View 2 Replies View Related

Software :: Simulate Serial Device With Pty's ?

Sep 21, 2009

I wrote software which access and reads a serial device. I would like to test this software on my computer without loop-wiring or without a second computer.

How could I use pty's to simulate a serial device?

Actually I would like to temporary replace the /dev/ttyS1 file by one end of the pty. How could I do this? Is there a command to create a pty pair?

View 4 Replies View Related

Programming :: Simulate Unix Kernel In C++ ?

Jun 2, 2010

How simulate unix kernel in c++..or give me a link....

View 2 Replies View Related

OpenSUSE Install :: Key Combination To Shut Down?

Aug 1, 2010

Is there a combination of key-strokes to shut down 11.3?

View 4 Replies View Related

Ubuntu :: Frozen No Key Combination Work?

Feb 27, 2011

I use Ubuntu through Wubi, and none of the key combinations in the Wubi Guide ever do anything...I don't have a SYSRQ key on my laptop so I can't even do most of them

how do I safely reboot Ubuntu when it freezes (which is often)? Trying to be proactive.

View 9 Replies View Related

Ubuntu :: Add New Keyboard Key Combination For A Function Like Alt + F4?

Mar 18, 2011

I would like do add a new keyboard key combination for a function like Alt + F4.
for example shift + control + s.
Up to now, i was successful with exchanging the function Alt + F4.
But I don't like to exchange, because I need Alt + f4 and shift + control + s for the function close window at the same time.

So how can I add a new keyboard combination without to exchange?

View 9 Replies View Related

Ubuntu Installation :: ALT+F2 Combination Does Not Work On 11.04?

Apr 30, 2011

Classic and Unity modes.ALT+F2 combination does not work on 11.04. Could not fix minimize, maximize, close buttons. I tried metacity --replace and from gconf-editor.

View 1 Replies View Related

General :: GREP On Words With 2 Or More Z's?

Dec 21, 2010

I need to grep a dictionary file.Only the words that contain 2 or more z's and only 1 b needs to be listed.

View 1 Replies View Related

General :: Grep Not Working?

Jul 15, 2010

I am trying to grep for A records in a bind zone file but I am failing.I am trying: grep "s+As+" db.domain.comBut there are no results.

View 12 Replies View Related

General :: How To GREP String

Jul 29, 2010

Today, i checking my error log of Apache. I have look many IP brute scan URLo, i collect, export that to ip.txt and i need grep IP with connection >=8I don't know command to solve that. Example ip.txtQuote:

101 210.13.73.30
161 58.210.77.98
164 115.168.71.87

[code]....

View 2 Replies View Related

General :: Use Grep, Cut, Or Awk To Get An IP From A File?

Feb 3, 2010

I have a file which contains a line like this:SERVER=10.205.110.19 How can I cut out the IP and assign it to a variable?

View 4 Replies View Related

General :: Using Grep And Expressions?

Mar 28, 2010

How can I use grep expressions so that i can find strings like the ones bellow:

New York, NY
Virginia, VA
Oregon, OR

As you can see each city starts with capital letter then it follows up with a comma, and then with the Abbreviation of the city. I used :

Code: grep -w '[A-Z].*[a-z][,][' '][A-Z][A-Z]' filename But i get no results.

View 2 Replies View Related

General :: Using Grep With -r Option

Feb 19, 2011

I have on my desktop around five java files. I also created a java file in directory Viti, located in desktop.

Since all java files contain string "class", I practice my usage of grep with the following:

And this works fine. However, when I type the following:

I expect to be shown the file that's located in my Viti directory, too, but it won't show it.

View 4 Replies View Related

General :: Using Grep With Wildcards?

Jul 3, 2010

I searched and I found a few threads on this but none answered my question really.I'm using:

Code:
curl www.foo.com | grep '<h2>.*.</h2>'
Basically I want to extract all instances of
Code:
<h2>Blah blah blah</h2>

from the page source, but it's not giving me that, it gives me <h2>.. followed by a loads of other stuff that I don't want. I haven't used wildcards with grep before so I don't really know whether I'm doing it right or not.

View 5 Replies View Related

Debian Multimedia :: How To Simulate The Enter Key In X Windows

Dec 16, 2014

When I drink tea, the water splashed on my keyboard. It didn't cause any problems until a few mins ago. Now my Enter and right hand side shift key don't function any more (The new line in this text is copied from other thread).

So I would like to know how can I simulate an enter key press so that e.g. a command can be executed in terminal. Because I have some source code uncommitted, I want them at least get committed first.

View 2 Replies View Related

Debian Programming :: How To Simulate Script Execution

Aug 7, 2015

I'm trying to save the output of the script I wanna run but for some reason I cant manage to do it with "script.sh > Output_4.txt"

The thing is that the script was already run and it extracted some directories so when I try to run it again (to save the log to a Output_4.txt) bash says (see screen-capture) and of course the log's empty!!!!

View 2 Replies View Related

Fedora Servers :: Simulate A VH Through A Localhost With A Dynamic IP?

Nov 16, 2010

For backup and pre-functionality purposes, I need to simulate a VirtualHost in my Fedora (14) machine. I found some interesting links to carry out that process but with an IP fix.So, how can I simulate a VH through a localhost with a dynamic IP?

View 2 Replies View Related







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