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 TouchToneTommy 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: kimmers
  • Content: Threads
  • Order by date
  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>"

    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...
  3. 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...
  4. 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...
  5. kimmers

    oslevel -> TYPERML ?

    Hi, I know that the AIX system has been installed as 4.3.3.0 but giving a 'oslevel' it returns as a value TYPERML. I was trying to find out from that script/subprogram (/usr/bin/oslevel) that where the oslevel has been defined but could't find it, or is it hard coded somewhere? I believe...
  6. kimmers

    AWK and using multiple variables

    Hello, I have one small question where you awk-users can propably give an answer I have a text file (file.txt) containing two columns and multiple rows #cat file.txt Alfa 0001 Beta 0002 Gamma 0003 . .. ... In my program I do the following for each line using a program i.e which converts...

Part and Inventory Search

Back
Top