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

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,


How do I run a bin bash script?

0 Answers  


What is the purpose of scripting?

0 Answers  


What is the lifespan of a variable inside a shell script?

0 Answers  


What is @echo off?

0 Answers  


How do I run a .sh file?

0 Answers  


Print the 10th line without using tail and head command.

0 Answers  


1.Write a script, which converts a number from binary to hexadecimal format or vice versa.

1 Answers   ADP,


What is the use of script interpreter in shell scripting?

3 Answers  


What is Linux language details

0 Answers   Quick Heal,


Devise a script that takes file name as arguement(which must present in the current directory)and locates from your home directory tree all thpath names of its links.Then mail the list to self.

0 Answers  


What is shell and terminal?

0 Answers  


Categories