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
- 1Open the terminal on your computer.
- 2Enter "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.
- 3Type the following into the terminal to rename the file and press "Enter":mv core-original-name core-new-nameReplace "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.
- 4Enter "ls -1" without quotes in the terminal and press "Enter" to ensure the file name was changed.
- 1