LINUX里面的cat命令和cp命令有啥不同点?求说明

cat 直接将文件读取到屏幕上。
cp 将文件复制到其他地方。
Cat 无法更改文件属性。
cp 可以更改文件属性。
使用cat查看内容。
cp 用于复制文件。
你自己掂量一下吧。

linux常用命令:cat 和 touch 有什么区别

cat:查看文件内容。
touch:创建一个新的空文件或修改文件的时间。

cat filename:显示文件内容。
touch filename:创建新的空白文件或更新时间。

cat /etc/passwd:查看系统用户文件。
touch newfile.txt:创建一个新的空文件。

猫日志.txt | grep "error":在日志文件中查找错误关键字。

touch oldfile.txt:旧文件更新时间为当前时间。

编译提示错误:touch source.c。