Sign in to follow this  
Followers 0
BINREV SPYD3R

HPR - HPR1172: LiTS 022: Sort

1 post in this topic

Linux In The Shell aims to explore the use of many commands a user can run in the Bash Shell. Tutorials include a write up with examples, an audio component about the write up, and a video component to demonstrate the usage of the command.

The website is http://www.linuxintheshell.org/

In todays episode

The sort command does just that, it sorts input.  Input can be a list of files, standard in, or files with standard in. The first example presents this simple file, shopping.txt,  containing a list of items:

chicken

fish

sour cream

bread crumbs

milk

eggs

bread

sinkers

fishing hooks

Issuing the sort command on this file:

sort shopping.txt

Would present the following output:

bread

bread crumbs

chicken

eggs

fish

fishing hooks

milk

sinkers

sour cream

For more information including a complete video please see http://www.linuxintheshell.org/2013/01/29/episode-022-sort/

Go to this episode

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0