Skip to content

Magenaut

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

line-editor

How to repeat currently typed in parameter on bash console?

August 11, 2022 by Magenaut

I was just typing something along the lines of:

Categories Q&A, Unix & Linux Tags bash, line-editor, readline Leave a comment

How to stop bash editing the history when I reuse and modify an entry?

August 6, 2022 by Magenaut

Some instances of bash change the command history when you re-use and edit a previous command, others apparently don’t. I’ve been searching and searching but can’t find anything that says how to prevent commands in the history from being modified when they’re reused and edited.

Categories Q&A, Unix & Linux Tags bash, command-history, line-editor Leave a comment

Copy and set-mark in Bash as in Emacs?

August 6, 2022 by Magenaut

I would like to be able to copy and paste text in the command line in Bash using the same keyboard bindings that Emacs uses by default (i.e. using C-space for set-mark, M-w to copy text, C-y, M-y to paste it, etc.).

Categories Q&A, Unix & Linux Tags bash, inputrc, line-editor Leave a comment

Is it possible to name a part of a command to reuse it in the same command later on?

August 6, 2022 by Magenaut

If I want to move a file called longfile from /longpath/ to /longpath/morepath/ can I do something like

Categories Q&A, Unix & Linux Tags bash, command-line, line-editor Leave a comment
  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