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 SkipVought 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: COTLG
  • Order by date
  1. COTLG

    LPIC 1 & 2

    Thanks geirendre.
  2. COTLG

    Scripting Exercises Needed!!!

    Sorry for the mixup.... ------------------------------------------ #!/usr/bin/perl $file = "textfile2"; open(DAT, $file) || die("File could not be opened"); @array1 = <DAT>; close (DAT); foreach $line (@array1) { chomp $line; ($variable1,$variable2) = split(/\}/, $line); $stringlength =...
  3. COTLG

    Scripting Exercises Needed!!!

    This also answers your question completely Motoslide: ---------------- !/usr/bin/perl $file = "textfile2"; open(DAT, $file) || die("File could not be opened"); @array1 = <DAT>; close (DAT); foreach $line (@array1) { chomp $line; ($variable1,$variable2) = split(/\}/, $line); $stringlength =...
  4. COTLG

    Scripting Exercises Needed!!!

    Thanks Motoslide.
  5. COTLG

    Scripting Exercises Needed!!!

    Hi Motoslide, Here is a complete answer to your question: ------------------------ #!/usr/bin/perl $file = "textfile2"; open(DAT, $file) || die("File could not be opened"); @array1 = <DAT>; close (DAT); foreach $line (@array1) { chomp $line; ($variable1,$variable2) = split(/\}/, $line)...
  6. COTLG

    Scripting Exercises Needed!!!

    Hi Motoslide, Here is the answer to your question. Perl script handles file manipulation excellently. $variable2 will have to be modified a bit to remove "{". I will do that later. textfile2 contains your text output. ---------------------------------------------- #!/usr/bin/perl $file =...
  7. COTLG

    Scripting Exercises Needed!!!

    Hi All, I am a unix admin, am familiar with unix and want to be proficient in scripting. I love to take up challenges and surmount them hence I need a place/site where I can get a lot of scripting (preferably korn shell) exercises to solve. I also do not mind being given an exercise by any...
  8. COTLG

    Solaris 10 CD/DVD

    Hi kHZ, I bought the media. I did not know there was an option top-right at the download page through which you could buy the media, and that's exactly what I needed. Thanks.
  9. COTLG

    LPIC 1 &amp; 2

    Hi, Can someone direct me to excellent resources (online and offline)for taking these exams? Thanks.
  10. COTLG

    Linux on Vmware Server

    Hi Qatqat, I am using scsi. I have however resolved the problem. I disabled the cdrom drive on vmware and started the linux guest OS again and it booted properly. Thanks for your response which is not far from the solution. Chike.
  11. COTLG

    Solaris 10 CD/DVD

    Thanks a lot dsmarway!!
  12. COTLG

    Linux on Vmware Server

    Hi, I just finished installing redhat linux workstation on vmware server and it went fine. However on rebooting, it hangs after it says it is updating /etc/fstab. Does anyone know what the problem is and how I can resolve it? Thanks. Chike.
  13. COTLG

    Solaris 10 CD/DVD

    Hi, Please how or where do I get Solaris 10 (for x86) cds or dvds that are already burned and working. I have downloaded and burnt but it's not installing on vmware (I'm not sure where the problem is from though I believe it should be from the burning)? Thanks.
  14. COTLG

    VTP Question

    Hi All, I have seen this question in some ccna practice questions and the answers being given were different. I'd like to know which is correct since both seem correct to me: Q. For a switch with a VTP mode of 'client', what is the VTP function of this switch? A. Learn and save VTP...
  15. COTLG

    1900 and 2950 switches - Deleting vlans

    Hi, I created vlan 2 on a 1900 using "vlan 2 name sales" command. Next I added ports 1 and 2 to the vlan 2 using "vlan-membership static 2" command. Please can someone tell me how to delete this vlan. I have tried this command but it comes up with "incomplete command": 1900(Config)#no vlan...
  16. COTLG

    switch 2950 vlan command

    Thanks jtphoneman and wabob. I already got it. Thanks once again. Chike.
  17. COTLG

    switch 2950 vlan command

    Hi All, I am trying to configure seperate vlans on a 2950 and 1900 but I am having problems with the vlan command for 2950. On 1900, I type (config) vlan 2 name sales ..and it goes, but on 2950 if I type (config) vlan 2 I get "incomplete command" Please can anyone outline to me the...
  18. COTLG

    error C2678: binary '&lt;'

    Thanks cpjust, I just removed the "const" from the declarations and definitions of the operators: bool ErrorType::operator<(ErrorType& right) I think since *this is supposed to point to an object of ErrorType and ErrorType class does not contain a "const" a conversion could not be made since...
  19. COTLG

    error C2678: binary '&lt;'

    Hi All, I am carrying out operator overload for a class - ErrorType and I am getting this error on compiling ErrorType.cpp: errortype.cpp(43) : error C2678: binary '<' : no operator found which takes a left-hand operand of type 'const ErrorType' (or there is no acceptable conversion) Here...
  20. COTLG

    error C2678: binary '&lt;'

    There is no need for a bracket since the operator precedence will ensure correct evalution. I however put the bracket and the error persists. The function head is the same as in the declaration. I am carrying out operator overload for a class - ErrorType in this portion of my program. Thanks...

Part and Inventory Search

Back
Top