While running a C program, It says "(core dumped)" but I can't see any files under current path.
I have set and verified the
ulimit -c unlimited
[/proc/sys/kernel/]core_pattern is used to specify a core dumpfile pattern name.
- If the first character of the pattern is a '|', the kernel will treat the rest of the pattern as a command to run. The core dump will be written to the standard input of that program instead of to a file.
In any case, the quick answer is that you should be able to find your core file in
abrt stores it after being invoked. Similarly, other systems using Apport may squirrel away cores in
/var/crash, and so on.