15
rated 0 times
[
15]
[
0]
/ answers: 1 / hits: 7161
/ 3 Years ago, wed, july 7, 2021, 5:15:01
Within a terminal, when you press up in your keyboard, you get to see the past commands you have given to it before in order. I was wondering if there was a way to see only the commands in the past starting with -for instance, "ls -l". That way, if the list of commands is:
- ls -l -a
- cmake
- cd ~/Desktop
- cmake
A way to just write "ls" and tab or whatever combination of key-strokes needed to pop up the past command giving in to the terminal starting with "ls"
Thanks,
More From » command-line