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

how to read systems current date and time

4 Answers  


What are the types of script?

0 Answers  


What is the difference between grep and egrep?

0 Answers  


How shell works?

1 Answers  


What are the different communication commands available in the shell?

0 Answers  






Is shell scripting a programming language?

0 Answers  


In my bash shell I want my prompt to be of format '$"present working directory":"hostname"> and load a file containing a list of user-defined functions as soon as I log in, how will you automate this?

0 Answers  


What does egrep mean?

0 Answers  


What is the difference between bash and shell?

0 Answers  


defination of mapfile in winrunner?

0 Answers  


How will I insert a line "abcdef" at every 100th line of a file?

2 Answers  


Is shell scripting easy to learn?

0 Answers  


Categories