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

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

0 Answers  


What is use of "cut" command?

3 Answers  


I want to upload a file to remote server through ftp daily.Can anyone suggest how to make a shell script for that.I hv credentials for that ftp

1 Answers  


Is bash an operating system?

0 Answers  


How do you debug a script?

0 Answers  


What is $1 in shell scripting?

0 Answers  


What is the command to find out users on the system?

0 Answers  


How to get the first line from a file using just the terminal?

0 Answers  


Set up a Sev 2 alert when the Primary WA service fails. A windows batch script needs to be created that will monitor the WA service on the Primary and when the service stops/fails a Sev 2 TT is generated for a particular team ?

0 Answers   TCS,


Explain about debugging?

0 Answers  


How do I open a jshell in cmd?

0 Answers  


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

0 Answers  


Categories