Interviewer And Interviewee Guide

Unix System Calls Interview Question:

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

Submitted by: Administrator
read 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

Read Online Unix System Calls Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.