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 strongm 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: *

  1. kimmers

    AIX su and .sh_history no trace?

    Hi, I faced an issue where i.e root goes to another user i.e test su - test this records fine in user test's .sh_history file and you can see what commands has been applied, but if you use just su test without '-' dash this doesn't record anything at all. Basically '-' reads user's environment...
  2. kimmers

    Extra question for "Removing trailing <blanks>"

    Thanks PHV, That did the job! Cheers, #Kimmers
  3. kimmers

    Extra question for "Removing trailing <blanks>"

    Hi PHV, Good point, I guess my excuse was that I don't know awk that much, but that example of yours was neat and useful! Since we have torn this thread open and I was wondering in my orig. question a) how to read from the end of the file i.e last 150 characters after stripping the trailing...
  4. kimmers

    Extra question for "Removing trailing <blanks>"

    Hi there! Now it works as I hoped, Annihilannic, your addition brought the desired solution, thank you! Feherke, I think you are right, that the normal awk is not treating similarly reqular expressions. I do not have the other flavours installed, which might have worked -don't know. Anyways...
  5. kimmers

    Extra question for "Removing trailing <blanks>"

    Hi Feherke, I tried it out, but looks like it didn't work for me, since it returned just an empty answer. So, I have talked in my question about nawk but I have used awk, since some of AIX machines that I use, do not have nawk (nor gawk/mawk). In this vgersh99 example was he replacing tabs...
  6. kimmers

    Extra question for "Removing trailing <blanks>"

    This thread pretty much answered for the question I had in mind while browsing these columns and vgersh99 nawk answer worked for me the best, to get rid of the trailing blanks or spaces. So I would like to add an extra question: I have an a error.log file where error messages from the message...
  7. kimmers

    comparing 2 files...

    Howdy, Just use diff-command, #Kimmers
  8. kimmers

    How to read a text file line by line as a string

    Thank You Boria and Vivek1712, it worked as expected!! And I appreciate your fast response :) Take Care, #Kimmers
  9. kimmers

    How to read a text file line by line as a string

    Howdy, I am trying to make a script which first greps 'failed' messages and puts them into file. Then I need to read each line and send them i.e as a separate mailx message. Here first tested with echo-command to see the output: So how to read a line as a string so that it would handle each...
  10. kimmers

    Ping,rlogin but not rsh or rcp

    No help, huh? If you find a solution can you pass the cure, Regards, #Kimmers
  11. kimmers

    Ping,rlogin but not rsh or rcp

    Hi, Did you try to put the mach1's IP on the remote machine's (145.224.208.46) .rhosts file and do you have enough permissions to run the df-command there? Assuming 145.224.208.45 is mach1's IP address then .rhosts-file on a remote should look like 145.224.208.45 mach1 username (On...
  12. kimmers

    Ping,rlogin but not rsh or rcp

    Hi Birdie, Are you running rsh ash root or some other user? I was facing similar problem when running that as an another user. The problem was that it was required that suid-bit needed to be set on to be able to run rsh. Security risk? But that was a workaround and how it was set on our other...
  13. kimmers

    Copying part of the text -sed?

    Thanks Bro, That helped. So EEEE here is kind of EoF (End of File). Reg, #Kimmers
  14. kimmers

    Root Users

    I have written a small script (pass.sh) to find out those users and direct the output into a file: #!/bin/ksh #============================================================== # Script pass.sh created to list persons who has userid=0 # Creator: Kimmers # Date: 09/07/02 # Version: 0.0.1 #...
  15. kimmers

    Copying part of the text -sed?

    Good Day, I would like to put a "query" script to a logfile from cron which is run scheduled on a certain day. lets's say we have a logfile containing some data from Feb 21st to Feb 24th and I want to run a script that copies the content from Feb22 to Feb 24 into a new file cat...
  16. kimmers

    SSH

    Hi, You can try from here (depending your version): http://www.ssh.com/support/documentation/online/ssh/quickstart/32/Installing_SSH_Secure_Shell.html If interesed in openssh (which I am struggling with ;) and downloads etc. you can find here...
  17. kimmers

    netscape 4.x for aix4.3.2

    http://wp.netscape.com/download/0509102/10000-en-aix4.2---_qual.html Looks like they don't have 4.3-version or newer released so it should be compatible. Let me know, #Kimmers
  18. kimmers

    oslevel -> TYPERML ?

    Hi and Thank You, I will most likely do the update next week to the correct level. Here are outputs to your commands: instfix -i |grep ML All filesets for AIX43ML were found. All filesets for 4.3.1.0_AIX_ML were found. All filesets for AIX43ML were found. Not all filesets for...
  19. kimmers

    oslevel -> TYPERML ?

    Hi, Thank You for the follow up. I checked my links based on that thread and yes, those were created wrongly. I made the corrections as requested there. Do you think the maintenance level is causing still the TYPERML to appear as an return for a oslevel -command? I wonder why since even if...
  20. kimmers

    oslevel -> TYPERML ?

    Sorry, I found one thread handling this case, I have to try it out. thread52-231894 on a keyword at the first time didn't return any matches. Regards, #Kimmers

Part and Inventory Search

Back
Top