Difference between revisions of "Wc"

From wikieduonline
Jump to navigation Jump to search
Line 14: Line 14:
 
== Related commands ==
 
== Related commands ==
 
* <code>[[grep]]</code>
 
* <code>[[grep]]</code>
* [[taskset -p]]
+
* <code>[[taskset -p]]</code>
  
 
== See also ==
 
== See also ==

Revision as of 10:35, 29 March 2023

wc -l

-m, --chars

echo -n 12050000000 | wc -m
echo yourstringtocountcharacters | tr -d '\n'  | wc -m
echo yourstringtocountcharacters | wc -m
28

Related commands

See also

Advertising: