write a shell script to emulate the Id command of PRIMOS
which lists files and directories.
It list files first with a header FILES and then directories
with a header DIRECTORIES.
This command has several options. The main ones are.
-file select files only
-dir select directories only
-reverse sort in reverse order
-no_header put no header on the output
-brief output the header only
-size display the size of each file
-help display Id´s syntax and options.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Shell Script Interview Questions

What is the first line in every perl script called?

0 Answers  


What is @echo off?

0 Answers  


What does sh mean?

0 Answers  


What are filters explain sort with all the options available?

0 Answers  


When should shell programming/scripting not be used?

0 Answers  


Why are shell scripts used?

0 Answers  


how to separate the even and odd number generated from one file to two separate file i.e. even numbers in file1.txt and odd numbers in file2.txt

4 Answers   Infosys,


Can shell script run on windows?

0 Answers  


What are the three main forms of enabling debugging in a shell script?

6 Answers   ADC, Wipro,


Write the syntax for "if" conditionals in linux?

0 Answers  


wats the deinitions for shell utility and filter?

0 Answers  


What is the best shell scripting language?

0 Answers  


Categories