Shell Script Interview Questions
Questions Answers Views Company eMail

What is path variable bash?

622

What is the best scripting language?

634

What is .sh file in mac?

606

What is a scripting language simple definition?

630

How do I run a .sh file on mac?

752

What does debug script mean?

599

How do I run a script from command prompt?

610

What is scripting used for?

625

What does chmod do?

631

What is a beat in a script?

602

What can scripts do?

714

What happens on a system call?

620

What is web script?

637

What are script files?

601

How does ls command work?

646


Post New Shell Script Questions

Un-Answered Questions { Shell Script }

What is an sh file?

614


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

674


What is the difference between scripting and coding?

594


Explore about environment variables?

649


What does $0 mean in shell script?

613






How do I stop script errors?

626


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.

2286


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

1090


What will happen to my current process when I execute a command using exec?

587


one folder contains lot of students name but I want to fetch hello with every student name individually using shell script

575


Suppose you execute a command using exec, what will be the status of your current process in the shell?

654


How to print all the arguments provided to the script?

616


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

770


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

651


How do I open the shell in cmd?

592