在这种情况下,块internal内正在做什么location?
error_page 404 /custom_404.html;
location = /custom_404.html {
root /usr/share/nginx/html;
internal;
}
Run Code Online (Sandbox Code Playgroud) 我正在开发一个简单的脚本,它以交互方式要求用户文件夹路径进行分析。
read -p 'Provide the folder to analyze: ' newFolderToAnalyze
Run Code Online (Sandbox Code Playgroud)
问题或不当行为是read -p '...'无法与用户 shell 环境交互,我不能只写/home/然后 tab 来自动完成,
有什么方法可以使用 shell 脚本向用户请求一些东西,但仍然使用 shell 提示必须提供的所有功能吗?
似乎当脚本进入该read -p '..'行时,解释器的所有强大功能都消失了。