What is .sh file in mac?



What is .sh file in mac?..

Answer / Ravi Prakash Gupta

.sh files are shell scripts used on Unix-based systems like MacOS. These files contain a series of commands written in a shell language, which can be executed to automate tasks.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Shell Script Interview Questions

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.

1 Answers   Wipro,


Calculate a real number calculation directly from the terminal and not any shell script.

1 Answers  


What is awk in shell script?

1 Answers  


What is the difference between a 'thread' and a 'process'?

3 Answers  


write a shell script to identify the given string is palindrome or not?

17 Answers   CTS, HP, IBM, InfoEst, Wipro,


What is the lifespan of a variable inside a shell script?

1 Answers  


How do I run a script on mac?

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  


How does shell scripting work?

1 Answers  


How do I debug a shell script?

1 Answers  


How do I run a bin bash script?

1 Answers  


How to customise the other shell?

2 Answers   Quest,


Categories