Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

Unix & Linux

Is the MMU inside of Unix/Linux kernel? or just in a hardware device with its own memory?

August 9, 2022 by Magenaut

So i always thought MMU is part of the unix kernel that translates addresses to physical addresses but in the MMU wiki page it says its a computer hardware that usually have its own memory, but that page doesn’t talk much about Unix/Linux operating systems

Categories Q&A, Unix & Linux Tags kernel, memory, virtual-memory Leave a comment

Load Linux bzImage in QEMU?

August 9, 2022 by Magenaut

I compiled a Linux by doing make menuconfig then make and now I have compiled the most recent version of Linux. How can I load the kernel into QEMU?

Categories Q&A, Unix & Linux Tags boot, linux, linux-kernel, qemu, x86 Leave a comment

How to early configure Linux kernel to reboot on panic?

August 9, 2022 by Magenaut

You can put “panic=N” on the kernel command line to make the system reboot N seconds after a panic.

Categories Q&A, Unix & Linux Tags kernel-panic, linux, linux-kernel Leave a comment

How (and why) use stderr for both reading and writing?

August 9, 2022 by Magenaut

According to this answer by schily, less reads navigation commands from stderr if it’s not able to open /dev/tty.

Categories Q&A, Unix & Linux Tags pipe, stderr Leave a comment

Understand “ibase” and “obase” in case of conversions with bc?

August 9, 2022 by Magenaut

I often use bc utility for converting hex to decimal and vice versa. However, it is always bit trial and error how ibase and obase should be configured. For example here I want to convert hex value C0 to decimal:

Categories Q&A, Unix & Linux Tags bc Leave a comment

256 colors in console (tty)

August 9, 2022 by Magenaut

Suppose, I have a system without X server. I can only log in from the console. It seems, by default linux console supports only 8 colors:

Categories Q&A, Unix & Linux Tags colors, console, linux-kernel, tty Leave a comment

What’s a good way to filter a text file to remove empty lines?

August 9, 2022 by Magenaut

I have a .csv file (on a mac) that has a bunch of empty lines, e.g.:

Categories Q&A, Unix & Linux Tags awk, sed, shell, text-processing Leave a comment

add space 5 times at the beginning of each line in a text file

August 9, 2022 by Magenaut

% select all lines

Categories Q&A, Unix & Linux Tags shell-script, text-processing Leave a comment

Difference between ppp0 vs wwan0

August 9, 2022 by Magenaut

I am Running Raspian on a RaspberryPi.

Categories Q&A, Unix & Linux Tags gsm, mobile, modem, network-interface, raspbian Leave a comment

Move first N lines of output to end without using temporary file

August 9, 2022 by Magenaut

Imagine an output of a command like

Categories Q&A, Unix & Linux Tags command-line, text-processing Leave a comment
Older posts
Newer posts
← Previous Page1 … Page184 Page185 Page186 … Page371 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress