C program to list for every file in a directory & its inode number and file name Post author:Educate Post published:October 30, 2023 Post category:C and C++ / OS Post comments:0 Comments #include #include #include main(int argc, char *argv[]) { char d[50]; if(argc==2) { bzero(d,sizeof(d)); strcat(d,"ls "); strcat(d,"-i "); strcat(d,argv[1]); system(d); } else printf("\nInvalid No. of inputs"); } You Might Also Like Program to implement FIFO page replacement technique August 22, 2023 C program to simulate the cpu scheduling priority algorithm. August 18, 2023 Design and Implement a menu driven Program in C for the operations on Singly Linked List of Student Data with the fields August 4, 2023 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.
Design and Implement a menu driven Program in C for the operations on Singly Linked List of Student Data with the fields August 4, 2023