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

How do I know my shell?

534


What language is clang written in?

484


How do makefiles work?

535


What is llvm used for?

520


What is ll command in unix?

616






What does the command env do?

537


Which command is used to check the number of files and disk space used and the each user’s defined quota?

547


What is makefile target?

514


Does cp overwrite?

564


Can I delete .bash history?

512


What are grep patterns called?

530


What is difference between free and available memory in linux?

509


How to know linux os is 32 bit or 64 bit?

531


What is p in mkdir?

562


How do I check dns entry?

556