You can list your aliases in
bash
pretty readily.$ alias alias emacs='emacs --no-site-file' alias ls='ls --color=tty -v' $
I, too, like my ls to show titty colours.
I just load bash.history in Kate or whatever and ctrl-f the command, copy the line, insert that in the terminal, adapt if necessary and go. Unless it’s one of the last ten or so I used, then it’s just ⬆️⬆️⬇️⬇️⬅️➡️⬅️➡️🅱️🅰️
history | grep <search>
I like seeing different usages
Use control r, and press control r repeatedly after the first find. It will cycle through every result.
This is why I follow linux memes, I don’t know if I have ever bumped into CTRL+R but I finally can let go of
history
If you haven’t used them before, there’s also
!
and^
.!
invokes the last command starting with the following string.^
searches for the last command containing the first string, replaces that string with the second, and invokes that.$ ls *.mp4 Episode_One.mp4 Episode_Two.mp4 $ !l ls *.mp4 Episode_One.mp4 Episode_Two.mp4 $ ^mp4^mp3 ls *.mp3 music.mp3 $
I used
!<index>
Together withhistory
by giving an index displayed in the history list, but did not know that you can use it like that! Also didn’t know about^
Thanks for the tips!
i only set aliases for flatpak apps i run on terminal