Monthly Archives: March 2014

Lists section sizes of an executables or object files.

Traditionally Linux has been supporting different file formats, most common is ELF, as it is flexible and extensible by design. For a given executable, there are four sections, in which information is arranged, namely .text, .data, .bss and .rodata. .text section contains executable code and is packed in segment with read and execute access rights, […]

Know about installed hardware resources

If you want to know about installed hardware and their resources like io ports, irq and DMA channel then you may go through /proc file system to get that all informations. To know about io ports see /proc/ioports irq see /proc/interrupts DMA channels see /proc/dma But we have got lsdev to gather all this info […]

Another beauty of ls

  Yesterday I was going through my old files modified since last two years. I was wondering with format of modification time in output of ls command. $ ls -l /mnt/media/study -rw——- 1 rahul rahul   915284 Feb 18  2010 operating_system_principles_7_Solutions.pdf Then I went back to home directory where there was a one file and did […]