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 mkdir?

727


What does mkdir mean?

867


How do I use nslookup in linux?

720


How to root mirror in linux?

748


Who linux commands?

761


What is the use of cp p command?

773


How can I delete a file in linux?

738


In order to improve your system’s security you decide to implement shadow passwords. What command should you use?

721


How do you grep?

725


What is simple command?

723


What is clang space engineers?

752


What is llvm used for?

749


What does the ps command do in linux?

703


Explain about sh?

766


You need to see the last fifteen lines of the files dog, cat and horse. What command should you use?

712