[root@iZ2vc5lqzt23aweti4j777Z 30thSep2024]# cat -A test1.txt
Love is an untamed force. $
$
When we try to control it, it destroys us. $
$
When we try to imprison it, it enslaves us. $
$
When we try to understand it, it leaves us feeling lost, confused and happy. (Paulo Coelho)$
[root@iZ2vc5lqzt23aweti4j777Z 30thSep2024]# wc test1.txt
7 39 211 test1.txt
[root@iZ2vc5lqzt23aweti4j777Z 30thSep2024]# vim test2.txt
[root@iZ2vc5lqzt23aweti4j777Z 30thSep2024]# cat test2.txt
some,
content,
in,
test2.txt.
[root@iZ2vc5lqzt23aweti4j777Z 30thSep2024]# wc test2.txt
4 4 30 test2.txt
[root@iZ2vc5lqzt23aweti4j777Z 30thSep2024]# cat -A test2.txt
some,$
content,$
in,$
test2.txt.$
[root@iZ2vc5lqzt23aweti4j777Z 30thSep2024]#
[root@iZ2vc5lqzt23aweti4j777Z 30thSep2024]# echo "hello world"|wc -w
2
common commands on WC linux
于 2024-09-30 16:01:35 首次发布