Skip to content

Magenaut

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

Unix & Linux

uname -p -i are unknown

August 10, 2022 by Magenaut

Why does this happen? Everything else printable with uname is shown.
I am not looking into fixing this. Even the manual page of uname says that it’s a common output.

Categories Q&A, Unix & Linux Tags coreutils, utilities Leave a comment

vim: create file with +x bit

August 10, 2022 by Magenaut

Is there any way to set +x bit on script while creating?

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

Is there a way to communicate with someone at their desktop?

August 10, 2022 by Magenaut

My wife is sitting at her home desktop, alpha, which is running a recent version of Ubuntu. I am on a bus, using ConnectBot on my G1 phone, and can SSH into alpha from wherever I am.

Categories Q&A, Unix & Linux Tags chat, ssh, xorg Leave a comment

How to customise keyboard mappings with Wayland

August 10, 2022 by Magenaut

I use Linux on a Macbook with a UK/GB keyboard and I customize the keymap to solve some problems Apple’s weird keyboard layout causes. I use xmodmap to do this. I’d like to try Wayland, but xmodmap doesn’t work in that. How can I achieve a similar result in Wayland? The .Xmodmap file I use contains the following:

Categories Q&A, Unix & Linux Tags keyboard-shortcuts, wayland Leave a comment

Only allow certain outbound traffic on certain interfaces

August 10, 2022 by Magenaut

I have rather an odd issue. I have a server with two network interfaces eth0 and eth1. Each are connected to a different network. Each network has a internet gateway. The server has various outbound connections: http (some scripts on the server scrape websites), nfs client, samba client, dns client and an email fetcher to name but a few.

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

How to edit command line in full screen editor in ZSH?

August 10, 2022 by Magenaut

In bash, using vi mode, if I hit Esc,v, my current command line is opened in the editor specified by $EDITOR and I am able to edit it in full screen before ‘saving’ the command to be returned to the shell and executed.

Categories Q&A, Unix & Linux Tags editors, zsh Leave a comment

Root access that can’t change root password?

August 10, 2022 by Magenaut

We are having a little problem on a server. We want that some users should be able to do e.g. sudo and become root, but with the restriction that the user can’t change root password. That is, a guarantee that we still can login to that server and become root no matter of what the other users will do.

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

Block Particular Command in Linux for Specific user

August 10, 2022 by Magenaut

How to block command, let say mkdir for specific user ?

Categories Q&A, Unix & Linux Tags account-restrictions, linux, restricted-shell, security Leave a comment

How to execute command before user login on linux

August 10, 2022 by Magenaut

That’s a question I’ve seen several time for several Linux flavours, so let’s try to be exhaustive.
What is the method to execute script/command/program before and after user login into its desktop session ?

Categories Q&A, Unix & Linux Tags gdm, lightdm, lxdm Leave a comment

Move a logical volume from one volume group to another

August 10, 2022 by Magenaut

Is it possible to move a logical volume from one volume group to another in whole?

Categories Q&A, Unix & Linux Tags linux, lvm Leave a comment
Older posts
Newer posts
← Previous Page1 … Page74 Page75 Page76 … 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