Shell Script Interview Questions
Questions Answers Views Company eMail

what are bootlevel in linux?which level is booting by default.

Symphony,

5 6689

How to rename all the files in a folder having specific extension? Example: I have some files with extension (.txt) in a folder name 'Test'. I have to rename all the .txt files in a test and its subdirectories to .my extension.

Interra IT,

15 19830

What is the command for " how many shell is running in your system or how many shell supported by your system " ?.

3 5177

The information of the two files should be redirect to Third file in such a way that, the third file contain the information like this. 1st line in third file should be from 1st file 2nd line in Third file should be from 2nd file 3rd line in Third file should be from 1st file 4th line in Third file should be from 2nd file - - so on

Caritor,

2 4549

A file has multiple records each having three 30-bit long fields(field1,field2,field3).There is also a lookup file,LOOK_UP.dat.Now, we need to consider only the last ten digits of field1 and lookup the file LOOK_UP.dat. If there a match then field2 and field3 should replaced with corresponding data from the lookup file. otherwise that particular record,for which there is no match, should be stored in a seperate file.

Wipro,

2 3792

There are three departments A,B and C.Write a query to display the names of all the persons( in departments other than A) who are paid higher than the person receiving the lowest salary in DEPT A

Wipro,

1 3563

There is a record with fields namely name,roll no.,salary,grade etc.Now,write a script to create a file with multiple records have same combination of fields but with unique roll numbers.The script should work for different names in the input file.

Wipro,

1 4951

why did you apply to shell

Shell,

3 8171

how can you execute the shell scripts?

4 6268

how do you write sql queries using shell script for eg:- we have databae table like EMPNO,ENAME,SAL,DEPTNO columns in EMP table how you display EMPNO,SAL FIELDS from emp in SHELL SCRIPT please explain with an example

4 23296

what is the meaning of First line of shell script ,what is meaning of #! pleas explain brifly

4 15089

how to read systems current date and time

4 4985

is there any command to find user password?

4 6398

how to read systems current date and time

4 7214

write a shell script that counts a number of unique word contained in the file and print them in alphabetical order line by line?

IBM, Wipro,

6 15472


Post New Shell Script Questions

Un-Answered Questions { Shell Script }

What is a shell made of?

552


What does $$ mean in shell script?

566


What is shell scripting?

580


Give some situations where typing error can destroy a program?

716


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.

1703






How to open a read-only file in the shell?

632


How do I run a script from command prompt?

556


How to write a function?

588


What is a shell in operating system?

583


how to print the matrix form of 2-d, 3-d arrays in unix c shell scripts ?

3588


Why are shell scripts used?

614


How do you know which shell I am using?

583


What is the default ubuntu terminal?

608


How do I open the shell in cmd?

520


Which is better perl or shell scripting?

548