Using set -A write a script to print the output of the ls
command in 5 columns with two spaces between each column.
Pretend that ls does not have multicolumn output.


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

Post New Answer

More Shell Script Interview Questions

Script S1 (which copies .dat files from one directory1 to another directory2) run continuously. Write Script S2 which kills S1 first, compresses all .dat files in directory1 and directory2 successfully, re-run Script S1 and stops self i.e. S2.

2 Answers   IBM, TCS,


What is awk script?

0 Answers  


What are the additional egrep symbols?

2 Answers  


What is the command to find out today's date?

0 Answers  


What is basename in shell script?

0 Answers  






What are the advantages of shell script?

0 Answers  


Explore about environment variables?

0 Answers  


What are the different types of variables used in shell script?

0 Answers  


what is the difference between writing code in shell and editor?

1 Answers  


What are the different types of shell scripting?

0 Answers  


How to debug the problems encountered in the shell script/program?

0 Answers  


What is bash eval?

0 Answers  


Categories