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

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  How to suggest a solution for the scenario of warehouse

How to Suggest a solution for the scenario of warehouse? Assume that the company has accumulated 20TB of data and that 20 percent per year growth is expected in size of Data Warehouse. Suggest a solution for this scenario with respect to software,..

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  What will be the exercise ratio of men and women

What will be the exercise ratio of men and women? Results indicated that women averaged 2 hours per week and men averaged 1.25 hour per week.

  How to enlarge the size of the array

How to enlarge the size of the array? Enlarge the size of the array to 25. Driver will start with 10 objects in it other than has provision for up to 15 new objects. You can use java any API.

  Designing a solution to the problem

Designing a solution to the problem and implementing the design using principles of correct syntax

  How to compare and evaluate speeds of dsl and cable modem

How to compare and evaluate speeds of DSL and cable modem Make a diagram of the DSL and Cable Modem connections to your ISP, cable organization, and telecom to your home router using Visio or its open source another software.

  What is home wireless network and security

What is home wireless network and security Methodology- Review topics covered in lecture hours, from textbook, reference books plus online research, to behaviour a comprehensive study about wireless network security implementation at home.

  How to create program that performs arithmetic function

How to create program that performs arithmetic function Prompt a user for values for the variables. Pass both variables to methods named sum() and difference().

  Risk assessment of ict system

Risk Assessment of ICT System and Developing Computer Incident Response System on WAMP platform

  What are the reasons of project failure

Make sure to contain how and why project was initiated, what setting up was done, how plan went wrong and what was done to solve the trouble. What are the reasons of project failure

  What devices use to get efficient network communication

CNT Books has expanded considerably as you first got network up and running three years ago. It at the present occupies an entire floor in building, and its LAN has full-grown to contain several servers and more than 60 workstations.

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