shell脚本 在终端打印LD_LIBRARY_PATH
时间: 2023-10-07 08:04:13 浏览: 336
要在终端打印LD_LIBRARY_PATH,可以使用以下的shell脚本命令:
```shell
echo $LD_LIBRARY_PATH
```
这条命令会打印出当前终端环境中的LD_LIBRARY_PATH变量的值。LD_LIBRARY_PATH是一个环境变量,用于指定动态链接库的搜索路径。在终端中执行上述命令后,会将LD_LIBRARY_PATH的值打印出来。
#### 引用[.reference_title]
- *1* *3* [【Shell篇】循环查找某个目录的脚本文件并打印运行](https://blog.csdn.net/qFAFAF/article/details/130562857)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [linux运行脚本,内容实时打印到文件中](https://blog.csdn.net/HELLOMRP/article/details/128914202)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文