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 gkittelson 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. rrrirvine

    Unix script - egrep

    Thanks I was doing this on solaris box: # cat textfile |egrep "^cn: " | awk '{print $2}' and it works fine but how to retrieve 'fullName' filed info at the same time in it will be in format described above for output. thx
  2. rrrirvine

    Unix script - egrep

    Hi.. I have text file which has info like below. name=abcd fullName:abcd xyzw cn:xyz name=abcd1 fullName:abcd1 xyzw2 cn:xyz1 name=abcd2 fullName:abcd2 xyzw2 cn:xyz2 etc etc and it is large text file. Now i want to grab the only info od cn: and fullName: info in to seperate file each in one...
  3. rrrirvine

    To add cronjob entry on remote system automatically

    Hi.. I need help... I wont to add one cronjob entry on all my production system (200+). is there any way we can accomodate this task thru script ? Thanks in advance. Yogesh.
  4. rrrirvine

    last command in script

    Thanks..that helps... Regards,
  5. rrrirvine

    last command in script

    Hi.. Anyones help be greatly appreciated. In following two scripts : last | grep &quot;$MONTH $DAY&quot; > /tmp/$LOGFILE1 2>&1 and ftp -n -i << EOF > /dev/null 2>&1 Where, $MONTH, $DAY & $LOGFILE1 are defined variable. Now what does &quot;2>&1&quot; does ? please explain. Regards.
  6. rrrirvine

    Unix script question

    Thank You...I got so far close. the last command gives the error. cat `tail +CHOICE /tmp/filelist.txt | head -1` Also in my case, I have about 500+ files and thoses files to display on screen is horrible so is there any way we can fill the screen and for next screen wait for input like that...
  7. rrrirvine

    Unix script question

    Hi.. I have script running on each my systems to grab the user logging activities and send it to securty control system which creates the output file on system. So when security people can view the the output file for desired system. This output file will be stored on security system under...

Part and Inventory Search

Back
Top