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
What is file and example?
Which command would you use to create a file system on a new hard drive?
Brief about the command kill PID?
Write a command that will do the following: -look for all files in the current and subsequent directories with an extension c,v -strip the,v from the result (you can use sed command) -use the result and use a grep command to search for all occurrences of the word orange in the files.
How do I find my user id in linux?
What is git command?
What does touch do in linux?
Explain about gzip filename?
What is command to check ports running/used over local machine
What is nslookup command?
Explain getopts command of linux?
Explain trap command of linux?
What does mkdir mean?
What is bash history linux?
How do I search bash history?