Linux

  • Installing Oracle Java 6 on Ubuntu

    Installing Oracle Java 6 on Ubuntu

    Download jdk-6u32-linux-x64.bin(or any version). If you have used 32-bit Ubuntu installation, download jdk-6u32-linux-x32.bin(or any version). To make the…


  • Linux commands

    Linux commands

    Unzip “zip” file Install Dependency :- apt-get install unzip [code lang=”bash”] unzip file.zip, unzip file.zip -d destination_folder [/code]…


  • Set/Get CPU affinity

    Set/Get CPU affinity

    [code lang=”c”] #define _GNU_SOURCE #include [/code] Set :- [code lang=”c”] cpu_set_t mask; CPU_ZERO(&mask); pid_t pid = gettid(); //…


  • How to extract kernel config from uImage

    How to extract kernel config from uImage

    Get extract-ikconfig in kernel-source/scripts/ [code lang=”bash”] $mkdir extract-uImage $cd extract-uImage $cp {kernel-source}/scripts/extract-ikconfig [/code] Dump uImage skip 1024 bytes…