
我的一台 SUSE Linux Enterprise Server 12 SP5 正在生產中。幾天前,為了解決一些問題,我們執行了以下命令:
cd /bin
#ln -s /usr/bin/env env
之後一些指令linux指令如ls
,ll
不顯示內容。
oracle@livesrv:~> cd ahf_soft/
oracle@livesrv:~/ahf_soft> pwd
/home/oracle/ahf_soft **<< -------- My Current working directory**
oracle@livesrv:~/ahf_soft> du -sm * **<<-- I can see some file in this directory**
357 AHF-LINUX_v20.2.0.zip
364 ahf_setup
1 README.txt
oracle@livesrv:~/ahf_soft> ls **<< -- ls command not showing anything**
oracle@livesrv:~/ahf_soft> ls -la **<< -- this command also not showing anything**
oracle@livesrv:~/ahf_soft> ls -ld
oracle@livesrv:~/ahf_soft> ls -d
oracle@livesrv:~/ahf_soft> which ls
/usr/bin/ls
oracle@livesrv:~/ahf_soft> ls /usr/bin/ls
oracle@livesrv:~/ahf_soft>
請建議我解決這個問題?