Shell Script Interview Questions
Questions Answers Views Company eMail

write a non recursive shell script that accepts any number of arguments and prints them in the reverse order

3 15186

How to add some content in any file at some desired location without using VI or some other editor in UNIX

2 3692

Which is best institute for testing tool?

2000

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.

2021

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.

2160

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.

2210

How to initialize a directory size to a variable??

2 4247

How to write an Auto scripting for deleting old files using shell script and made a cron job to run on daily basis

1 4873

write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?

Wells Fargo,

3578

write a shell script to check the failed jobs?

Wells Fargo,

3944

Write a shell script to check whether a number is Armstrong number or not?

Flipkart,

1 15410

How will you schedule a job that will run every month last day?(some months have 30 days,some 31 days,28,29 days)

NTT Data, TCS,

1 2644

what are command line arguments? what is the need of those?

Flipkart,

1 1692

shell script for reverse the string

906

What is Linux language details

Quick Heal,

947


Post New Shell Script Questions

Un-Answered Questions { Shell Script }

I have 2 files and I want to print the records which are common to both.

683


What is web script?

569


What happens on a system call?

546


What is shell company all about?

561


Is it possible to substitute "ls" command in the place of "echo" command?

605






What are script files?

541


How do you debug a script?

552


What is bash used for?

567


How does ls command work?

573


What does $@ mean in shell?

585


Explain about login shell?

623


How will you copy a file from one machine to other?

538


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

585


What are the default permissions of a file when it is created?

480


What does $$ mean in shell script?

561