what is command like " #(cd unixos; pwd) " tell me OUTPUT

Answer Posted / louis

the commands in () will be lanched in a new (sub-)shell
in this shell you will change dir or have an error (no dir),
and have you current dir
all the display of potential error and the working directory
will be displayed in the subshell and thus you will not see
the outputs

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the example of command sentence?

510


What is du command in linux?

546


Is cmake a compiler?

593


What does wc command do in unix?

525


What is the command to delete a file linux?

515






How do you create a text file in linux?

523


why is the tar command used?

540


How do I clear my run history?

553


Explain trap command of linux?

561


Which command is used to clear the screen?

535


What are the linux commands used in devops?

548


You wish to print the file vacations with 60 lines to a page. Which of the following commands will accomplish this?

494


Which command will show you free/used memory? Does free memory exist on linux?

558


What is parallel ssh?

534


Suppose you try to delete a file using the rm command and the deletion fails. What could be the possible reason?

545