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
How to debug the problems encountered in the shell script/program?
How to get the last line from a file using just the terminal?
How to enable the shell to know what program should be run to interpret the script?
What is the default shell of solaris?
Why is used in shell scripting?
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.
Write a command sequence to find the count of each word?
Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.
What are the different variables present in linux shell?
c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again
What does $@ mean bash?
How to set an array in linux?