Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: w1nn3r
  • Content: Threads
  • Order by date
  1. w1nn3r

    Searching files based on name

    Hello, I would like to write a script that can scan a specific location and it's subfolders for folders and/or files that are all numbers. I'm rather new to this so any help or guidance would be appreciated. Upon finding them I'd like the option to delete them, I'd also like the option of...
  2. w1nn3r

    process accounting

    I need a script that can be run as a cron, and can make sure that all users on the box arent using more than (x) number of processes with the exception of compilers and editors.
  3. w1nn3r

    Need help converting from MSSQL to MySQL

    I have a page that is written for MSSQL and need it to be for MySQL. $uwebregrq = "exec adduser '$uwebreg_un',$uwebreg_pwd,'$uwebreg_squestion',$uwebreg_sanswer, '$uwebreg_truename',$uwebreg_idnumber,'$uwebreg_email', '$uwebreg_mobilenumber','$uwebreg_province','$uwebreg_city'...
  4. w1nn3r

    Using kill to delete a file

    I'm using kill to delete files but I've got a large list of files I'm going to kill(delete) but some may not be there but I want to suppress the error that the file isnt there, or better yet if there was a way to check if (file.exe exists) { kill C:\Path\to\file.exe } Does anyone have any...
  5. w1nn3r

    Stopping a windows service

    Alright, I'm using vb6, and following this link: http://www.andreavb.com/tip060002.html I made a standard exe project, pasted all the items, made the button and pasted the ServiceStop "", "Schedule" line into the Command1_Click() part. but it simply doesnt work. anyone know if the code is...
  6. w1nn3r

    DNS server on FreeBSD that updates records based if host responds

    Hi, I'm a DNS newbie and need to know how I can go about setting up a DNS server that updates the addresses listed for a hostname based on if the host responds to ping or some other method. I would assume for bsd I'm stuck with BIND which is ok if it can do what I want. Any help would be greatly...
  7. w1nn3r

    using echo to write to a file

    I'm writing a bash script and want to be able to have "'s in the lines I write. If I use echo sometext "$variable" >> some.txt it removes the ""s. How can I get it to leave the parenthesis in the text?
  8. w1nn3r

    Ok, here's what I want to do but am

    Ok, here's what I want to do but am really lost on how to do it. I want to be able to run a PHP script to run commands on the webserver machine as a specific user. For example I've got a bash script in /home/user/file, I think it *might* be possible with the exec(); and sudo but I'm really...
  9. w1nn3r

    Ok, i've got a windows XP network,

    Ok, i've got a windows XP network, its a home office network..only 2 PC's and both running XP, and one has a logging program that logs to my documents, and i want to be able to take C:\Documents and Settings\<username>\My Documents\somelog.log and copy it to a network share folder as...
  10. w1nn3r

    Poll system for IPs

    How can i poll the system for IP's configured on the system, i could use ifconfig | grep inet but i was looking for a more clean option. Also would there be a way to only display IPs that dont have a certain port open, like netstat -an | grep :8080 so that it only show's IPs without port 8080...
  11. w1nn3r

    Ok, i need some help with this bash

    Ok, i need some help with this bash script. Everything runs great until i hit the if else statement then i get this, Do they want adminmod? yes ./install_cs: [: yes: integer expression expected ./install_cs: line 29: syntax error near unexpected token `fi' ./install_cs: line 29: ` fi' root@ds6...
  12. w1nn3r

    Taking Network+ test

    I want to take the Network+ test, but i dont want to pay for the classroom training, I can study for the test myself and with a few already certified friends. Is there anyplace that allows you to take the tests without the class, even something online would be fine. I'm in the Cedar Rapids, IA area.
  13. w1nn3r

    Program to listen on port...

    I need a program that would listen on a port, when someone connected, would prompt for a pass, then if the correct pass is given could run a bash script. This will be used on my Redhat or FreeBSD systems. Any help would be appreciated.
  14. w1nn3r

    New to AD, need help

    Heres my problem, Ive got Windows 2000 Advanced Server from a friend who bought it for a course he was taking. Since he passed the class he doesnt need it so he gave it to me(woohoo!) and my primary experiance is with unix/linux based servers/workstation's but i am really dying to learn how to...
  15. w1nn3r

    Postfix Problem

    Hello, Ive recently setup postfix with imapd and pop3d with squirrelmail. I also configured virtual domains so that someone@vdomain.org gets delivered to pop3dloginID which works ok. I can send mail to someone@vdomain.org and it accepts it and sends it to the correct local account, my problem...
  16. w1nn3r

    It seem's pretty simple but i need

    It seem's pretty simple but i need help writing an if else script that does ps x | grep process, then send's the resulting text to: read proccheck, then if [ $proccheck -eq $null ] then /path/to/process. I have some processes that keep dying and i want a script to keep checking every 10 minutes...
  17. w1nn3r

    Connection rate limiting

    Hello, How would i go about rate limiting the amount of connections/sec my server would take before it would stop allowing inet requests on that port/service. I've been getting hammered on my ident service and Most of the time its 300 requests within a 10 minute period. This could be a shell...
  18. w1nn3r

    Bandwidth consumption

    Hello, I was looking for some manner to moniter my total bandwidth consumption for a period of time(Monthly). Ive seen utilities like CPanel but i'm looking for something that is a standalone utility, that wont change or remove currently installed apps like WEBppliance will(It doesnt like...
  19. w1nn3r

    System Limits and problems with Open system files

    Ok, for the most part my server wasn't stressed much, it ran a large amount of bot's from the various users, but now i linked to a IRC network that is simply taxing my machine to a new degree and i'm having alot of problems with fds right now. So i wanted to change my limits a little and i used...
  20. w1nn3r

    Linux SOCKS proxy

    I have a small problem, I have a T1 line goin from our office in tx to our office in va. The users in VA have thier own LAN, IP range(Private), Subnet and our tx office has its own LAN, IP range(Private), and subnet, and in our austin office we have a internal webserver that we need a proxy...

Part and Inventory Search

Back
Top