answersLogoWhite

0


Best Answer

Too difficult to answer here. I would find the source code and use that (if you really had to). Might require a 'port' to another operating system if it wasn't Unix based.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you write a c program for diff command that we use in unix?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is a command in Unix?

Essentially, a command in Unix is a program that you execute for a certain purpose. It could be anything, from a shell script, to copying or deleting files, etc.


Unix command to list a basic program?

If the program is in source code and stored in a file, use the 'cat' command to list out its contents.


Write a UNIX command to display the current date in the form ddmmyyyy?

UNIX command to display the current datedate +'%d/%m/%Y'Niraj sharma


What do you mean by sleep and wakeup in unix?

sleep is a unix command line program that suspends program execution for specified period of time.. syntax:- sleep time example:- sleep 10 date, time and wait are the related commands of sleep command...


What is the use of execute command in unix?

There is no traditional 'execute' command in Unix.


Brief description of format command in unix?

There is no standard 'format' command in Unix.


Write a unix program to print print a pattern?

echo 'print a pattern'


What do CD command do in unix?

The 'CD' command is not standard for Unix. The 'cd' command, however, will change directories (folders). It is a means of navigating the Unix file system.


What is the unix command to send message to all the users who are logged in?

The command is 'wall' (write all). In some systems it can only be executed by the administrator.


Which is the most commonly used command for referencing detailed information about a particular command in UNIX?

In Unix, use the 'man' command.


Define the term cat in unix?

'cat' is short for concatenation; it is a Unix utility program to print the contents of 1 or more files on the standard output. It is similar to the 'type' command in Windows.


What is the difference between unix command and utilities?

Utilities are programs that can run or execute. Commands are slightly different than utilities. Command refers to the name of the program and any arguments you specify to that program to change its behavior.