Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: glev2005
1,503
Posted By glev2005
use $1..$3 where?
use $1..$3 where?
1,503
Posted By glev2005
I'm getting an error like umatched ], what are...
I'm getting an error like umatched ], what are you doing with that field separator? I don't quite understand it. My awk does accept a regex -F but it didnt like yours. you have "[][:]" which gives...
1,503
Posted By glev2005
If you really must see my attempt, I tried it...
If you really must see my attempt, I tried it first in bash, but I have been working all day and am already a little burnt.


#!/bin/bash
set count=0
awk -F':' '{print $2}' inputfile|grep -Ev...
Forum: Web Development 08-23-2013
1,070
Posted By glev2005
Your being a bit unclear. What does this mean "...
Your being a bit unclear. What does this mean " while trying to access with the complete url its getting opened" ? Are you using virtual hosts? Post your configuration.
1,503
Posted By glev2005
Interesting awk/Perl/sed parsing challenge
I have a log with entries like:


out/target/product/imx53_smd/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/bindings/V8HTMLVideoElement.cpp
[22:14:58]: target thumb C++:...
5,820
Posted By glev2005
@Corona688 I am familiar with disown, but what is...
@Corona688 I am familiar with disown, but what is the point of nohup if disown is still needed?
5,820
Posted By glev2005
What is the content in dslstat.out ?
What is the content in dslstat.out ?
2,528
Posted By glev2005
Puppet only supports some Ruby versions, see here...
Puppet only supports some Ruby versions, see here https://ask.puppetlabs.com/question/1164/cant-install-ruby-error-message/
21,613
Posted By glev2005
It is an entire field, delimited by space. ...
It is an entire field, delimited by space. Yoda's most recent answer worked.
21,613
Posted By glev2005
Why not just do awk '{ for(i=0;i<=NF;i++) {...
Why not just do awk '{ for(i=0;i<=NF;i++) { if($i !~ /\/mnt\/svn/) {print $i} }'
21,613
Posted By glev2005
Perfect! Would you mind explaining this code a...
Perfect! Would you mind explaining this code a bit s=s ? s OFS $i : $i } print s; s=""
21,613
Posted By glev2005
Ah, yes gsub.. I actually knew that one! I was...
Ah, yes gsub.. I actually knew that one! I was wondering if there is a way to do something more along the lines of awk ' for ( i=0; i<NF; i ++) { if $i is not /pattern/ }' Please excuse the...
21,613
Posted By glev2005
That seems to cause the entire line which...
That seems to cause the entire line which contains the pattern to be excluded I want all lines to be printed but the pattern to be removed, equivalent to sed 's|/mnt/svn||g'
21,613
Posted By glev2005
awk print all fields except matching regex
grep -v will exclude matching lines, but I want something that will print all lines but exclude a matching field. The pattern that I want excluded is '/mnt/svn'

If there is a better solution than...
Forum: UNIX and Linux Applications 05-02-2013
1,191
Posted By glev2005
SVN repo issues
We have about 5 different SVN repositories running on SVN 1.6.11 on top of CentOS Linux 6.3. I was asked to migrate our SVN server to a new server last week. We have a cron job that does a Full...
Forum: Red Hat 03-18-2013
10,922
Posted By glev2005
Centos 6.3 HAproxy not logging
I have configured rsyslog (CentOS 6.3) adding the -c 0 -r options and the line local2.* /var/log/haproxy.log and restarted rsyslog but all that happens is an haproxy.log gets created. It is never...
Forum: Web Development 03-14-2013
2,582
Posted By glev2005
This is a guess but try putting your alias and...
This is a guess but try putting your alias and images directory directive before your proxypass stuff.
Forum: Web Development 03-14-2013
4,160
Posted By glev2005
Http connect to proxy to websockets
I am having a hard time with this one. We have a websocket server listening on port 80 at myserver.com/wsDemo?ID=12. We need to test a client program by connecting it to this server through a proxy....
1,167
Posted By glev2005
Procedural nature of shell scripts
#!/bin/bash
#this is script1
sleep 30


And

#!/bin/bash
#this is script 2
/path/to/script1.sh
echo im done


Running script 2 will give a 30 second pause and then echo Im done to the...
14,395
Posted By glev2005
Websockets proxy on CentOS Linux?
I need to setup a proxy that will sit in front of a websockets server and proxy websockets communication both to and from the server. There will only be one specific client trying to access this...
5,817
Posted By glev2005
What does this diff output mean?
35d34
<


What does that mean in diff?
4,128
Posted By glev2005
Why doesn't motd show up when I su to root?
When I do sudo -i isn't that like creating a root login shell session? Why isn't motd displayed? motd=message of the day.

---------- Post updated at 09:54 AM ---------- Previous update was at...
7,019
Posted By glev2005
I apologize, this was a poor question. I should...
I apologize, this was a poor question. I should just move the line out of the loop, there is no better solution. Thank you for all of your help.
7,019
Posted By glev2005
if [ $2 ] I am using this to mean test if $2...
if [ $2 ] I am using this to mean test if $2 has a value
7,019
Posted By glev2005
Do something only that last iteration of loop
I have a script with logic like:


my_function()
{
if [ $2 ]
mkdir $1
mkdir mydir_${2}
else
do something else
fi
}

read in list of items
while read list
do
my_function $list `date`...
Showing results 1 to 25 of 275

 

Featured Tech Videos

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