How to find application’s path from command line?
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?
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?
I wanted to execute some command in terminal emulator, like Konsole, but I need to make this cross-desktop.
I recently switched from rxvt-unicode to st. This means I went from $TERM=rxvt-unicode-256color to $TERM=st-256color.
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?
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.
I would like my default bash shell to go straight into tmux instead of my always having to type tmux every time.
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:
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.
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.