做了蠢事 求救 - Linux

By Robert
at 2013-01-14T00:27
at 2013-01-14T00:27
Table of Contents
系統: gentoo amd64
因為某個原因會改到 /lib64
我就先備份了 /lib64 as lib64.tar.zip
後來果然弄壞了
我就打算把 lib64.tar.zip unzip 給蓋掉 /lib64
就做了 mv /lib64 lib64.broken 這件天理不容的指令
然後我的任何執行檔都無法呼叫了
$ ls
-bash: /bin/ls: No such file or directory
$ mv
-bash: /bin/mv: No such file or directory
$ cp
-bash: /bin/cp: No such file or directory
$ vi
-bash: /usr/bin/vi: No such file or directory
vi 會去知道在 /usr/bin 底下 代表有走了 PATH
但是也知道 alias vi="vim" 壞了沒執行
我的 putty 上的 tmux 還活著
但是 無法開新的 window c-b c
外部也無法再遠端入 (可輸入密碼但是輸入完會 噴 no supported method...)
我想應該是任何 ref 到 /lib64 的行為都往生了
板上的人有沒有遇過這種蠢事
有解決的方法嗎?
如果要動到硬體的部份 我可能要明天才能去實驗室弄...T.T
<(_ _)>
--
因為某個原因會改到 /lib64
我就先備份了 /lib64 as lib64.tar.zip
後來果然弄壞了
我就打算把 lib64.tar.zip unzip 給蓋掉 /lib64
就做了 mv /lib64 lib64.broken 這件天理不容的指令
然後我的任何執行檔都無法呼叫了
$ ls
-bash: /bin/ls: No such file or directory
$ mv
-bash: /bin/mv: No such file or directory
$ cp
-bash: /bin/cp: No such file or directory
$ vi
-bash: /usr/bin/vi: No such file or directory
vi 會去知道在 /usr/bin 底下 代表有走了 PATH
但是也知道 alias vi="vim" 壞了沒執行
我的 putty 上的 tmux 還活著
但是 無法開新的 window c-b c
外部也無法再遠端入 (可輸入密碼但是輸入完會 噴 no supported method...)
我想應該是任何 ref 到 /lib64 的行為都往生了
板上的人有沒有遇過這種蠢事
有解決的方法嗎?
如果要動到硬體的部份 我可能要明天才能去實驗室弄...T.T
<(_ _)>
--
Tags:
Linux
All Comments

By Aaliyah
at 2013-01-16T19:26
at 2013-01-16T19:26

By Quanna
at 2013-01-19T14:17
at 2013-01-19T14:17

By Lily
at 2013-01-20T10:26
at 2013-01-20T10:26

By Dinah
at 2013-01-21T07:46
at 2013-01-21T07:46

By Mia
at 2013-01-24T06:07
at 2013-01-24T06:07

By Eden
at 2013-01-27T18:57
at 2013-01-27T18:57

By Zora
at 2013-02-01T09:38
at 2013-02-01T09:38

By Doris
at 2013-02-02T04:15
at 2013-02-02T04:15

By Lucy
at 2013-02-05T23:41
at 2013-02-05T23:41

By Dorothy
at 2013-02-08T03:20
at 2013-02-08T03:20

By Regina
at 2013-02-08T16:14
at 2013-02-08T16:14

By Daniel
at 2013-02-12T14:12
at 2013-02-12T14:12
Related Posts
linux distro的更新方式?

By Andrew
at 2013-01-13T00:32
at 2013-01-13T00:32
Ubuntu上用Chrome看youtube影片的問題

By Charlie
at 2013-01-12T22:36
at 2013-01-12T22:36
關於vt-x & KVM 的一些觀念上的問題

By Quintina
at 2013-01-12T05:02
at 2013-01-12T05:02
Ubuntu 12.04 安裝了KDE桌面後

By Zenobia
at 2013-01-12T00:19
at 2013-01-12T00:19
有關KVM的CPU問題

By Jacob
at 2013-01-11T16:57
at 2013-01-11T16:57