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 derfloh 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: stu78
  • Content: Threads
  • Order by date
  1. stu78

    Join line containing pattern to preceding line

    Hi, I have a large file containing lots of data, however, I want to do the following; Find any lines containing the pattern cn= and join this line to the preceeding line (same as shift J in vi)- if that makes sense?
  2. stu78

    Merge using AWK

    Hi, I'm not an expert in AWK, but I've been advised awk could help with this problem... I have the following file I'd been trying to merge with SQL within a database, basically, I've had to merge AD users and group information, which in SQL is not an issue. However, it's producing me output...
  3. stu78

    Delta Script

    Hi, I need to create a script that will figure out the deltas between two files e.g. yesterdays csv and todays csv; and write the delta to a new file... the unique key for the script would be $80 in the file... So I have something like this as input; yesterday name, address, dob....snn name1...
  4. stu78

    Split file based on delimiter

    Hi, I have some data to split; the delimiter will always be ! so I just need to format e.g. test1!test2!test3! into test1! test2! test3!
  5. stu78

    Compare two CSVs based on unique ID

    Hi, I've written the following code to compare 2 csvs, awk 'NR==FNR{_[NR]=$0} NR!=FNR{ if($0 != _[FNR]) { print $0 } }' export1.csv export2.csv But I need to extend it (as it really only offers diff capabilities) to compare based on some unique ID e.g...
  6. stu78

    Load Testing

    Hi, I need to create a file to add 300000 users to a directory server. The input should look like this; Objectclass: User DN: CN=[XXX123],OU=newaccounts,DC=domain,dc=com CN: XXX123 userAccountControl: 66080. sAMAccountName: XXX123 userPrincipalName: xxx123@domain.com I need to create a file...
  7. stu78

    Exchange 2003 - Mutual Authentication with certificates

    Hi - Is it possible to have SMTP over TLS with mutual authentication using certificates on Exchange 2003? And if so, how? I am stuck on the Mutual Authentication piece. Stu
  8. stu78

    assigning users permission to relay/use the SMTP/POP3 server.

    Hi I am getting this message for all users I am trying to set up in a lab. user@external.com on 10/23/2006 4:02 PM You do not have permission to send to this recipient. For assistance, contact your system administrator. <FQDN (internal) #5.7.1 smtp;550 5.7.1...
  9. stu78

    Permissions Help???

    Hi, I am seeing some strange behavior on our hardened build when installing some software, which I think are permissions based errors. I have used lsof & truss to see what the problem might be, does anyone else know the best way to see what file/perms are causing a process to fails? DC
  10. stu78

    Permissions testing

    Hi, I am seeing some strange behavior on our hardened build when installing some software, which I think are permissions based errors. I have used lsof & truss to see what the problem might be, does anyone else know the best way to see what file/perms are causing a process to fails? DC
  11. stu78

    NIC Card for Ultra 10

    Hi, Does anyone know what a good card for my Ultra 10 whould be? ( home PC )
  12. stu78

    Replace Entire line using Sed

    Hi, I need to comment the following line in /etc/hosts using sed, 12.9.9.0 host.internal.com host How is this possible? For me, I cannot do a replace of 12.9.9.0 as this is not unique within hosts. Any Ideas?
  13. stu78

    -F problem

    Hi, I want to use a Field Seperator of a directory structure; like; awk -F/opt/folder '{print}' file How can I get this to work? DC
  14. stu78

    Comparison

    Hi, How could I do a comparisoin between 2 files, and remove the data which is in file1 from file2? Is this possible?
  15. stu78

    Log Rolling Script

    Hi, I need to roll a debug log file every 1 GB of data. I cannot stop/start the processes to do this. How may this be achieved?
  16. stu78

    Find expression & N number of lines below

    Hi, I need to find a line in a log file, then match the line 3 lines below; For example, here is my input; object: Test id: 32190-12391-12984134-22 Name: Blah Desc: This is the description Type: 111-22912-12832 AttrId: 0 I want to match the line; object: Test Then match the line Name...
  17. stu78

    ulimit question

    Hi, Does anyone know the max ulimit you can have on a solaris system. Default is 1024 for user, however, if I need to over ride this & have an rlim_fd_max in /ect/system - what is largest I can have?
  18. stu78

    SED Sctipt

    Hi, I am writing a sed script to perform a task. However, one of the lines I want to modify has 2 matches in the file. How can I specify I only want to modify the second occurance?
  19. stu78

    init.d scripts

    Hi, I am writing a script ( start & kill ) for an application. When I test this as follows; cd /etc/init.d ./Sapp98 start It works fine but does not put the job in the background - i.e the job remains in the foreground; Here is the script...
  20. stu78

    Echo Question

    Hi, I need to find a certain line is a properties file, and echo some parameters after this point. the echo part is fine, however, how do I tell echo to start at a certain point in a text file? e.g. find the <Object="new"> line and echo the following JUST below; echo <Object="new1"> then...

Part and Inventory Search

Back
Top