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 15703

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

2 3929

Which is best institute for testing tool?

2093

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.

2117

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.

2259

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.

2326

How to initialize a directory size to a variable??

2 4479

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

1 5057

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,

3683

write a shell script to check the failed jobs?

Wells Fargo,

4042

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

Flipkart,

1 15883

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 2852

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

Flipkart,

1 1873

shell script for reverse the string

1001

What is Linux language details

Quick Heal,

1047


Post New Shell Script Questions

Un-Answered Questions { Shell Script }

Explain about non-login shell files?

803


Explain about the exit command?

669


Is bash an operating system?

639


shell script for reverse the string

1001


What is console line?

666






How to check if a directory exists?

655


What does $0 mean in shell script?

653


How do I set bash as default shell mac?

657


What is meant by dos operating system?

676


What's the difference between scripting and coding?

702


Write the syntax for "if" conditionals in linux?

681


What is path in shell script?

709


Given a file find the count of lines containing the word "abc".

1138


How can the contents of a file inside jar be read without extracting in a shell script?

720


How do I save a powershell script?

661