Difference between revisions of "Wc"
Jump to navigation
Jump to search
(20 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{lc}} | ||
+ | <code>wc -l</code> | ||
+ | * https://man7.org/linux/man-pages/man1/wc.1.html | ||
+ | <code>[[-m]], [[--chars]]</code> | ||
+ | echo -n 12050000000 | wc -m | ||
+ | |||
+ | [[echo]] yourstringtocountcharacters | tr -d '\n' | wc -m | ||
+ | |||
+ | echo yourstringtocountcharacters | [[wc -m]] | ||
+ | 28 | ||
+ | |||
+ | == Related commands == | ||
+ | * <code>[[grep]]</code> | ||
+ | * <code>[[taskset -p]]</code> | ||
+ | * [[Workshop Campaign (WC)]] | ||
== See also == | == See also == | ||
* {{grep}} | * {{grep}} | ||
− | + | * {{wc}} | |
+ | * {{line}} | ||
[[Category:Linux commands]] | [[Category:Linux commands]] |
Latest revision as of 10:50, 1 August 2023
Advertising: