Which application can I use to figure out what to put in .inputrc for any custom keyboard shortcut? I've tried a few, and none of them seem to be usable:
showkey, showkey -a and read just print ' if you press Ctrl-'.
xev prints them separately, and doesn't print anything that seems usable for .inputrc.
I really dont understand bash`s use of control characters.
I'm trying to set up my .inputrc to perform a backwards unix-word-rubout but I'm currently failing at doing so.
I have M-w mapped in my .inputrc.
this does not work:
"\eu": universal-argument
"\ew": "\eu-1\C-w"
nor does this:
"\ew": "\e-1\C-w"
not even doing it interactively in the shell by pressing M-- followed by C-w works, i.e.
Hello
I have a group of files
Code:
a1.profile a2.profile a3.profile a4.profile b1.profile b2.profile b3.profile b4.profile
These files all have the same first line with a value s1 atop the columns
Code:
s1_context s1_ref s1_sample s1_% etc
I am trying to use sed in a for loop to replace the s1 in the header of each each file with the initial part of the filename with something like
Just now noticed latest readline _finally_ including an option to list tab-completions downwards(like zsh also can), instead of from left-to-right, by adding in inputrc;set completion-display-width 0This imho is much easier to decipher, like e.g.:$ ls /foo/bar-1[tab]
bar-1.2.12
bar-1.3.13
bar-1.4.14Instead of:$ ls /foo/bar-1[tab]
bar-1.2.12 bar-1.3.13 bar-1.4.14This was the only thing I previously
Hi,
Request your help in getting help with the below text formatting using awk. I am still learning awk and your help here is appreciated. Thanks in advance.
Desireoutput
----------------
Code:
Virtual Pool Destination Profile Profile Profile Profile
1. virtual-1 pool-1 212.254.110.174:https profile-a-1 profile-b-1 profile-c-1 profile-d-1
2.
To disable the system bell or beep on Linux, at least the tab completion, and the back space bell.
Edit the file /etc/inputrc (as root) and add this line.
set bell-style none
Do that if you want to be a system wide setup.
If you want it only for some user session or for your own session.
Edit the file ~/.inputrc
and there add the line.
I have an issue with one of my servers running Ubuntu. MySQL is not working because the disk is "full".
I checked the root directory and there's 218GB of data in there but the du command won't tell me where it's all located.
hey guys,
I'm trying to set up a profile so that when the screen goes off data goes off and when screen goes on data goes on. That's the easy part which i managed to do by myself. Now I'd like to add this to the profile: when the screen is off, I want the data to go on every 20 minutes for 30 seconds. Is that even possible? lol (I wanna make sure I get my emails and all the syncing).