shell - Does the `hash` builtin command in Bash has an `-l` option? - Stack Overflow
I am teaching myself the shell and enjoying it a lot. I came across the hash
builtin the other day in a course and did some study on it. This led me to the bash manual, and namely this section on the builtin: link with highlight
The highlighted part is quite interesting and somehow indicates that at one point, the hash
built in was supposed to print its internal hash table in a manner that can be automatically parsed:
The -l option causes output to be displayed in a format that may be reused as input. If no arguments are given, or if only -l is supplied, information about remembered commands is printed.
However, the command hash -l
does not seem to work and there is no mention of this anywhere. LLM's also seem to say that -l
is not a valid option for the builtin.
Below is a screenshot from the same manual in which the syntax of the builtin also mysteriously does not show the option described in the text just below it: A screenshot of the syntax line of the hash builtin
My question is whether this is an upcoming feature or a past feature of the builtin that was later removed.
There is not practical application, I am just learning and asking for the sake of science and learning.
According to the manual, the command hash -l
should show the hash table used to lookup commands in the bash shell.
- 与微信支付宝较量有难度 解析Apple Pay入华细节
- 消息称PC供应商面临来自Windows 8的挑战
- ios - Flutter: works on Xcode but not on VS code and Android Studio - Stack Overflow
- reactjs - Why can't AWS Amplify find my components from a working version of my React App? - Stack Overflow
- How to import a svelte.ts component from another app where the import is with $lib - Stack Overflow
- swiftui - Previewing SwiftData Records in Xcode Previews - Stack Overflow
- testrigor - Exception upon running tests to run database query - Stack Overflow
- powerbi - Keep Date Filter Active After Hiding Matrix-Based Calendar in Report Viewer - Stack Overflow
- ruby - How to render HTML with Haml::Engine from Haml 6.3? - Stack Overflow
- docker - Python Telegram bot freezes when run by Airflow - Stack Overflow
- java - Spring FileNotFoundException when accessing a file from another lab - Stack Overflow
- r - How to construct a grouped line plot using ggstatsplot without faceting? - Stack Overflow
- google cloud platform - Java application unable to find ADC when Workload Identity is enabled on GKE cluster - Stack Overflow
- excel - VBA script to remove duplicates when the gap values between duplicate pair meets certain criteria - Stack Overflow
- Dbeaver customizing column and table name colors - Stack Overflow
- VS Code : How to deactivate matching characters in bold? - Stack Overflow
- amazon web services - AWS Workload Identity - Stack Overflow