📄 run-ldconfig
字号:
#!/bin/bashldc="";if [ -x /sbin/ldconfig ]; then ldc="/sbin/ldconfig"; fiif test x$ldc = x; then which ldconfig 2>&1>/dev/null; if test $? -eq 0; then ldc=`which ldconfig`; fifiif test x$ldc = x; then echo ; echo "ldconfig is not available"; echo "do not forget to run ldconfig manually"; echo ; exit 1;ficp /etc/ld.so.conf /tmp/ld.$$.so.conf;echo $1 >> /tmp/ld.$$.so.conf;echo ;echo Running $ldc;$ldc -f /tmp/ld.$$.so.conf;echo ;rm /tmp/ld.$$.so.conf;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -