How do we delete all blank lines in a file?


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

Post New Answer

More Shell Script Interview Questions

what is the meaning of First line of shell script ,what is meaning of #! pleas explain brifly

4 Answers  


RAM one table colums a1,a2,a3,a4 respective values 2,4,7,8 KRISH one table colums a1,a2,a3,a4 respective values 3,4,6,9 IN RAM & KRISH a4 column if comparing values RAM A4 - KRISH A4 ( 8-9 =1 THEN print 5 or (RAM) a4 value 10 KRISH a4 values 2 then 10 -2 =8 print 5*8=40 or diff 5 print same

1 Answers   Tech Mahindra,


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

1 Answers  


how to delete all the files with extension .dat rom a directory tree from root to third level in a single unix command?

4 Answers  


How do you know which shell I am using?

0 Answers  


What is a file basename?

0 Answers  


defination of mapfile in winrunner?

0 Answers  


How to customise the existing shell?

1 Answers  


Where are cowrie shells found?

0 Answers  


What can scripts do?

0 Answers  


Print a given number, in reverse order using a shell script such that the input is provided using command line argument only.

0 Answers  


What are the different shells available?

3 Answers  


Categories