answersLogoWhite

0


Best Answer

You could do something like:

sort fileName.txt | uniq > newfile.txt

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What command is used to Fetch names from a fileName.txt sort them and remove any duplicate entries in Unix?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you remove duplicate or invalid entries in windows media player 11?

try right clicking them then hit delete


Normalization form in details in points and examples?

Normalization is a process to reduce redundancy. By using normalization we can easily remove duplicate entries..


How do you refine a subset?

If a subset is defined by enumeration, you could remove "duplicate" entries. If defined by some generating function you might be able to simplify the function.


Which command can be used to view a routing table and add modify or remove static entries from the routing table?

route


How do you remove duplicate files in winamp library?

There is no way, unfortunately, but such a feature is on the Winamp wishlist. The Winamp library cannot list the same file twice, so you're not going to have multiple iterations of the same file on your disk in the first place. If you, on the other hand, have duplicate songs on your hard drive that you want removed, I'd recommend a duplicate file cleaner (Google will bring up a nice list of programs that will get the job done), then use the "Remove missing files from media library" option on Winamp to remove the entries for the files the duplicate cleaner removed.


How do you use the word alphabetize in a compound sentence?

"You should alphabetize the list, and then remove any duplicate entries." "The teacher wanted to learn her students' names, so she would alphabetize them to create the seating arrangement in class."


How do you delete duplicate records in a MySQL database using PHP?

MySQL has three methods for removing duplicate records. Using Delete Join, remove duplicate records. In MySQL, we may utilise the DELETE JOIN query to swiftly eliminate duplicate records Using the ROW NUMBER() function, delete duplicate records. USE THE INTERMEDIATE TABLE TO DELETE DUPLICATE ROWS. To learn more about data science please visit- Learnbay.co


What is the best way to remove duplicate iTunes files?

The best way to remove duplicate iTunes files is to manually delete them on the computer. This entails going through an entire playlist and manually deleting each duplicate entry.


How do you remove duplicate numbers from iphone?

Use this app, https://itunes.apple.com/us/app/remove-duplicate-contact/id494451397?mt=8 I had the same problem!


What two methods can be used to remove MAC address table entries from a switch?

Power cycle the switch to clear all dynamically learned addresses, and the clear mac address table command will remove statically and dynamically configured table entires


Is there a Database program and or a Spreadsheet program that can easily locate and delete duplicate entries?

Microsoft Access can easily locate and remove duplicate records from a table of data. The data is stored in a table, and a query is used to extract the duplicate records. You need to click on "new" query and a box will popup asking what sort of query you want to create. Pick the "find duplicates query". follow the wizard instructions and it should be quite clear. Any problems let me know.


How do you remove duplicate files windows vista32?

Use a good duplicate finder that supports Vista. There's plenty of choice.