On Linux, as long as you turn on the coredump file switch, the system will generate the corresponding core file when the program crashes. Here are some simple steps:
1. Check whether the switch is currently on. Pass command: ulimit-c If the output is 0, it means it is not opened. If it is infinite, it has already been opened, so there is no need to open it again.
Linux view disk command?
Df command;
Df comes from coreutils software package and comes with the system when it is installed. Through this command, we can check the usage of the disk and the location where the file system is mounted;
For example:
File System Capacity Used Available Used% Mount Point.
We can see that the system is installed in /dev/hda8; There is also a 56G disk partition /dev/sda 1 mounted in /mnt/sda 1;