[下一页][首页][上一页]

我如何搬移档案与目录?

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
$ _
[上一页][首页][下一页]