Txt

Byte sized tech know-how.

  • Home
  • About

Tag Archives: length

14 Apr

Sort by Line Length

Sort file by line length. Original Article…


cat /etc/passwd | awk '{print length, 0}' | sort -n | awk '{1=""; print $0 }'
admin Posted in Code, Command Line, Linux awk, command, length, line, Linux, sort 1 Comment

Post navigation

Categories

  • Code
  • Command Line
  • Configuration
  • CSS
  • HTML
  • internet
  • JavaScript
  • Linux
  • Mobile
  • Perl
  • PHP
  • Python
  • Ruby
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Fruitful theme by fruitfulcode Powered by: WordPress
↑