How to make userdefined variables to available for all
other shells?
Answer Posted / guest
By exporting the variable
export VAR=value_of_the_variable
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is a command line shell?
What is subshell?
c program to implement unix/linux command to block the signal ctrl-c and ctrl-\ signal during the execution ls -l|wc -l
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 does $1 mean in bash?
How do you debug a script?
Explain about the exit command?
How important is shell scripting?
What is a shell script? Can you name some of its advantages?
Is shell script a programming language?
What language is bash written in?
How will you emulate wc –l using awk?
Is bash an operating system?
What is the use of echo in shell script?
What is path variable bash?