reference :http://crybit.com/tar-command-usages-with-examples/ The ‘tar’ saves many files together into a single tape or disk archive, and can restore individual files from the archive. It is very useful in such conditions like when we want to send a
ZZ:Solaris 10 软件包分析 http://blog.chinaunix.net/uid-22759617-id-276756.html # Last updated: 2006-02-14 # an analysis of Solaris 10 packages# ++++++++++++++++++++++++++++++++++# SUNWCuser on SunBlade
使用cat命令进行文件的纵向合并,具体命令如下所示(注意:>代表将左边命令的执行结果以覆盖的方式放到右边,>>代表将左边命令的执行结果追加到右边) 关于tar命令的一些用法: tar 命令用来将很多文件打包成一个单一的磁带或者磁盘归档,并可从归档文件恢复出文件列表.当你需要发送大量文件时或者传输文件时非常有用. tar 的语法: # tar [options] file.tar file1 file2 .. .. .. file.tar 是 tar 归档文件,而其他 file1 和 fi