Search Results

Search: Posts Made By: abacus
2,778
Posted By abacus
@franklin52 Thanks for the explanation....
@franklin52

Thanks for the explanation. However for someone learning scripting in general. Where would that information be published? I checked the man pages on OSX and RHEL for "cut". I do not...
2,778
Posted By abacus
@rcdwayx, I have checked man cut and have...
@rcdwayx,


I have checked man cut and have not located what you have done with the trailing dash after f2. Could you please elaborate on this? Or point me to the doc that contains this type of...
12,920
Posted By abacus
Append Text To Remote Servers File Via SSH
Gentleman & Ladies,

Please make me feel like and novice and explain why this is not working?

I am attempting to ssh to a remote server via ssh and keys. I want to inject a file on the remote...
3,760
Posted By abacus
[solved]
Thanks guys,

I now have to spend the rest of the weekend learning all your great code.

Thanks again to all who assisted.

Abacus
3,760
Posted By abacus
[solved]
Holy Crap,
Amazing. I hate to ask you. However I have been studying awk and I will try to look this up. However can you please break this down.

I am thankful if you choose not too.
...
3,760
Posted By abacus
awk, sed, perl assistance in outputting formatted file
Hello,

Please advise. Scoured this site, as well as google for answers. However if you do not know what to search for, it's a bit hard to find answers.


INPUT:
ACTASS=
802
BASECOS=
279...
Forum: What is on Your Mind? 11-17-2009
43,293
Posted By abacus
Currently Employed as a UNIX/LINUX systems...
Currently Employed as a UNIX/LINUX systems admin. Working for a software company that hosts 1000's 0f USA based NEWS web sites. I have been a systems admin for 5 years.

All servers are running...
3,113
Posted By abacus
[solved]
Thanks to ahmad.diab, scruitinizer and jsmithstl. The code examples that you have all provided have done the trick.

My friend and I are very satisfied with the level of professionalism found on...
3,113
Posted By abacus
Hmm, OSX Snow Leopard tested. ...
Hmm,
OSX Snow Leopard tested.


machine1:~ jasonralph$ awk '/^>/{if(s==1)t++;s=1;next} /J/{s=0} END{if(s==1)t++;print "J-less sequences: "t}' infile
J-less sequences:
c-machine1:~ jasonralph$...
3,113
Posted By abacus
Yes, I think he just needs a count of the...
Yes,

I think he just needs a count of the sequences that do not contain the letter J. It seems a bit more simpler now.

So a script to read in each sequence and print how many sequences with...
3,113
Posted By abacus
Thank you so much for your effort and ability. I...
Thank you so much for your effort and ability. I will show my friend and be sure to reference you for your time.

I will let you know the out come.

THanks,


Abacus

---------- Post...
3,113
Posted By abacus
Yes, This sounds correct. My friends...
Yes,

This sounds correct.

My friends first language is not english... As you can see.

Abacus
3,113
Posted By abacus
I had a tough time understanding the question as...
I had a tough time understanding the question as well. However I will assume multiple.

Thanks for you reply. I truly appreciate your time.

Abacus
3,113
Posted By abacus
Awk Assistance
Hello A friend of mine posted this on another site that I follow. It is to advanced for me to figure out. If solved I will give credit where credit is due:
NOTE: Does not have to be AWK. Any...
6,403
Posted By abacus
Convert Sed command to perl command
Hello,
Can any perl experts help me convert my sed string to perl. I am unsuccessful with this.

I have to remove this string from html files OAS_AD('Top');

I have come up with this. ...
3,078
Posted By abacus
Why Not, Use the find command. This is a...
Why Not,

Use the find command. This is a very powerful command. Please use this to make sure you have the right files before running the second command. Obviously replace "folders" with the...
1,848
Posted By abacus
@TonyLawrence I have visited your site...
@TonyLawrence

I have visited your site before. However I missed this great page. I will find these scripts a wonderful home in our production environment.

Thanks,

Abacus
7,952
Posted By abacus
Operator Error, As in my fault. Everything...
Operator Error,

As in my fault. Everything is working perfect. Thanks for your time in this matter.

Abacus
7,952
Posted By abacus
Thanks fo your time. Upon executing It...
Thanks fo your time.

Upon executing It appeared that it would work. I was asked to overwrite file. However no dice. Still has the email address that I wanted to remove. Also is there a way to...
7,952
Posted By abacus
sed edit in place -i issues
Hello,

I am attempting to create a command that I can eventually put into a loop so I can edit 1file on many servers. I would like to edit the file in place with sed -i. If not I will take any...
15,146
Posted By abacus
Hello, @danmero @franklin52 From awk...
Hello,
@danmero
@franklin52

From awk manpage:

NF number of fields in the current record



I am not seeing any where in the man page that $NF is value of last field. I am reading...
15,146
Posted By abacus
Amazing, I will try to explain. Please...
Amazing,

I will try to explain. Please correct me if I am wrong.

1. If the number of fields in the current record are less than 99.

2. Pass command only if first command exits with 0.
...
15,146
Posted By abacus
Awk , Sed Print last 4 numeric characters
Hello All,
I have been searching and trying this for a bit now. Can use some assistance.

Large 5000 line flat file.
bash, rhel5

Input File Sinppet:

Fri Oct 30 09:24:02 EDT 2009 -- 1030...
6,598
Posted By abacus
Hello, Document root on OSX is as follows: ...
Hello,

Document root on OSX is as follows:

From the httpd.conf file located at:


/etc/apache2/httpd.conf



# DocumentRoot: The directory out of which you will serve your
#...
Showing results 1 to 24 of 24

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