Cat (串联) 命令是Linux/Unix开源系统中比较常用的一个命令.我们可以通过Cat命令创建一个或多个文件,查看文件内容,串联文件并将内容输出到终端设备或新的文件当中,这篇文章我们将会以实例的方式讲解Linux中cat命令一些简便的用法. The cat (short for "concatenate") command is one of the most frequently used command in Linux/Unix like operating systems…
The cat command reads one or more files and copies them to standard output 也就是说,cat命令读取文件,并显示在 standard output 中.正常情况下,也就是显示在屏幕上. cat 的另一个功能是 concatenate, 连接.如下面这条命令: cat movie.mpeg.0* > movie.mpeg 将多个子mpeg文件合成为 movie.mpeg 文件. 如果输入 cat 不带参数: cat 将从 s…