Question: using node js as a shell and on a Linux system. Will UPVOTE!! create a file A with the contents Hello world! on a line
using node js as a shell and on a Linux system. Will UPVOTE!!
create a file A with the contents "Hello world!" on a line by itself. Then, answer the following:
- What node statement will create a symbolic link from A to B?
- What node statement will create a hard link from A to C?
- What are the similarities and differences in the output of fs.lstatSync() on A, B, and C? Note you may want to use other functions such as fs.isFile() to test the return value of fs.lstatSync(). Do all of your tests in node.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
