Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

sort unix

# sort command sorts outuputs alphabetically as for example:
cat file | sort # a b b c
sort -r file # sorts reversely: c b b a
sort -u file # sorts and outputs uniquely: c b a
sort -n file2 # sorts numerically: 1 2 3
Comment

PREVIOUS NEXT
Code Example
Shell :: pytest_check 
Shell :: cat along with line numbers 
Shell :: append data to a file with cat command 
Shell :: uninstall editable pip 
Shell :: github create a new repository on the command line 
Shell :: jenkins download 
Shell :: how to go home directory in linux 
Shell :: what is echo in a batch file 
Shell :: swagger editor locally 
Shell :: install moment.js 
Shell :: helm upgrade repos 
Shell :: delete a branch from local 
Shell :: develop - FETCH_HEAD instead of origin develop 
Shell :: magento ssh commands 
Shell :: bitbucket ssh key not working 
Shell :: laravel github 
Shell :: failed: Invalid argument 
Shell :: drupal update config install 
Shell :: dir command list all files and subdirectories 
Shell :: how to make conda to use global packages 
Shell :: add shortcut to applications ubuntu 
Shell :: open crontab in nano 
Shell :: shell: how to grep a string 
Shell :: do command in a command linux 
Shell :: git cherry-pick 
Shell :: linux systeme de fichier 
Shell :: wsl lost internet connection 
Shell :: mac noide folder 
Shell :: E: Package ubuntu 
Shell :: linux kill other user xorg 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =