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 Andrzejek 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: babeo
  • Order by date
  1. babeo

    Chop the file into small pieces

    Hi bansalhimanshu Ok, for quick test, I keep everything, just add a variable and change the line: if [ $(($LINECOUNTER % $NUMBEROFLINES)) -eq "0" ] to CHECKVALUE="A" .... if [ $(($LINECOUNTER % $NUMBEROFLINES)) -eq "0" ] && [ $(($CHECKVALUE = "END")) ] I get the below errors: - the file just...
  2. babeo

    Chop the file into small pieces

    Hi bansalhimanshu Thanks for your code, and I try to rework and apply others' suggestions above, but still have something that does not work, this is the error I get: "chop.ksh[11]: A: bad number" Below is the code I rework: #!/bin/ksh INPUTFILENAME=$1 LINECOUNTER="A" FILECOUNT=1...
  3. babeo

    Chop the file into small pieces

    that does not work, it does not split the file as I want. I only want to split each file at the word "END" .
  4. babeo

    Chop the file into small pieces

    Hello, I have a huge file, which combines of many small files inside, the best thing each small file ends with a line of "#******END". I am not good in scripting, could someone help me please? I know how to cut in row (grep) and column (cut -d), but don't know how to combine them. Is there a...
  5. babeo

    converting code

    Hello, Looks like there is not "IQ forum" in here, nor "ASA" either, so I just post my question and if anyone could help me please? I want to convert the ASE code to IQ sybase code, and there is a case expression that I am stuck with it ! Don't know the syntax, but I get words that IQ syntax...
  6. babeo

    to kill a port

    Cool, Thanks Annihilannic, Do you experience this freeware? I means is there any issue with it? (I have java, xml, samba, and ArcServer running on this server), I guess the installation is straight forward, and no need to reboot?
  7. babeo

    to kill a port

    Hi, I have a process running, and I want to stop, so I kill the process, however, when I use netstat -n, I still it ESTABLISH, how can I kill the port connection? Thanks
  8. babeo

    migrate db from MS SQL 6.5 to version 2005

    Thanks all for your responses. I used to do as Denny, but not so sure the bcp is working on my old version - don't know why (commit: I transfer all data into a flat spread sheet and use Access to import it back !!, yes, absolutely I script out the structure of the database and recreate it on...
  9. babeo

    Change config without reboot

    Hello, It's quite a long time to do it and I forgot what the command and syntax,could someone show it to me again please? I want to reconfig the box NOT to have the keyboard attached to it any more using eeprom command so that I don't have to reboot it after the change, is my memory right?, and...
  10. babeo

    migrate db from MS SQL 6.5 to version 2005

    Hello, I have some databases need to migrate from MS SQL version 6.5 to version 2005, what steps should I do? and what I should pay attention to the tasks? Thanks
  11. babeo

    ODBC error or what is it?

    Hello, I am not so sure this is database error or the program error, could you help? Error: Microsoft OLE DB Provider for ODBC Drivers error 80040e14 [Microsoft][ODBC SQL Server Driver][SQL Server]Violation of PRIMARY KEY constraint PK_closed. Cannot insert duplicate key in object...
  12. babeo

    connection

    CA, "My original post I asked if you get the login prompt when trying to telnet, do you or do you not get it?" Yes, I have a telnet prompt and I could log in as root or other id, by yesterday conversation with someone, I just know that some system is applied this kind of system, and stickly...
  13. babeo

    connection

    You're absolutely right, One day, I just find out sometimes I can connect, another day I can not, and then some days after that can not connect to it any more ! Probably he is testing on the set up above. Any way, with the set up above will it let someone still log in ? (remotely or telnet or...
  14. babeo

    connection

    Oh I see !!, Thanks CA, I try my best to do whatever I can before my boss say that I did not try, but this is costly for me and him to fly me to that system just to do that small change, so consider let the tech there taking care of the box then, what happens to him or to the system, I don't...
  15. babeo

    connection

    Thanks all for the replies. I have tried all the suggestions above (from a telnet session of a machine) to the box I want, but I still can not connect to the box ?!: - the #CONSOLE=/dev/console is the current set up on my box (since I can not connect to the "restrict" box, I don't know how...
  16. babeo

    connection

    Thanks Sambones ping : it's alive traceroute: looks like it must do 5 hopes before the 6th to reach this machine, as the result, can I say, if I log into either machine in the hop list above or the best is to the machine in the last hop, can I connect to this machine? or as you said I need to...
  17. babeo

    connection

    Hello, I heard that there is some kind of security that won't allow to connect to a box (sorry, not understand it completely and how), but there are some boxes that I want to connect, I have id/pwd, and IP address, but I am unable to make connection although I try to connect it from an existing...
  18. babeo

    Can not save MS Word file

    Hello, I ask this question in both MS Office and MS Window 200 server rooms because I don't know my question will fit into any room. I have 2 terminals (not server) called Term1 and Term2. On Term1, I have a folder, name FolderA with many MS Word files in it, and I share this folder so that I...
  19. babeo

    command to see core file

    Thanks all, I did look in the man page, but it says nothing nor command about how to view the file. So, Marrow, thanks alot for these commands. They are so goooood !!
  20. babeo

    why script not run?

    Hi SamBones, Here is the script #!/bin/ksh . /tossev/sources/.profile pkill -f Parse_Alarm /tossev/sources/bin/Restart_Allps Where "Parse_Alarm" is the process and "Restart_Allps" is another script to restart all related processes including "Parse_Alarm" thanks

Part and Inventory Search

Back
Top