Загрузка...

Find any past command in Bash #coding #programming #developerproductivity

Reverse search with Ctrl+R can be awkward with a screen reader, because the matching command changes in place as you type. Here is the approach I use instead.

Pipe your shell history through grep to get a clean, readable list of past commands that match a keyword:

history | grep firebase

Each result comes back with its history number. To run one again, use the bang operator with that number:

!86

That re-runs command number 86 without retyping it. It reads cleanly line by line and works in any Bash session.

More keyboard first and screen reader friendly developer tips at codingblindtech.com.

#bash #accessibility #screenreader

Видео Find any past command in Bash #coding #programming #developerproductivity канала Coding Blind Tech
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять