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

How to change our default shell?

5 Answers  


How to debug the problems encountered in the shell script/program?

0 Answers  


How do you rename the files(*.sh) with file names containing space in it?for example "interview question.sh" needs to rename to "interview-question.sh". Appreciate your inputs.Thanks.

5 Answers   Wells Fargo,


What is the significance of $#?

0 Answers  


In a single command how do you run the previous command in the command prompt.

5 Answers  


What is the syntax of "nested if statement" in shell scripting?

0 Answers  


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

0 Answers  


How can we find the process name from its process id?

0 Answers  


Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.

0 Answers  


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 is basename in shell script?

0 Answers  


What is the difference between break and continue commands?

0 Answers  


Categories