Write c program ''myls'' that functions like unix command ''ls''

Assignment Help Computer Engineering
Reference no: EM132384

Question

Write down a C program 'myls' that functions like unix command 'ls'.

Purposely, 'myls' is a program that displays file list under the current listing. The file list is displayed in dissimilar format as commanded by dissimilar flags of-

-F: File names are displayed in 5 columns. Each of them is marked according to type of file of it. Only following 3 types are necessary-

'*': for regular executables.

'/': for directories.

'@': for symbolic link.

-l: File names are displayed a row each. Full I-node info are displayed in way alike to "ls -l" does. However, path as displayed by "ls -l" can be omitted.

Reference no: EM132384

Questions Cloud

What is green computing and green communication technology : What is Green Computing and Green Communication technology.
Recognize how to locate fsmo roles : Recognize how to locate FSMO roles?
What occurs in an infinite loop : What occurs in an infinite loop? Create your own Repeat-until repetition arrangement.
Write proper sequence in design of a video rental database : Write proper sequence in design of a video rental database
Write c program ''myls'' that functions like unix command ''ls'' : Write C program 'myls' that functions like unix command 'ls'.
Is it right that rbac functionality is complicated : Is it right that RBAC functionality is complicated
What is meant by user cantered design : What is meant by ‘user cantered design'
Problem on encryption using a one-round version of des : Problem on encryption using a one-round version of DES.
How to concern about personal privacy, efficiency : How to concern about personal privacy, efficiency

Reviews

Write a Review

Computer Engineering Questions & Answers

  Write a research report on design of a cisco router

Systems research and investigate novel ideas and applications.

  How to store ten floating-point values into vector

How to store ten floating-point values into vector. Write down a program that declares a vector of ten floating-point values

  Develop a checkout lane simulation

Develop a checkout lane simulation that can be used to determine the optimal number of lanes that Cougar Mart should have open.

  How to write a program to find a traffic violation number

How to write a program to find a traffic violation number?

  How to classify emerging technologies

How to classify emerging technologies Inscribe obviously and succinctly about information management systems using proper writing mechanics.

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  What profit do you see with partitioned view

Explain your idea for a database along with your thoughts for a partitioned view. 1. How will you use this partitioned view?

  Write a program that reads in a list of positive integers

Write a program that reads in a list of positive integers. Write down a program which asks user to respond to a question by entering either 1 for yes or 2 for no.

  Calculate average time in a linear search

Calculate average time in a linear search

  What is meant by user cantered design

What is meant by ‘user cantered design'

  Explain examples of type of knowledge industry

Explain examples of type of knowledge industry

  Explain networking of cis 505

Explain networking of CIS 505? 1. Network Neutrality 2. Web2.0

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd