Thursday, January 18, 2007

(Unix/Linux Shell) How many lines in a file?

Linux (FC6)

wc -l tx.txt | cut -f 1 -d " "


wc -l tx.txt | sed -e 's/^ *//' | cut -f 1 -d " "
wc -l txt.txt | awk '{print $1}'

1 comment:

beatrixvallas said...

Tips for When to Stop Betting on Crypto and Why We
Many of the most popular cryptocurrency games for bettor can 바카라사이트 be found among them. Most of them are Bitcoin and 바카라사이트 Litecoin. However this isn't the only online gambling