发布日期:2014-01-01 16:05:03
1 * Output of entire files        cat tac nl od base64
2 * Formatting file contents      fmt pr fold
3 * Output of parts of files      head tail split csplit
4 * Summarizing files             wc sum cksum md5sum sha1sum sha2
5 * Operating on sorted files     sort shuf uniq comm ptx tsort
6 * Operating on fields           cut paste join
7 * Operating on characters       tr expand unexpand
8 * Directory listing             ls dir vdir dircolors
9 * Basic operations              cp dd install mv rm shred
10 * Special file types          mkdir rmdir unlink mkfifo mknod ln link readlink
11 * Changing file attributes      chgrp chmod chown touch
12 * Disk usage                    df du stat sync truncate
13 * Printing text                 echo printf yes
14 * Conditions                    false true test expr
15 * Redirection                   tee
16 * File name manipulation        dirname basename pathchk mktemp
17 * Working context               pwd stty printenv tty
18 * User information              id logname whoami groups users who
19 * System context                date arch uname hostname hostid uptime
20 * SELinux context               chcon runcon
21 * Modified command invocation   chroot env nice nohup stdbuf su timeout
22 * Process control               kill
23 * Delaying                      sleep
24 * Numeric operations            factor seq
25 * File permissions              Access modes
26 * Date input formats            Specifying date strings

11 Basic operations
*******************

This chapter describes the commands for basic file manipulation:
copying, moving (renaming), and deleting (removing).

* Menu:

* cp invocation::               Copy files.
* dd invocation::               Convert and copy a file.
* install invocation::          Copy files and set attributes.
* mv invocation::               Move (rename) files.
* rm invocation::               Remove files or directories.
* shred invocation::            Remove files more securely.

 

发表评论