Master programming syntax, solve interactive challenges & run live code in Syntaxis Explore Arena →
menu_book Course Curriculum (Linux Command Line) expand_more
Linux Command Line / Text Processing

sort lines

Learn sort lines in Linux Command Line with a dedicated explanation, a topic-specific example, edge guidance, and a mastery check.

12 min read • Beginner
linux-014.sh
shell
printf 'pear\napple\nbanana\n' | sort
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content