亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 10590 | 回復(fù): 5
打印 上一主題 下一主題

[系統(tǒng)管理] 目錄改名導(dǎo)致目錄進去不了 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2013-08-14 10:10 |只看該作者 |倒序瀏覽
各位大俠,
AIX7.1下一oracle 數(shù)據(jù)文件目錄testdb, 本是想通過目錄改名將數(shù)據(jù)文件備份起來,
結(jié)果不心名字弄錯了,用了這個命令"mv testdb testdb",結(jié)果悲劇了。
現(xiàn)進testdb目錄提示目錄不存在,請問各位大俠,如何把testdb還原出來?先謝謝啦。
$ cd testdb
ksh: testdb:  not found.

論壇徽章:
0
2 [報告]
發(fā)表于 2013-08-14 10:36 |只看該作者
目錄存在,但進不去,我想testdb這個名字中可能有特殊字符了。各位有什么辦法沒有?
$ ls -l
total 48
drwxr-xr-x    2 oracle   oinstall        256 Aug 14 09:17 testdb___
drwxr-xr-x    2 oracle   oinstall       4096 Jul 30 13:56 testdb_bk
drwxr-xr-x    2 oracle   oinstall       4096 Aug 02 09:56 testdb

$ du -sg *
0.00    testdb___
8.86    testdb_bk
9.29    testdb

$ cd testdb
ksh: testdb:  not found.

論壇徽章:
0
3 [報告]
發(fā)表于 2013-08-14 11:43 |只看該作者
我把原來那個testdb___改名成testdb也可以的,出現(xiàn)下面的情況,但原來的文件我要弄出來。
$ ls -l
total 56
drwxr-xr-x    2 oracle   oinstall       4096 Aug 14 11:06 testdb
drwxr-xr-x    2 oracle   oinstall       4096 Jul 30 13:56 testdb_bk
drwxr-xr-x    2 oracle   oinstall       4096 Aug 02 09:56 testdb

$ ls -li
total 56
36960 drwxr-xr-x    2 oracle   oinstall       4096 Aug 14 11:06 testdb
36896 drwxr-xr-x    2 oracle   oinstall       4096 Jul 30 13:56 testdb_bk
32800 drwxr-xr-x    2 oracle   oinstall       4096 Aug 02 09:56 testdb


$ ls -l | awk '{print $9}'

testdb
testdb_bk
testdb

$ ls -l | awk '{print $9}' >1.txt

$vi 1.txt
testdb
testdb_bk
testdb_^?

看到怪字符了,testdb_^?, 但還是進不去。
$ cd testdb_^?
bash: cd: testdb_^?: A file or directory in the path name does not exist.

論壇徽章:
0
4 [報告]
發(fā)表于 2013-08-14 15:05 |只看該作者
已經(jīng)搞定,將其他幾個test開頭的目錄改名,然后cd test* 就可以了。

論壇徽章:
0
5 [報告]
發(fā)表于 2013-08-29 01:42 |只看該作者
有意思,還真沒試過

論壇徽章:
0
6 [報告]
發(fā)表于 2013-09-10 12:04 |只看該作者
$ cd testdb_^?可以使用$ cd testdb\_\^\?轉(zhuǎn)義的應(yīng)該
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP