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...
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...
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...
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...
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?
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
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...
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...
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
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...
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...
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...
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...
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...
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...
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...
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...
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 !!
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.