Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

How to use the sort command

sort <filename>

# to sort numerically
sort -n

# to sort and display only one of duplicate contents
sort -u

# to reverse the output of sort
sort -r

#check man sort for other options
Comment

PREVIOUS NEXT
Code Example
Shell :: vue command not found 
Shell :: how to uninstall a package installed using homebrew 
Shell :: upgrade bash version mac 
Shell :: aws cli check if a bucket exists and you have permission to access it 
Shell :: installing xlswriter 
Shell :: how to link a directory in linux 
Shell :: ubuntu 755 and 644 
Shell :: bash get value after equal sign 
Shell :: .gitignore not working 
Shell :: grep show lines above and below 
Shell :: git tag delete 
Shell :: install storybook react 
Shell :: linux how to display current time with timezone 
Shell :: ping with timestamp 
Shell :: bash array of strings 
Shell :: install laravel globally mac 
Shell :: slugify npm 
Shell :: bash calculate division 
Shell :: rails scaffold 
Shell :: composer uninstall dev require 
Shell :: git initialize repository 
Shell :: how to turn on hotspot on windows 10 
Shell :: check lines of code in a folder 
Shell :: docker remove all images powershell 
Shell :: installing webpack-cli 
Shell :: install kotlin ubuntu 
Shell :: specific branch clone git 
Shell :: how to check jibri version 
Shell :: pytest suppress exit code 
Shell :: how to install blackeye bash 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =