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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by kgiber

  1. kgiber

    csplit

    I am having problems with the following commands which run in a script. It looses it after the first log. Any suggestions? Thanks Kat f=/home/rm35430/kat/ods00000_sql.log cp -p $f $f.`date +%y%m%d%H%M` cat >$f<<! g=/home/rm35430/kat/ods00100_sql.log cp -p $g $g.`date +%y%m%d%H%M` cat >$g<<...
  2. kgiber

    unix files

    Mike I have problelms with the following It looses it somewhere after the first statement. And all I get is the forst log. Can you suggest what I need to do? Thanks Kat f=/home/rm35430/kat/ods00000_sql.log cp -p $f $f.`date +%y%m%d%H%M` cat >$f<<! g=/home/rm35430/kat/ods00100_sql.log cp -p...
  3. kgiber

    unix files

    Thank you all!
  4. kgiber

    unix files

    Thank you all!
  5. kgiber

    unix files

    I tried it and it worked, I had a problem with the date part. I still have the question about the file. Is it moved or only emptied? Thanks Kat
  6. kgiber

    unix files

    Thank you so much for the fast reply! Would the mv command move the whole file? I have a reference to the file in an application that will not allow me to move or delete the actual file Thanks Kat
  7. kgiber

    unix files

    Hello, I need to creat a script that will run in cron that emptys a file with out removing it and transferes to a new sequenced file. Can anyone help? Thanks
  8. kgiber

    csplit

    empty file I need to empty the contents of a file save it to a new file without removing the file. I have thought of using csplit any ideas ?

Part and Inventory Search

Back
Top