c program to implement the unix or linux command to
implement
ls -l >output.txt

Answer Posted / muralidharan

Please use the system function

Itz may be helpful for implement the unix command in c program

syntax : - system("clear");

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the possible return values of kill() system call?

498


What is the first process created by the kernel in unix?

480


Explain the mount and unmount system calls?

527


Tell me how to protect a process from others to kill?

509


What is the difference between command and utility in unix?

490






Explain c program to implement the unix or linux command to implement ls -l >output.txt?

450


What is the fork() system call?

543


The very first process created by the kernel in unix is?

472


How to protect a process from others to kill?

536


Explain the difference between command and utility in unix?

493


Explain the unmount system calls?

532


Explain the mount system calls?

563


Name the command which is used to execute system calls from exe?

509