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 a makefile in linux?

497


What is p command?

576


What is unix finger command?

514


you wish to create a link to the /data directory in bob's home directory so you issue the command ln /data /home/bob/datalink but the command fails. What options hould you use in this command line to be successful.

544


What is df command in linux?

544






How do I run whois command?

507


How do I run a .sh file in linux?

555


Explain about system and user utilities?

566


Explain about refer?

540


Which command is used to terminate a process?

502


Find command can search for files by

551


please advice me what i have to prepare for NIC Exam(22-feb- 09). send me the question pattern for the 2 hrs exam. please sent it to manivannan_it15@yahoo.co.in

1905


What is the root directory linux?

507


What is SFC command?

485


How do I create a .txt file?

547