I use the command wc -l count number of lines in my text files (also i want to sort everything through a pipe), like this: wc -l $directory-path/*.txt | sort -
service-object
uimenu
movewindow
protege
spring-starter
copywithzone
tianshou
csl
vitess.io
ikimagekit
chai
mobiledevice.framework
adtf
app-inspection
rust-rocket
symfony-4.4
pentaho-report-designer
custom-painting
react-native-animatable
yii2-user-roles
nsviewrepresentable
modbus-rtu-over-tcp
teamviewer
windows-process
cvi
rcw
borland-c++
appicon
timed
jarsigner