Skip to content

Magenaut

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

Unix & Linux

Why are non-environment variables passed to the subshell invoqued by command substitution?

August 9, 2022 by Magenaut

Bash manual says:

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

Deleting files by age

August 9, 2022 by Magenaut

Is there a command to delete all the files in a directory that haven’t been modified in N days? I need to clean up some old logs.

Categories Q&A, Unix & Linux Tags find, rm Leave a comment

Removing a directory from PATH

August 9, 2022 by Magenaut

I’m trying to compile wxWidgets using MingW, and I have cygwin in my path, which seems to conflict. So I would like to remove /d/Programme/cygwin/bin from the PATH variable and I wonder if there is some elegant way to do this.

Categories Q&A, Unix & Linux Tags bash, environment-variables, path, shell Leave a comment

Linux, SSD and swap

August 9, 2022 by Magenaut

This article suggests not to create a swap space on an SSD drive in order to reduce its wear. On the other hand, it suggested here that swap space positively affects performance.

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

.zshrc shortcut working on Arch but not Ubuntu

August 9, 2022 by Magenaut

I use the zsh shell as default shell on both Ubuntu and Arch.

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

Why won’t my xmodmap command run on startup/login?

August 9, 2022 by Magenaut

I want to run this command every time I log in (or every time I start up, if that doesn’t work): xmodmap -e 'keysym Delete = Menu' -e 'keysym Menu = Delete'

Categories Q&A, Unix & Linux Tags login, startup, ubuntu Leave a comment

Always Forward Traffic Out The Interface It Originated On

August 9, 2022 by Magenaut

(This is the original question but my eventual solution was too different from how I originally asked the question so I’m posting as a new question.)

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

Why is screen seemingly doing nothing with commands passed with -X?

August 9, 2022 by Magenaut

I’ve been trying to set up an automated backup system for a minecraft server, and I’m having trouble with screen, specifically when using ‘screen -r sessionname -X “/var/minecraft/somebatchfile”‘, nothing happens.

Categories Q&A, Unix & Linux Tags gnu-screen, ubuntu Leave a comment

Failed to sign CSR with the CA root key

August 9, 2022 by Magenaut

I’m trying to implement Mutual Certificate Authentication , I have to be the CA and server at the same time , generate certificates and sign them for users. and I’m following this tutorial which is a very simple one comparing to the complicated articles on the web , steps are :

Categories Q&A, Unix & Linux Tags authentication, certificates Leave a comment

Simple command line HTTP server

August 9, 2022 by Magenaut

I have a script which generates a daily report which I want to serve to the so called general public. The problem is I don’t want to add to my headaches maintance of a HTTP server (e.g. Apache) with all the configurations and security implications.

Categories Q&A, Unix & Linux Tags command-line, html, http, webserver Leave a comment
Older posts
Newer posts
← Previous Page1 … Page135 Page136 Page137 … 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