↧
Answer by Kusalananda for Expand shell variable while editing command line
You may invoke the Readline function shell-expand-line by pressing Meta+Ctrl+e (on my system Meta is Esc) if the bash shell is in Emacs editing mode.Illustration:$ echo $PATHIf I now press Meta+Ctrl+e,...
View ArticleExpand shell variable while editing command line
If I write ls bla.* at the prompt and then I press = while the cursor is still on the bla.* part of the command line, the list of files matching bla.* is printed. If I press *, that word is substituted...
View Article
More Pages to Explore .....