what is the use of uniq commmand?

Answer Posted / suitable

uniq command removes the duplicate lines from the sorted
file and display on the standard output. the original file
remains unchanged.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

580


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

1749


Who invented grep?

643


What are the commands in UNIX to list the files in a Directory?

606


What is grep r?

580






How do I search for a file in unix command?

539


What is the use of find command in unix?

572


How can you see the command line history?

578


What is a bash command?

620


What is the first character of the output in ls l command?

625


What are the general commands in using unix os for a beginner?

575


Why is shebang used?

587


Name the general commands in using unix os for a beginner?

613


Describe the zip/unzip command using gzip.

603


Explain command to display different lines that are found when compare two files?

671