Skip to content

Magenaut

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

terminal

How to find application’s path from command line?

August 10, 2022 by Magenaut

For example, I have git installed on my system.
But I don’t remember where I installed it, so which command is fit to find this out?

Categories Q&A, Unix & Linux Tags system-calls, terminal Leave a comment

How to launch an application with default “terminal emulator” on Ubuntu?

August 10, 2022 by Magenaut

I wanted to execute some command in terminal emulator, like Konsole, but I need to make this cross-desktop.

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

Why do Vim colors look different inside and outside of tmux?

August 10, 2022 by Magenaut

Environment:

Categories Q&A, Unix & Linux Tags colors, terminal, tmux, vim Leave a comment

How important is it that $TERM is correct?

August 10, 2022 by Magenaut

I recently switched from rxvt-unicode to st. This means I went from $TERM=rxvt-unicode-256color to $TERM=st-256color.

Categories Q&A, Unix & Linux Tags environment-variables, terminal, terminal-emulator Leave a comment

How do I jump to the next or previous word with CTRL + arrow keys in a console?

August 10, 2022 by Magenaut

In terminal emulation applications, pressing CTRL + Left / Right arrows jumps from one word to the previous or next one. Is it possible to have the same functionality in a Linux console, whether it is in text or in framebuffer modes?

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

Clear / erase a mistyped invisible password on a shell / terminal in Linux

August 10, 2022 by Magenaut

One thing that annoys me using Linux’s terminal is when I have to type a invisble password, like when you run ssh. Sometimes I mistype one or more letters and then I have to press backspace key a few times to make sure that I erased everything to start again.

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

How can I set my default shell to start up tmux

August 10, 2022 by Magenaut

I would like my default bash shell to go straight into tmux instead of my always having to type tmux every time.

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

How to change the contents of a line on the terminal as opposed to writing a new one?

August 10, 2022 by Magenaut

So, when wget gets a web page, it shows you a status bar that indicated how much the file(s) is/are downloaded. It looks like this:

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

How safe is it to cat an arbitrary file?

August 10, 2022 by Magenaut

Sometimes when I cat a binary file by mistake, my terminal gets garbled up. Nothing a quick reset can’t fix, but couldn’t an attacker theoretically create a file that, when displayed on a terminal, would execute some arbitrary code? Through an exploit in the terminal emulator or otherwise.

Categories Q&A, Unix & Linux Tags cat, special-characters, terminal Leave a comment

How can I break away from an SSH session that has crashed?

August 10, 2022 by Magenaut

Many times I have an SSH session that doesn’t respond anymore (for example, when I lose internet connection and then reconnect). Ctrl+C, Ctrl+D, Ctrl+Z and a zillion of key presses don’t have any effect.

Categories Q&A, Unix & Linux Tags ssh, terminal Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 … Page12 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