Skip to content

Tag: linux

View CIL of C# code on Linux with mono

I want to inspect the generated CIL code of the following C# source file on Linux: When I compile and run it everything is fine: But how can I get the human readable CIL output? Answer Mono disassembler, extracts IL code from an assembly: Full reference can be found here: https://www.mono-project.com/docs/too…

Trouble writing bash sed command – regex match

I have a file full of garbage collection information that is irregular, some lines have extra information that I want to initially remove so I can then process the the file as a whole. Unfortunately the line has quite a few special characters and I am struggling with a sed command that manages to match the bi…

multi pattern in sed -n

I know there are quite a few questions asked on this topic. But I need help in a case basis.When i try to put more than 3 pattern in the option, i will get the error like that… i only want to print the words in the brackets.. here is the sed command and the output… thanks… sample output Answ…

Linux/Raspberry Pi command to help round to 2 decimal

I am running the following command to get Free Memory, and want to change it from KB to MB to the second decimal. How do I round? I have seen where it says to use scale=2, but then it just prints out scale=2, I have tried puttting it before anfer and inbetween several different ways with no luck. how can

How to link properly Dcmtk with Qt for Linux?

My goal is open Dicom files and convert thes into cv::Mat to process them with Opencv. I have compiled dcmtk 3.6.3 on ubuntu 18.4.1 and tried to link it with Qt 5.11.1 with Qt Creator 4.6.2 but failed to do so. and for the main: #include and I got this errors: Answer The error indicates that the linker could …