sort
/sɔːrt/
noun … “a Unix command that arranges lines of text in a specified order.”
sort is a command-line utility in Unix-like operating systems used to organize lines of text in files or streams based on lexicographical, numerical, or custom criteria. By default, it arranges lines in ascending lexicographic order, but it supports options for reverse order, numerical sorting, and key-based sorting. This makes sort an essential tool for data organization, preprocessing, and analysis in shell workflows.
ls
/ɛl ɛs/
noun … “a Unix command that lists directory contents.”
ls is a standard Unix command-line utility used to display the contents of a directory, including files, subdirectories, and metadata such as permissions, ownership, and timestamps. It provides users with an immediate view of the filesystem structure and allows sorting, formatting, and filtering of entries through various options and flags.