Shell Script Interview Questions
Questions Answers Views Company eMail

Explain about "s" permission bit in a file?

617

What is the use of a shebang line?

620

I want to connect to a remote server and execute some commands, how can I achieve this?

576

I want to monitor a continuously updating log file, what command can be used to most efficiently achieve this?

754

What are "c" and "b" permission fields of a file?

564

How will you find the 99th line of a file using only tail and head command?

1997

What is the difference between grep and egrep?

612

What are the 3 standard streams in linux?

572

What is a boot block?

583

How can I send a mail with a compressed file as an attachment?

556

How can you find out how long the system has been running?

528

How will you print the login names of all users on a system?

575

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

961

What is an inode block?

579

How will you pass and access arguments to a script in linux?

586


Post New Shell Script Questions

Un-Answered Questions { Shell Script }

How does shell scripting work?

616


What does chmod do?

576


Can shell script run on windows?

566


What is a shell in operating system?

591


What does the sh command do?

607






What does $0 mean in shell script?

560


Write down the syntax of "for " loop

607


What makes c shell a more preferable option than the bourne shell?

542


shell script for reverse the string

919


What is the difference between bash and shell?

643


How can you find out how long the system has been running?

528


What is batch file programming?

696


Explain how you Automate your application using Shell scripting.

1849


What happens on a system call?

562


What is the use of "$?" Sign in shell script?

619