Skip to content

Magenaut

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

linux

Understanding an iptables shell script

August 8, 2022 by Magenaut

SITUATION:

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

Does any file system implement Copy on Write mechanism for CP?

August 8, 2022 by Magenaut

We have seen OS doing Copy on Write optimisation when forking a process. Reason being that most of the time fork is preceded by exec, so we don’t want to incur the cost of page allocations and copying the data from the caller address space unnecessarily.

Categories Q&A, Unix & Linux Tags copy-on-write, ext4, filesystems, linux, xfs Leave a comment

When does a shell get executed during the linux startup process

August 8, 2022 by Magenaut

I do not understand when does a shell, lets say bash, get executed, which program runs bash initially first.

Categories Q&A, Unix & Linux Tags architecture, linux, shell, startup Leave a comment

Is there a linux vfs tool that allows bind a directory in different location (like mount –bind) in user space?

August 8, 2022 by Magenaut

For a user process, I want to mount a directory in other location but in user space without root privilieges. Something like mount –bind /origin /dest, but with a vfs wrapper. Like a usermode fine-tuned chroot.

Categories Q&A, Unix & Linux Tags chroot, linux, mount, not-root-user Leave a comment

How to disable USB devices based on their vendor ID on GNU/Linux?

August 8, 2022 by Magenaut

In that question someone wanted a blacklist for all USB devices, and then only allow specific devices.

Categories Q&A, Unix & Linux Tags devices, linux, nxt, udev, usb Leave a comment

why can I see the directory without “read” privilege?

August 8, 2022 by Magenaut

now i am user “lawrence.li” ,I can see directory “lijunda” with “read” privilege

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

how to unshare network for current process

August 8, 2022 by Magenaut

It’s possible to run a new command without network access as non-root using unshare -r -n, for example:

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

256 color in Linux console

August 8, 2022 by Magenaut

I have in my .bashrc

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

Linux VLAN-aware bridges and trunk ports

August 8, 2022 by Magenaut

I have an ethernet port attached to a bridge:

Categories Q&A, Unix & Linux Tags bridge, linux, networking, vlan Leave a comment

How to append text to the end of a certain line of a file?

August 8, 2022 by Magenaut

If I needed to append a username to the end line 32 on a file, how would I do so?

Categories Q&A, Unix & Linux Tags linux, sed, text-processing Leave a comment
Older posts
Newer posts
← Previous Page1 … Page39 Page40 Page41 … 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