Use the sort command to print the lines from the /tmp/test.txt file in lexicographic order.
Use the sort command to print the lines from the /tmp/test.txt file in lexicographic order.
Sample Input 1:
laptop
notebook
screen
internetSample Output 1:
internet
laptop
notebook
screenCreate a free account to access the full topic