How to print pid of the current shell?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Shell Script Interview Questions

What does $@ mean bash?

0 Answers  


What is the first line in a shell script?

0 Answers  


How to set an array in linux?

0 Answers  


How can any user find out all information about a specific user like his default shell, real-life name, default directory, when and how long he has been using the system?

0 Answers  


What is the difference between running a script as ./scriptname.sh and sh scriptname.sh

1 Answers  






What are the different types of variables used in shell script?

0 Answers  


How does path variable work?

0 Answers  


How will you emulate wc –l using awk?

0 Answers  


Script S1 (which copies .dat files from one directory1 to another directory2) run continuously. Write Script S2 which kills S1 first, compresses all .dat files in directory1 and directory2 successfully, re-run Script S1 and stops self i.e. S2.

2 Answers   IBM, TCS,


Explore about environment variables?

0 Answers  


What is the difference between bash and shell?

0 Answers  


write a shell script to check the failed jobs?

0 Answers   Wells Fargo,


Categories