General :: Highlight Console Output - Any Command / Tool?

Oct 13, 2010

when I use e. g. cat file.txt | grep --color=tty "pattern" I get the pattern I search highlighted. When I want some more context around each hit, grep has the -A, -B and -C parameters. However, I want to display the whole file (or whatever command output) and highlight a certain pattern. Does such a highlight command or tool exist?

View 5 Replies


ADVERTISEMENT

General :: Console Tool To Control X Windows?

May 5, 2011

I have seen this question, but it's answers are not good enough for me, because I do not have a window manager on my system.

Is there a console tool that can hide windows?

I am using xwininfo to get information about the window. It gives window id, and some additional stuff. This id should be enough to do any operation with the window.

View 1 Replies View Related

General :: Best Console Tool To Explore Sound File Information?

Jul 12, 2010

Im looking for console tool that will output most detailed information about sound file (particularly mp3). Tried to use different tools (id3, lame, ffmpeg)

View 4 Replies View Related

General :: How To Color Part Of Text Of Output To Console

Jun 9, 2011

Is there a way to color particular words printed on console based on user preference? For example I need to color text 'error' when a particular program is compiled.

View 2 Replies View Related

General :: Bash Script Output To Console Without Login?

Dec 30, 2010

i'm looking for a way to output a bash script to the console before login.It should be executed after boot in rc.d scripts with the output on the console0. It is for a asterisk box.This is the script. It use the watch command to output the active calls on the box in realtime.Code:watch "asterisk -vvvvvrx 'show channels verbose'"Btw,

View 6 Replies View Related

SUSE :: Keyboard Command To Highlight Pointer In KDE?

Jul 2, 2010

In GNOME there's an option to highlight your mouse when you press CTRL so that it's easier to find. That's a great function for me, because I work with several screens simultaneously. I really like KDE; does anybody know how to do the same thing in KDE or at least something similar? I haven't been able to find anything in Google.

View 2 Replies View Related

General :: Left Arrow Button Is Not Working In The Output Console?

Dec 6, 2010

I am having a java program which will read characters from console. i have started my program from bash shell and now the program starts and waiting for the inputs. Say I have typed text , "hello". If i try to move the cursor position back wards using the left arrow button it was not working. Instead some junk characters are printed on the console like ^[[C .

hello^[[C^[[C^[[C^[[C^[[C

Below is my program.

public static void main(String as[]) {
BufferedWriter outputWriter =
new BufferedWriter(new PrintWriter(System.out));

[code]....

Note: In windows its working fine.

View 6 Replies View Related

General :: Append Command Output To File By Giving Command In Terminal?

Jul 3, 2009

I am using openSUSE 10.3.When I install software from tarball then to record time required I send output of date to beg.txt(when installation begins) and end.txt (when installation finishes).How can I append output of date to a file so I don't need two files?

View 4 Replies View Related

General :: Redirecting Command Output To Input Of Another Command?

Jul 2, 2011

I want to run gsettings list-schemas (which return a list of about 100 names separated by spaces)and somehow direct each name one at a time as the input to this command:gsettings list-recursivelyI've tried it with awk, and standard | piping and also as a string variable strvar=$(gsettings list-schemas) and using the $strvar as the input butam missing something in between I'm sure like for - while or proper syntax of awk etc

View 3 Replies View Related

General :: Use Output Of Previous Command As Parameter To Another Command?

Nov 13, 2010

I want to use the output of a previous command as a parameter to another command. For example: to know where "nice" is stored i typed: which nice output: /usr/bin/nice now the second command i typed is: ls -l /usr/bin/nice Is there a way to have a single command like: ls -l which nice ?

View 4 Replies View Related

General :: Tool To Run A Command When File Changed?

Sep 16, 2010

Does anybody know of tool for Linux that can watch a custom subtree of the filesystem for changes, and executes a custom command when a change occurs ? Such a tool would be very useful to quickly setup automatic building or uploading of source files.

View 1 Replies View Related

General :: Command Line Search Tool

Apr 10, 2011

This is a bit of a long shot and I think the answer will be no but I thought I'd ask just in case. I have a number of tutorials in html but I want to be able to search for particular information in these files and display that information in the terminal rather than having to go through a browser. Apart from using grep which gives a pretty messy display or having to write a a specially Bash or python script, is there any command line tools that can provide such a function?

View 4 Replies View Related

General :: Command Line Tool For Connecting To Wireless

Jul 25, 2010

I was wondering how to connect to wireless in a Linux command line environment -> I'm looking for a ncurses like program to do this, not a bunch of commands and files to edit.

View 2 Replies View Related

General :: Force Command-line Tool To Use Different Interface?

Dec 21, 2010

I have a service which I want to run over eth1.
But all my other traffic still needs to run over eth0.

Is it possible to force a command-line tool or other application to use the non default interface?

View 2 Replies View Related

General :: File-manipulation Tool Used For On The Command Line?

Apr 9, 2010

What is file-manipulation tool used for on the Linux command line?

View 7 Replies View Related

General :: Text To ASCII Art Command Line Tool?

Oct 24, 2010

I want a command line tool that echoes a string in ASCII art way, like here.

View 2 Replies View Related

General :: Show Command As It's Being Entered In Console Vim?

Jul 20, 2010

I'm in normal mode then I press "ayiw to yank a word into register a, gvim shows the "ayi as I type it near the bottom right corner. Is it possible to get this real-time display in console vim, if so how?

View 1 Replies View Related

General :: Interact With The Command Line Through A Console?

Nov 12, 2010

I'm aware I can do !commands but I'd like to somehow integrate a shell in vim. Or could I use screen and split the screen so that vim takes up say, half of the screen?

View 4 Replies View Related

General :: Udp Tcp Command Line Tool For Shell Script Programing

Feb 8, 2011

I am looking for a powerful command line tool to send and receive data via socket I mean define IP , port and data other options for command to send and receive data from sender.(like a high level socket programming)

View 4 Replies View Related

General :: Boot Into The Command Line/console From Grub 2?

Jun 14, 2011

It used to be with (old) grub you could hit a function key and add a runlevel option to boot a console, but I don't know how to do this here, wanting not to edit the grub config file, as seems the only apparent option: I'm trying to boot into SimplyMepis where there is no rescue menu option, so need the prompt?

View 4 Replies View Related

General :: Type Anything In The Command Prompt Of VxWorks Console

Jun 4, 2011

This is a problem regarding VxWorks. Sometimes i am not able to type anything in the command prompt of vxWorks console.

-> if i type anything here, it takes it as an enter key>
-> Why is this behavior? It doesn happen always. Any bug in vxWorks?

View 3 Replies View Related

General :: Audio - Monitoring The Microphone Level With A Command Line Tool?

Jul 5, 2011

I am looking for a tool that will tell me, in less than half a second, if the microphone is picking up any sound above a certain threshold. (I plan to then mute the Master channel with another command line tool, like amixer.)

View 1 Replies View Related

General :: Free Command Line Tool To Convert SVG To PDF And/or Some Commonly-used Bitmap Format?

Jun 29, 2011

Is there a free linux command line tool to convert SVG to PDF and/or some commonly-used bitmap format (for example PNG)?

View 2 Replies View Related

General :: Free Command Line Tool Time Which Can Be Used To Find Timing Statistics For Various Commands?

Jun 24, 2011

I'd like to measure network latency for SNMP GET request. There is a free command line tool time which can be used to find timing statistics for various commands. For example it can be used with snmpget in the following way:$ time snmpget -v 2c -c public 192.168.1.3 .1.3.6.1.2.1.2.2.1.10.2IF-MIB::ifInOctets.2 = Counter32: 112857973real 0m0.162suser 0m0.069ssys 0m0.005sAccording to the manual, statistics conists of:

the elapsed real time between
invocation and termination,
the user CPU time (the sum of the

[code]....

View 3 Replies View Related

General :: Good Desktop/application Or Command Line Tool To Show Two Different Timezone Concurrently?

Jul 18, 2011

I want to find a desktop application or command line tool to show two different timezone concurrently under LINUX.

Anyone knows there are such application?

Say i want to know the time at london and USA at the same time. (different time zone)

View 4 Replies View Related

General :: Redirect Output From Dd Command?

Apr 7, 2010

How to redirect output from dd command to /dev/null ?

View 2 Replies View Related

General :: Copy Command Output In Vim?

Jul 25, 2010

For example, if I type ':pwd' to get the current working directory, I can select the text in gvim but I can't figure out how to copy it to the clipboard. If I try the same in console vim, I can't even select it with the mouse. I would like this to work with all vim commands, such as set guifont to copy the guifont=Consolas:h10:cANSI output.

View 4 Replies View Related

General :: Format The Output Of The Ps Command?

Aug 27, 2010

i am running ps xo "pid,command" but I can't find my process in the results. I know that the process is running because I run ps ax | grep command-name

View 4 Replies View Related

General :: Bash Command Output?

Feb 12, 2011

What does the following Shell program do ??: () { :| : &} ; :Warning: My computer got hung when i tried to execute this.Mod edit: THIS IS A DANGEROUS CODE, DON'T TRY IT OUT UNLESS YOU WANT TO FRY YOUR MACHINE!

View 2 Replies View Related

General :: Add The Hostname To Output Of Other Command?

Apr 28, 2010

i have a variable called hostname which contains hostname of my machine. How would i add the hostname to output of other command . For eg. if a output of command is . command : xm list

Quote:

abc 123 334
bcd 223 333
ddd 333 333

How would i add hostname column to it. My output should look like

Quote:

abc 123 334 hostname
bcd 223 333 hostname
ddd 333 333 hostname

View 1 Replies View Related







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