How to check if a directory exists?


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

Post New Answer

More Shell Script Interview Questions

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

3 Answers  


How to find all the files modified in less than 3 days and save the record in a text file?

0 Answers  


How will you emulate wc –l using awk?

0 Answers  


Write a script to print the first 10 elements of fibonacci series.

0 Answers  


What happens on a system call?

0 Answers  






What are the advantages of bash over all other shells?

1 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,


What is the difference between a shell variable that is exported and the one that is not exported?

6 Answers  


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

0 Answers  


Explain about the slow execution speed of shells?

0 Answers  


c program to check whether all the directories in the path exists has read and write permission

1 Answers  


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

1 Answers  


Categories