Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to set case ignored in Bash Shell

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly explains how to ignore case in Bash Shell. The explanation in this article is simple and clear, easy to learn and understand. Please follow the editor's train of thought to study and learn how to ignore case in Bash Shell.

/ .inputrc settings:

The code is as follows:

# do not show hidden files in the list

Set match-hidden-files off

# auto complete ignoring case

Set show-all-if-ambiguous on

Set completion-ignore-case on

"\ ep": history-search-backward

"\ e [A": history-search-backward

"\ e [B": history-search-forward

By default, you will be prompted by pressing twice, but only once when show-all-if-ambiguous is turned on.

Turning off match-hidden-files does not show hidden files. Tebby is that when you are in the Home directory, you will feel so clean.

When completion-ignore-case is turned on, case is ignored. When I write PHP, I estimate that about 1 shift 4's keys are all shift + 4, damn dollar sign! Shell orders, I don't want to wrestle with uppercase letters anymore, just let it be done.

History-search-*, type a few letters and press the up and down arrows to search for your history commands.

Thank you for your reading, the above is the content of "how to set case in Bash Shell". After the study of this article, I believe you have a deeper understanding of how to set the case in Bash Shell, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report