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 Mike Lewis 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: ksdh
  • Order by date
  1. ksdh

    no Central Management Server running at port 6400

    Just so you know, i am on a Linux box
  2. ksdh

    no Central Management Server running at port 6400

    Hi All I am getting this message even after having re-initialized the cmsdbsetup process. message i get /opt/bo/bobje/ccm.sh -display Creating session manager... Logging onto CMS... err: Error: Couldn't logon to CMS err: Error description: The system XXXXXX can be contacted, but there is no...
  3. ksdh

    delete files in unix

    Hi I have a directory with hundreds of files. I would like to delete files older than a day. How could i do this? Would mtime work? Thanks
  4. ksdh

    Comparing file contents unix

    thanks elgrandeperro
  5. ksdh

    Comparing file contents unix

    Elgrandeperro Thanks for your post. Your script does the job but could you please explain the logic behind egrep -i "^$line$" B > /dev/null if [ $? -eq 0 ] What does ^$line$ mean and $? -eq 0 Thanks
  6. ksdh

    Comparing file contents unix

    I was trying cat C | while read line; do grep -i $line B ;done | wc -l I dont know if i applied the right logic. Thanks
  7. ksdh

    simple script unix

    HI What i am trying to do is as follows A------> Raw file B------> Whitelist C------> Filtered file Lets say each of them contains only numbers. I want to check , how many numbers in the filtered file (came from raw) are there in the whitelist. Ideally all of them should be in the whitelist...
  8. ksdh

    Comparing file contents unix

    All i want to do here, is run a for or while loop on file C to compare the entries with file B but dont know how to do it. Once thats doen, i want to count the number of entries that matched in both files. The output would just give us a count of the number of entries that matched, a simple...
  9. ksdh

    Comparing file contents unix

    Feherke Sorry but the -f option doesnt work on my solaris? grep -f IMSI2 -x IMSI1 grep: illegal option -- f Also, what i want to do here is A------> Raw file B------> Whitelist C------> Filtered file Lets say each of them contains only numbers. I want to check , how many numbers in the...
  10. ksdh

    Comparing file contents unix

    Feherke Thanks , but the diff command would nt work out here . The files contain thousands of entries. So basically i would have to run a command where if the number or string is in file B and file A the count is incremented and if the content from file B does not match A, the counter stays...
  11. ksdh

    Comparing file contents unix

    HI I have 2 files A and B A 1 1234 986740982 78264182 89264162 9128635 5 6 7 8 B 1 4 5 6 7 As you can see , some of the records in B are in A. What is the best way that we can compare the 2 files? I mean lets say i want to output the comparison of both the files where the entries match (or...
  12. ksdh

    help with perl

    Thanks a million sycootgit. It work as i wanted it to
  13. ksdh

    help with perl

    HI I am using the below script to create a file with 10000 iterations. What i want to do is, use a loop that would create a file with 1000 iterations for the 10000. So basically i would like to break up the file with 10000 iterations using a loop to have 10 files with 1000 iterations each. It...
  14. ksdh

    generate data

    The reason i am asking you that is , the output is as under ': invalid format character 282000272000016810,38129031,982123,0016810 404000016810,38129031,982123,4016810 303000016810,38129031,982123,3016810 -bash: printf: `
  15. ksdh

    generate data

    Thanks Ferheke but is this a bash script?
  16. ksdh

    generate data

    HI I am looking to generate 1 million records as under 272000000001,38129031,982123,0000001 404000000001,38129031,982123,4000001 303000000001,38129031,982123,3000001 282000000001,38129031,982123,1000001 272000000002,38129031,982123,0000002 404000000002,38129031,982123,4000002...
  17. ksdh

    automated script to generate data

    sorry mate, thats resolved now. It was my fault, i just missed a comma at the end of a line. It works now? Cheers colorplane
  18. ksdh

    automated script to generate data

    HI Colorplane i got the following error, while trying to run the file: syntax error at ./kd.pl line 9, near "filename" Execution of ./kd.pl aborted due to compilation errors could you advise on this please? Thanks Kanav
  19. ksdh

    automated script to generate data

    Hello Spookie I am sorry , i am very new to perl scripting, i dont really have much idea about this in perl, which is why i wanted to get some response in the unix forum. But thats fine, can i request you to guide me through the process please. I just want to generate a data file (lets say we...
  20. ksdh

    automated script to generate data

    Can anyone help me develop a perl script to generate a data of lets say 1000 subscribers, having 26 fields. an example would be 262020410000001;MMC;5;01620450752;CDDDDDDAAPOLCU;CDDDDDAAPOLLO;CDDDDDAAWKACU;CDD DDDDAAWKAUS;CDDDDDDACYBIMM;Mannesmann Mobilfunk GmbH;200016666666;Vodafone;N;N;N...

Part and Inventory Search

Back
Top