Search Results

Search: Posts Made By: ninjaaron
1,750
Posted By ninjaaron
I tried something similar earlier, but I had the...
I tried something similar earlier, but I had the grep before the '>,' which must have broken it.

This worked... well, it almost worked. It needs a moment for the output to be there from te...
1,750
Posted By ninjaaron
The output is: address: ...
The output is:

address:
http://127.0.0.1:8888

The one with grep just outputs the address.

The problem is that the perl script doesn't exit (it maintians the server), so my bash script...
1,750
Posted By ninjaaron
Not doing it.
Not doing it.
1,750
Posted By ninjaaron
[SOLVED]need help piping the output from an app... uh, yeah...
Ok, so there is a perl script that runs as a server, on my local host. It tells me which port to use. I want to pipe that output into my browser so I can do the whole thing with a single command. ...
8,528
Posted By ninjaaron
Interesting So what do I use instead of cat...
Interesting

So what do I use instead of cat for a line like this?

foo=`cat config_file|grep var_name|cut -d'=' -f2`

As to the question posting my config file, I don't have a specific one in...
5,957
Posted By ninjaaron
That's excellent. I'm always happy to see better...
That's excellent. I'm always happy to see better ways of doing it. I just somehow had it in my head that it would be an if condition before I started, so it never occured to me to put the condition...
5,957
Posted By ninjaaron
Great to know! Thanks. ---------- Post...
Great to know! Thanks.

---------- Post updated at 05:26 PM ---------- Previous update was at 04:58 PM ----------



done, sir.:b:
8,528
Posted By ninjaaron
What's the best way to read config files?
(copied directly from my other thread about something else)

At the moment, I just use...

cat config_file|grep var_name|cut -d'=' -f2

... which is fine for what I've been doing, but I'm not...
2,078
Posted By ninjaaron
This thread is also relevant to my interests
This thread is also relevant to my interests
5,957
Posted By ninjaaron
This is probably another thread, but what's the...
This is probably another thread, but what's the best way to do config
files. At the moment, I just use...

cat config_file|grep var_name|cut -d'=' -f2

... which is fine for what I've been...
5,957
Posted By ninjaaron
Hmmm... this "at" looks a little complicated, but...
Hmmm... this "at" looks a little complicated, but useful. I'll have to play with it a little.

On first glance, it looks like the syntax is better suited to scripts than terminal. Is that...
5,957
Posted By ninjaaron
What's DoW-varient?
What's DoW-varient?
5,957
Posted By ninjaaron
Is this the "right" way to make an alarm clock?
I'm pretty unsophisticated in my scripting. I never followed a method
to learn, I just use google when I want to figure out how to use a
command or preform a certain function (and most of the...
1,816
Posted By ninjaaron
None of those signals seemed to work. INT and...
None of those signals seemed to work. INT and QUIT did nothing at all. TERM, HUP and USR1 closed the program, but did not allow it to update its config file.

I think I'm going to contact the...
1,816
Posted By ninjaaron
Don't suppose that works with pkill, does it? ...
Don't suppose that works with pkill, does it?

---------- Post updated at 11:04 PM ---------- Previous update was at 10:11 PM ----------

Hmm... I see it does work with pkill, but it's not giving...
1,816
Posted By ninjaaron
Is there a command to close a program with dump?
I'm running into some problems using pkill in my scripts. I'm using a program that needs to dump.
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 10:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy