In a single command how do you run the previous command in
the command prompt.
Answer Posted / anjan raha
!!
It will display previous executed command
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is the meaning of $1 in shell script?
Explain about shebang?
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?
What is shell prompt?
Why are shell scripts used?
What is awk in shell script?
What happens when you type ls?
Is shell scripting a language?
What is gui scripting?
What is the command to find out users on the system?
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); }
Can we run shell script in windows?
How do I run a script from command prompt?
I want to monitor a continuously updating log file, what command can be used to most efficiently achieve this?
Write a shell script that adds two numbers if provided as the command line argument and if the two numbers are not entered throws an error message.