Horje
bash only print duplicated lines Code Example
bash only print duplicated lines
# Basic syntax:
sort input_file | uniq -d
# Sort the file first because uniq requires a sorted file to work

# Note, uniq -d only prints one instance of lines that have duplicates
#	Use, uniq -c to count the number of duplicates in the file




Shell

Related
gumlet/php-image-resize 1.9.2 requires ext-gd * Code Example gumlet/php-image-resize 1.9.2 requires ext-gd * Code Example
Unrecognized command "eject" Code Example Unrecognized command "eject" Code Example
how to deploy to netlify from cli Code Example how to deploy to netlify from cli Code Example
uninstall dependencies npm Code Example uninstall dependencies npm Code Example
check postgres process in mac Code Example check postgres process in mac Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
16