Home > Article > Operation and Maintenance > linux < >difference
##Difference:
> Overwrite output to text (Recommended learning: linuxOperation and Maintenance)
< Use the following file as the input of the previous command
touch test.txtLet’s try cat < a The following error will appear, indicating that this is followed by a file or directory
[root@oracle1 test]# cat < a bash: a: No such file or directorySo what can be in the file? First write aaa into test.txt and then execute cat < test.txt. It seems to be no different from directly cat test.txt
[root@oracle1 test]# cat > test.txt aaa ^C [root@oracle1 test]# cat test.txt aaa [root@oracle1 test]# cat < test.txt aaa
The above is the detailed content of linux < >difference. For more information, please follow other related articles on the PHP Chinese website!