1. Command line expansion {}
Mkdir-p a/b/{c,d/e}
2.-v Verbose in detail
3.touch
Touch-change file Timestamps
4.stat file display details of a file (three timestamps)
[email protected] Eric opt]# stat jdk-8u131-linux-x64.tar.gz File: ' jdk-8u131-linux-x64.tar.gz ' Size: 185540433 blocks:362384 IO block:4096 regular filedevice:802h/2050dinode:261639 links:1access: (0744/- rwxr--r--) Uid: ( 0/ root) Gid: ( 0/
5.cp
-R recursively copy a directory
[[email protected] Eric tmp]# cp-rv/opt//tmp/'/opt/', '/tmp/opt '/opt/jdk-8u131-linux-x64.tar.gz '/tmp/opt ' /jdk-8u131-linux-x64.tar.gz '/opt/rh ', '/tmp/opt/rh '/opt/yes '/tmp/opt/yes '
-P reserved Owner (Preserve)
-A archive archive replication, often used for backup
-A,--archive same as-dr--preserve=all-d same as--no-dereference--preserve=links-p,--no-dereference Never follow symbolic links in Source-r,-R,--recursive copy directories recursively
6.install
-D DIRECTORY ... Create a Directory
SRC DES Replication
-T DIRECTORY SRC
Only files can be copied, not directories
Linux Note _day03