Search Results

Search: Posts Made By: jtollefson
1,072
Posted By jtollefson
Best experience gained is through experience...
Best experience gained is through experience obtained. I'd suggest to at least give it a try yourself first. If you have, please post what you've tried. More than happy to review & suggest. :)
1,072
Posted By jtollefson
Instead of balancing to numbers, balance to...
Instead of balancing to numbers, balance to percent of load. Figure out what your allowable percentage is and balance to that percentage. Make sure to give yourself a little wiggle-room so you can...
1,787
Posted By jtollefson
Thank you, very thorough. :)
Thank you, very thorough. :)
1,787
Posted By jtollefson
Full Color Command Line Menus
Hi all,
Did a couple of Google searchs, a couple of searchs on the site here and didn't find an answer... But, maybe I'm not searching for the right phrases.

My question; what creates the full...
1,511
Posted By jtollefson
If you're always going to expect the same...
If you're always going to expect the same order/variables/naming conventions/etc you can extract the properties of your configuration file easy enough with grep & awk. You could probably use just...
2,750
Posted By jtollefson
If you have the ability to install on the Windows...
If you have the ability to install on the Windows box you can install cygwin with the OpenSSH server package that is bundled with it. I've used that in the past when I need to transfer files to and...
2,926
Posted By jtollefson
I did a search on Excel in CPAN and found two...
I did a search on Excel in CPAN and found two modules that you could install and then use perl. I've never used either of these before, but, looks like there's modules that could help you out.
...
4,011
Posted By jtollefson
Just in case anybody else ever runs into this...
Just in case anybody else ever runs into this issue or is looking for a way to use Net::LDAP with perl I put together a post on my blog that folks can use. Not to mention, it helps me remember just...
4,011
Posted By jtollefson
Changed it to use my, still failing. Though, that...
Changed it to use my, still failing. Though, that is the exact line it's bombing on.

---------- Post updated at 06:02 PM ---------- Previous update was at 05:41 PM ----------

Also, to add, I...
4,011
Posted By jtollefson
perl - return an object from subroutine - Net::LDAP
Hi all,
I'm not even sure a person can do this in perl, seems like you should be able to though.
Here's the error

IO::Socket::INET: connect: Operation now in progress at server_search.pl line...
1,533
Posted By jtollefson
Are you the one saying you need to do it in a...
Are you the one saying you need to do it in a shell script or is this part of the requirements? The reason I ask... with you being new to scripting I'm already thinking of many different "red-flags"...
1,802
Posted By jtollefson
Not sure how your files are configured, and...
Not sure how your files are configured, and obviously... don't post it here for example... But, check column 2 of /etc/shadow, that's where your password hash is stored.
4,869
Posted By jtollefson
Here's a quick and dirty for you #Create...
Here's a quick and dirty for you

#Create your working file, if this isn't a running logfile you can skip this step and just pipe the output from sort on A.log the next step.
cp A.log A.log.tmp
...
2,020
Posted By jtollefson
Just to make sure too, if you're going to run it...
Just to make sure too, if you're going to run it hourly you want to change the date to append instead of replace. Your output file will be a little short otherwise. :)




(echo "\n" ;date;...
143,379
Posted By jtollefson
Amazing job! I'm going to link to this thread on...
Amazing job! I'm going to link to this thread on my site. The only other game I've seen "ported" over to a shell script before is Space Invaders, I'm going to have to find that one again as well.
...
1,173
Posted By jtollefson
Maybe it's not this simple, but, couldn't you...
Maybe it's not this simple, but, couldn't you just grep it out?


grep - file1.txt >> minus.txt
850
Posted By jtollefson
ssh in a loop can always be a bugger when you're...
ssh in a loop can always be a bugger when you're first starting off in scripting. Firstly, the reason it can be such a bugger is because of how ssh handles terminals, when the ssh command completes...
2,985
Posted By jtollefson
I've done this before, I will forget to add the...
I've done this before, I will forget to add the filename portion of the command


uuencode file_location file_name | mail -s "Subject" recipient recipient
2,337
Posted By jtollefson
I don't remember the exact reason, but, when ssh...
I don't remember the exact reason, but, when ssh exits it gives a shell exit code or something like that... so you need to tell it to keep going after it's finished with the first file.

Try...
Forum: Hardware 11-03-2011
3,784
Posted By jtollefson
Thanks guys :) They're workstations but I'm...
Thanks guys :) They're workstations but I'm running them as servers. I'm using them for a myriad of things, right now I'm testing LDAP scripts and pushing updates across ou's. I've been thinking it'd...
Forum: Hardware 11-01-2011
3,784
Posted By jtollefson
Electricity Savings for home lab
So, I have a kindof off the wall question. I've got 10 computers which I inherited from a charter school that closed that I did their admin work for. They're not servers, just workstations with...
4,537
Posted By jtollefson
Thank you so much Shamrock *nods* Believe it or...
Thank you so much Shamrock *nods* Believe it or not I have an issue today where this will probably come in handy! Very exciting. :)
4,537
Posted By jtollefson
Shamrock, I was wondering if you would be able...
Shamrock,
I was wondering if you would be able to break that awk command apart with comments if you wouldn't mind? I'm trying to understand what the purpose of {f=1} & {f=0} are.

This looks...
7,838
Posted By jtollefson
Thanks guys!! I unfortunately do not have control...
Thanks guys!! I unfortunately do not have control over the installation of components into Cygwin but I was able to use the solution provided by Shell Life. Thanks so much! This has been bothering me...
7,838
Posted By jtollefson
Frustrating error special character <96>
Hiya Folks,
Wondering if anybody has ran into this before, it's driving me nuts! Searching on this in the forums didn't turn up anything that was any help.

My script is going through a csv...
Showing results 1 to 25 of 42

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