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 create environment variables?What are the conditions for creating variables?

1 Answers   Infosys, Wipro,


What are types of shells?

0 Answers  


How to redirect both standard output and standard error to the same location?

0 Answers  


what is tickets $ what low,medium,high priorite pls define time also

0 Answers  


How do I read a .sh file?

0 Answers  






Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.

0 Answers  


What is another name for a bash shell script that you might see?

0 Answers  


What can scripts do?

0 Answers  


Write a shell script in Linux to shift all characters in a file forward by five characters. (Thus “a” becomes “f’”).

2 Answers   Ignou, Tripura Info,


What is a shell made of?

0 Answers  


What is difference between shell and bash scripting?

0 Answers  


how will you find the total disk space used by a specific user?

0 Answers  


Categories