Apr 5, 2012

How to Rename Core Files in HPUX

,
HP-UX core files are automatically overwritten at the next core dump. You may want to keep all of your core files for later analysis. To save a core file, rename it so that it isn't overwritten when the next core dump occurs. You can rename your core files through the terminal to prevent the loss of core file data.

Instructions

    • 1
      Open the terminal on your computer.
    • 2
      Enter "ls -1" in the terminal without quotes and press "Enter" to display a list of the files on the directory. You'll need to know the exact name of the file you want to rename.
    • 3
      Type the following into the terminal to rename the file and press "Enter":
      mv core-original-name core-new-name
      Replace "core-original-name" with the name of the file you want to rename and "core-new-name" with the new name for the core file.
    • 4
      Enter "ls -1" without quotes in the terminal and press "Enter" to ensure the file name was changed.
 

HowToYo Copyright © 2011 | Template design by O Pregador | Powered by Blogger Templates