Skip to content

Magenaut

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

Unix & Linux

Mystery of binary files

August 10, 2022 by Magenaut

This is about files straight from the compiler, say g++, and the -o (outfile) flag.

Categories Q&A, Unix & Linux Tags binary, compiling Leave a comment

mount info for current directory

August 10, 2022 by Magenaut

I can do df . to get some of the info on the mount that the current directory is in, and I can get all the info I want from mount. However I get to much info (info about other mounts). I can grep it down, but am wondering if there is a better way.

Categories Q&A, Unix & Linux Tags disk-usage, filesystems, mount Leave a comment

What is the difference between the following kernel Makefile terms: vmLinux, vmlinuz, vmlinux.bin, zimage & bzimage?

August 10, 2022 by Magenaut

While browsing through the Kernel Makefiles, I found these terms. So I would like to know what is the difference between vmlinux, vmlinuz, vmlinux.bin, zimage & bzimage?

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

How do I kill all a user’s processes using their UID

August 10, 2022 by Magenaut

I want to kill all running processes of a particular user from either a shell script or native code on a Linux system.

Categories Q&A, Unix & Linux Tags c#, linux, proc Leave a comment

How do I display all the characters between two specific strings?

August 10, 2022 by Magenaut

I want to display all the characters in a file between strings “xxx” and “yyy” (the quotes are not part of the delimiters). How can I do that ? For example, if i have input “Hello world xxx this is a file yyy”, the output should be ” this is a file “

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

How to extract specific file(s) from tar.gz

August 10, 2022 by Magenaut

How can we extract specific files from a large tar.gz file? I found the process of extracting files from a tar in this question but, when I tried the mentioned command there, I got the error:

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

How to set permissions in /sys/ permanent?

August 10, 2022 by Magenaut

I’m starting X as a user and need to set my keyboard brightness in /sys/class/leds/asus::kbd_backlight/brightness. The /sys/ directory gets recreated after reboot, so the permissions will reset too. How do I set it up so I don’t need to make the file writable by all users after every boot?

Categories Q&A, Unix & Linux Tags filesystems, permissions, users Leave a comment

How can I create a swap file?

August 10, 2022 by Magenaut

I know how to create and use a swap partition but can I also use a file instead?

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

Is it shell portable to run a command on the same line after variable assignment?

August 10, 2022 by Magenaut

Is there any standard that covers the portability of running a command after variable assignment on the same line?

Categories Q&A, Unix & Linux Tags posix, shell Leave a comment

Udev rule to mount disk does not work

August 10, 2022 by Magenaut

I have the following content in in /etc/udev/rules.d/81-external-disk.rules:

Categories Q&A, Unix & Linux Tags mount, udev Leave a comment
Older posts
Newer posts
← Previous Page1 … Page43 Page44 Page45 … 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