|
[下一頁][首頁][上一頁]
|
|
我如何搬移檔案與目錄?
|
NAME
mv - 搬移檔案
SYNOPSIS
mv source target
mv source ... directory
|
| 範例: |
$ ls Notes hello_world mydir dir hello_world.c notes $ mv Notes mydir/dir $ ls dir hello_world hello_world.c mydir notes $ ls mydir/dir Notes $ mv hello_world.c notes mydir/dir $ ls mydir/dir Notes hello_world.c notes $ pwd /home/elvis $ mv mydir/dir/* . ...記得 "." 表示目前的目錄... $ ls Notes hello_world mydir dir hello_world.c notes $ |
| [上一頁][首頁][下一頁] |