由于在容器里yum安装软件提示缺少某库的原因,我直接从其它机器上将lib目录打包,放入到容器的/usr目录下。本想做个备份,将lib文件改个名,结果就成这样了
[root@web01 usr]# ls
bin etc games include lib lib64 lib64.tar.gz libexec libsudo local sbin share src tmp
[root@web01 usr]# mv lib64
lib64/ lib64.tar.gz
[root@web01 usr]# mv lib64
lib64/ lib64.tar.gz
[root@web01 usr]# mv lib64 lib64.bak
^C
[root@web01 usr]# ^C
[root@web01 usr]# ls
-bash: /usr/bin/ls: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory
[root@web01 usr]# ls
-bash: /usr/bin/ls: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory
[root@web01 usr]# ls
-bash: /usr/bin/ls: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory
[root@web01 usr]# mv lib64.bak lib64
-bash: /usr/bin/mv: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory
[root@web01 usr]#
[root@web01 usr]#
[root@web01 usr]#
[root@web01 usr]# tar
-bash: /usr/bin/tar: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: No such file or directory