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

Answer Posted / asit

esp + p enter
upper arrow enter

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different variables present in linux shell?

614


Write a script to print the first 10 elements of fibonacci series.

1772


How can I set the default rwx permission to all users on every file which is created in the current shell?

911


What is c in shell script?

641


What is the equivalent of a file shortcut that we have a window on a linux system?

609






How do you debug a script?

569


Write a command sequence to find the count of each word?

542


What is a beat in a script?

548


Can you write a script to portray how set –x works?

555


What does echo $0 do?

590


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); }

1859


How to check if the previous command was run successfully?

597


Is bash an operating system?

547


What is a command line shell?

567


What is .sh file in mac?

561