Skip to content

Magenaut

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

linux

What are ConsoleKit and PolicyKit? How do they work?

August 7, 2022 by Magenaut

I have seen that recent GNU/Linux are using ConsoleKit and PolicyKit. What are they for? How do they work?

Categories Q&A, Unix & Linux Tags consolekit, linux, polkit Leave a comment

What’s the difference between fork() and vfork()?

August 7, 2022 by Magenaut

I would like to understand in detail the difference between fork() and vfork(). I was not able to digest the man page completely.

Categories Q&A, Unix & Linux Tags fork, linux, system-calls Leave a comment

Making Linux read swap back into memory

August 7, 2022 by Magenaut

The Linux kernel swaps out most pages from memory when I run an application that uses most of the 16GB of physical memory. After the application finishes, every action (typing commands, switching workspaces, opening a new web page, etc.) takes very long to complete because the relevant pages first need to be read back in from swap.

Categories Q&A, Unix & Linux Tags kernel, linux, memory, swap, sysfs Leave a comment

realpath command not found

August 7, 2022 by Magenaut

I have debian squeeze amd64. My current shell is bash. If I write the following in my terminal, it works:

Categories Q&A, Unix & Linux Tags bash, debian, linux Leave a comment

Does fork() immediately copy the entire process heap in Linux?

August 7, 2022 by Magenaut

A fork() system call clones a child process from the running process. The two processes are identical except for their PID.

Categories Q&A, Unix & Linux Tags fork, linux Leave a comment

dmesg: read kernel buffer failed: Permission denied

August 7, 2022 by Magenaut

Since recently Debian has changed the default behavior for dmesg and I cannot use it simply from my local user.

Categories Q&A, Unix & Linux Tags debian, dmesg, linux, sysctl Leave a comment

Several questions about file-system character encoding on linux

August 7, 2022 by Magenaut

Due to a lot of file exchange works between Windows (GBK encoding) and Linux (UTF-8 encoding), it will encounter character encoding issues easily, such as:

Categories Q&A, Unix & Linux Tags character-encoding, filenames, filesystems, linux Leave a comment

Universal way to logout from terminal via dbus

August 7, 2022 by Magenaut

I’m new with dbus, and saw different ways to log out from terminal depending on desktop env. But I’m curious is there any way to log out from any desktop env using dbus messages?

Categories Q&A, Unix & Linux Tags d-bus, linux, session, systemd Leave a comment

Execution of possibly harmful program on Linux

August 7, 2022 by Magenaut

I’m writing a program that will test programs written by students. I’m afraid that I can’t trust them and I need to make sure that it won’t end up badly for the computer running it.

Categories Q&A, Unix & Linux Tags executable, linux, security Leave a comment

How to connect to x11vnc server on Linux from OS X (macOS)?

August 7, 2022 by Magenaut

When I’m trying to connect to x11vnc server started on Ubuntu 16.10

Categories Q&A, Unix & Linux Tags linux, osx, vnc, x11vnc Leave a comment
Older posts
Newer posts
← Previous Page1 … Page54 Page55 Page56 … Page63 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