Skip to content

Magenaut

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

Unix & Linux

Is there a tool that allows logging of memory usage?

August 10, 2022 by Magenaut

I want to monitor memory usage of a process, and I want this data to be logged. Does such a tool exist?

Categories Q&A, Unix & Linux Tags memory, monitoring Leave a comment

Restarting systemd service only as a specific user?

August 10, 2022 by Magenaut

I created some systemd services which basically works:

Categories Q&A, Unix & Linux Tags access-control, polkit, sudo, systemd Leave a comment

How to mitigate the Spectre and Meltdown vulnerabilities on Linux systems?

August 10, 2022 by Magenaut

Security researchers have published on the Project Zero a new vulnerability called Spectre and Meltdown allowing a program to steal information from a memory of others programs. It affects Intel, AMD and ARM architectures.

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

Bash: calculate the time elapsed between two timestamps

August 10, 2022 by Magenaut

I have written a script that notifies me when a value is not within a given range. All values “out of range” are logged in a set of per day files.

Categories Q&A, Unix & Linux Tags bash, linux, scripting, shell-script, timestamps Leave a comment

How to display control characters (^C, ^D, ^[, …) differently in the shell

August 10, 2022 by Magenaut

When you type control characters in the shell they get displayed using what is called “caret notation”. Escape for example gets written as ^[ in caret notation.

Categories Q&A, Unix & Linux Tags bash, colors, display, readline, special-characters Leave a comment

can not use mount.cifs: mount error(2): No such file or directory

August 10, 2022 by Magenaut

The command mount.cifs is found not being able to run in a gentoo system with systemd

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

Allowing a user to use sudo without a password

August 10, 2022 by Magenaut

On a sandbox VM environment, I have a setup of Ubuntu Linux which is firewalled and cannot be accessed from outside the local system. Therefore, on that VM, I’d like to give the administrative user (which I set up) the ability to run anything with sudo and not need a password.

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

Why is FreeBSD deprecating GCC in favor of Clang/LLVM?

August 10, 2022 by Magenaut

So I was surfing the net and stumbled upon this article. It basically states that FreeBSD, starting from Version 10 and above will deprecate GCC in favor of Clang/LLVM.

Categories Q&A, Unix & Linux Tags c#, compiling, freebsd, gcc, llvm Leave a comment

What does a program do when it’s sent SIGKILL signal?

August 10, 2022 by Magenaut

When I used killall -9 name to kill a program, the state become zombie. Some minutes later, it stopped really.
So, what’s happening during those minutes?

Categories Q&A, Unix & Linux Tags kill, process-management, sigkill, signals Leave a comment

How far can you go with rm -rf / as root

August 10, 2022 by Magenaut

If you are root, and you issue

Categories Q&A, Unix & Linux Tags rm, root Leave a comment
Older posts
Newer posts
← Previous Page1 … Page80 Page81 Page82 … 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