How will you list only the empty lines in a file (using
grep)?
Answer Posted / guest
grep "^$" filename
Is This Answer Correct ? | 23 Yes | 3 No |
Post New Answer View All Answers
What is inside a seashell?
What is shell geeksforgeeks?
Suppose you execute a command using exec, what will be the status of your current process in the shell?
Is shell scripting a language?
What is the difference between scripting and coding?
What is a shell? · Types of shell · what is shell scripting?
How to replace following lines, catch (DAOException e) { objLogger.error(this.getClass () + "addUpdateIssues() " + e); throw new BOException(5122); } catch (BOException e) { objLogger.error(this.getClass () + "addUpdateIssues() " + e); throw e; } catch (Exception e) { objLogger.error(this.getClass () + "addUpdateIssues() " + e); throw new BOException(5122); } Needs to be changed in to, catch (DAOException e) { AppException.handleException (null, null, e, null, null, null, "BOException", this.getClass() + "addUpdateIssues() ", null, null, null, null, null, null, null, null, 5122); } catch (BOException e) { AppException.handleException (null, null, null, e, null, null, "BOException", this.getClass() + "addUpdateIssues() ", null, null, null, null, null, null, null, null, 0); } catch (Exception e) { AppException.handleException (null, null, null, null, null, e, "BOException", this.getClass() + "addUpdateIssues() ", null, null, null, null, null, null, null, null, 5122); }
What is difference between bash and shell?
Why are there shells on the beach?
How do I debug a shell script?
write a shell script to check the failed jobs?
What are the various stages of a linux process it passes through?
What language is shell scripting?
What can you do with powershell?
What is the first line of a shell script called?