When running
wc -l models.txt
, we get the output which looks like 2113 models_work.txt
. I wonder how to get the 2113
from that output using the cut
command or something along those lines. It doesn't work when combined with the cut
command like wc -l models.txt | cut -f1
. Any help would be appreciated! Tks!
Asked by Tung
(171 rep)
Nov 1, 2023, 10:05 AM