Explain c program to implement the Unix or Linux command to implement
ls -l >output.txt?
Submitted by: Administratorread the files in current directory using opendir and
readdir system calls. readdir will return filenames in the
directory. For each entry returned by readdir system call,
use stat system call to read statistics of the file. Stat
system call will give all the info about the file as that
of ls -l command.
Submitted by: Administrator
readdir system calls. readdir will return filenames in the
directory. For each entry returned by readdir system call,
use stat system call to read statistics of the file. Stat
system call will give all the info about the file as that
of ls -l command.
Submitted by: Administrator
Read Online Unix System Calls Job Interview Questions And Answers
Top Unix System Calls Questions
☺ | What is the difference between command and utility in Unix? |
☺ | Explain the mount and unmount system calls? |
☺ | Explain c program to implement the Unix or Linux command to implement |
☺ | Explain What are the Unix system calls for I/O? |
☺ | What command is used to execute system calls from exe? |
Top OS Unix Categories
☺ | Unix IPC Interview Questions. |
☺ | Unix General Interview Questions. |
☺ | Unix System Calls Interview Questions. |
☺ | Unix Threads Interview Questions. |