Skip to content

Magenaut

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

Unix & Linux

How can I delete a word backward at the command line (bash and zsh)?

August 9, 2022 by Magenaut

How can I delete a word backward at the command line? I’m truly used to some editors deleting the last ‘word’ using Ctrl+Backspace, and I’d like that functionality at the command line too.

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

My server is constantly being attacked

August 9, 2022 by Magenaut

Instal fail2ban – it monitors log files and temporarily or persistently bans
failure-prone addresses by updating existing firewall rules (iptables).

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

mktemp on macOS not honouring $TMPDIR

August 9, 2022 by Magenaut

I’ve noticed this before, but it was brought up again as I was answering “How to move directory into a directory with the same name?“:

Categories Q&A, Unix & Linux Tags environment-variables, macos, mktemp Leave a comment

How to read over 4k input without new lines on a terminal?

August 9, 2022 by Magenaut

So I have a lot of data WITHOUT NEW LINES on the clipboard (it’s a large SVG file on one line). I went

Categories Q&A, Unix & Linux Tags clipboard, terminal Leave a comment

Will a Linux executable compiled on one “flavor” of Linux run on a different one?

August 9, 2022 by Magenaut

Will the executable of a small, extremely simple program, such as the one shown below, that is compiled on one flavor of Linux run on a different flavor? Or would it need to be recompiled?

Categories Q&A, Unix & Linux Tags architecture, compatibility, compiling, linux Leave a comment

Output file contents while they change

August 9, 2022 by Magenaut

I want to output a file’s contents while they change, for example if I have the file foobar and I do:

Categories Q&A, Unix & Linux Tags stdout, tail, terminal Leave a comment

Why is find not accepting ‘-exec cp {} dir +’?

August 9, 2022 by Magenaut

I have a directory, dir1 which contains many files whose names end in either .jpg or .png. I want to copy all the .png files to dir2 which is empty.

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

Replace pattern each time with a different string (taken from external file)

August 9, 2022 by Magenaut

I have an input:

Categories Q&A, Unix & Linux Tags awk, perl, sed, text-processing Leave a comment

How to sort big files?

August 9, 2022 by Magenaut

I have a PC with Intel(R) Pentium(R) CPU G640 @ 2.80 GHz and 8 GB of RAM. I am running Scientific Linux 6.5 on it with EXT3 filesystem.

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

What is a hotplug event from the interface?

August 9, 2022 by Magenaut

According to Debian Network setup document allow-hotplug <interface_name> stanza in /etc/network/interfaces file starts an interface when the kernel detects a hotplug event from the interface. What is this hotplug event?

Categories Q&A, Unix & Linux Tags debian, network-interface, networking Leave a comment
Older posts
Newer posts
← Previous Page1 … Page143 Page144 Page145 … 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