Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

uniq bash sort

# uniq command filters outputs to be unique. For example:
sort letters.txt 
a b b c c c 
sort letters.txt | uniq
a b c
sort dogs.txt | uniq -d # Only shows duplicated lines
b c
Comment

PREVIOUS NEXT
Code Example
Shell :: linux env 
Shell :: how do I add a commit to an existing pull request 
Shell :: git push functions code 
Shell :: como instalar brew en linux 
Shell :: install rabbitmq docker image 
Shell :: git command line discard changes 
Shell :: install grammarly on mac brew 
Shell :: how to create a shortcut to a folder on linux 
Shell :: remove .idea folder from git 
Shell :: Run C# script on linux terminal 
Shell :: how to run script in linux at startup 
Shell :: [INS-30131] Initial setup required for the execution of installer validations failed. 
Shell :: docker compose up only one service 
Shell :: bash variable lowercase 
Shell :: How to clear or delete Terminal history in linux 
Shell :: uninstall mongo db 
Shell :: ssh timeout 
Shell :: how to delete command from terminal history 
Shell :: chkconfig: command not found 
Shell :: how to untrack files in git 
Shell :: prevent pushing to master github 
Shell :: git pull override local changes 
Shell :: chmod 400 in powershell 
Shell :: upgrade ubuntu command line 
Shell :: docker build 
Shell :: add a new line at the end of this file in powershell 
Shell :: List files and sort by date and time in Linux 
Shell :: the repository does not have a release file eoan 
Shell :: x11 development libraries 
Shell :: git ignore updates to file 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =