Linux
  • Linux
  • Bash
  • Debian
  • Ubuntu
  • Shell
  • CentOS
  • SSH
☰

設定“shopt -s nocaseglob”一次/腳本就足夠了嗎?

tag-icon 2024-6-12 • tag-icon bash shopt
設定“shopt -s nocaseglob”一次/腳本就足夠了嗎?

在 bash 腳本中設定shopt -s nocaseglob一次就足夠了,還是需要在腳本中的每個函數之前設定它。

腳本完成後我是否需要再次打開它,或者這只是該終端的臨時設定?

THE END
透過 vim/nano 等編輯器寫入檔案與在 shell 中透過輸出重定向寫入檔案有什麼區別? 透過 vim/nano 等編輯器寫入檔案與在 shell 中透過輸出重定向寫入檔案有什麼區別?
ctrl 捲動到使用 tmux 縮放終端模擬器 ctrl 捲動到使用 tmux 縮放終端模擬器

相關內容

熱門問答

熱門問答

  • bash
  • shopt
  • linux
  • kernel
  • macos
  • keyboard-shortcuts
  • tmux
  • xdotool

© 2024 rvso.com 版權所有. 網站地圖