I have coredump file in .gz format (which I am not aware of) and I want to convert it, so that I can read it.

Is there a way I can use coredumpctl to read the .gz core dump file?

  • 2
    It is already in bytes, there is nothing to do. Why do you think that you can not send it? – ctrl-alt-delor Dec 20 '18 at 19:51
  • Its in .gz format which I am not aware of. Is there a way instead of accessing the directory where the coredump file is, I ask coredumpctl to get the coredump file for me. Then I don't have to be root to access the coredump file. – sheikh sabeer Dec 20 '18 at 20:00
  • First stop it with the being root. Why is it that when ever a user does not know what they are doing, they do it as root. This is a sure way to break things. You do not have to be root to convert a file. – ctrl-alt-delor Dec 20 '18 at 20:03
  • I have added an answer, but there are a lot of confusing ideas in this question. I suspect that you are using words, that you have heard (cargo cult). Please just use ordinary words. There is, usually, no need for technical specialist words. – ctrl-alt-delor Dec 20 '18 at 20:08
  • the aim is to call coredumpctl and get the coredump file. Is it possible to do it without root access? – sheikh sabeer Dec 20 '18 at 20:16

files ending in .gz are usually gnu-zip files. Check by typing file «filename», if should report gnu zip.

If so it is a compressed file, you can un-compress it by typing gunzip «filename».

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.