How to open a read-only file in the shell?


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

Post New Answer

More Shell Script Interview Questions

Write a shell script to looking at the log file to see if the test has passed or not

2 Answers   TCS,


write a shell script that counts a number of unique word contained in the file and print them in alphabetical order line by line?

6 Answers   IBM, Wipro,


What are the different commands available to check the disk usage?

0 Answers  


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

0 Answers  


In my bash shell I want my prompt to be of format '$"present working directory":"hostname"> and load a file containing a list of user-defined functions as soon as I log in, how will you automate this?

0 Answers  


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

0 Answers  


What is inside a seashell?

0 Answers  


What is the difference between scripting and coding?

0 Answers  


What are the zombie processes?

0 Answers  


How to write a function?

0 Answers  


What are the various stages of a linux process it passes through?

0 Answers  


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

0 Answers  


Categories