Question

In: Computer Science

Try to make it as simple as you can. Please provide the answers with some examples...

Try to make it as simple as you can. Please provide the answers with some examples as fast as you can.

Linux

Using the following directory structure (See Structure question # 3)

-Determine the absolute path for the following files and directories:

- Your_Name_goes_here.dat

-Sales

-Assuming your current directory is RegionA, determine the relative pathname for the following files and directories:

-West1.dat

-RegionB

$HOME

Project4

Payroll

.checks.dat

Pay2.dat

Sales

RegionA

East.dat

RegionB

West1.dat

Your_Name_goes_here.dat

West3.dat

Solutions

Expert Solution

An Absolute Path is the location of a file or directory from the root directory(/). In other words we can say absolute path is a complete path from start of actual filesystem which is the / directory.

$HOME is an environment variable which stores the location(absolute) of the user's home directory.

So, if my user name is user1, $HOME will generally contain /home/user1.

If I'm root $HOME will contain /root.

Now, if you are a normal user and user name is, let's say, user1.

The absolute path for Your_Name_goes_here.dat will be:-

         $HOME/Project4/Sales/RegionB/Your_Name_goes_here.dat

which is equivalent to

        /home/user1/Project4/Sales/RegionB/Your_Name_goes_here.dat

The absolute path for Sales will be:-

       $HOME/Project4/Sales/

or

      /home/user1/Project4/Sales/

_________________________________________________________________________________________

On the other hand, Relative Path is defined as path related to the present working directory(pwd).

Since your current directory is RegionA, the relative pathname for the following files and directories is:

West1.dat

     ../RegionB/West1.dat

.. is here for 1 directory upwards

RegionB

     ../RegionB


Related Solutions

Try to make it as simple as you can. Please provide the answers with some examples...
Try to make it as simple as you can. Please provide the answers with some examples as fast as you can. 11-Which of the following do all domains in the same forest have in common? (Choose all that apply.) a) The same domain name    b) The same schema c) The same user accounts    d) The same global catalog   12-Which of the following is a valid reason for using multiple forests? a) Centralized management     b) Need for different schemas c) Easy...
Try to make it as simple as you can. Please provide the answers with some examples...
Try to make it as simple as you can. Please provide the answers with some examples as fast as you can. 1-Which of the following best defines a computer used as a server? a)Computer hardware that includes fast disk drives and a lot of memory b)Operating system software that includes clients, such as a Web browser and Client for Microsoft Networks c)Operating system software that includes directory services and domain name services d)A computer with Linux installed. 2-If you want...
Try to make it as simple as you can. Please provide the answers with some examples...
Try to make it as simple as you can. Please provide the answers with some examples as fast as you can. 1-The technology that make up the core functionality of Windows Server 2012 include Active Directory, the Microsoft Server Manager, DHCP and IIS. Explain, in your own words, the nature and function of these technologies. Answer: 2-Windows Server Core is a new installation option in Standard, Enterprise, and Datacenter editions. The traditional Windows GUI is not available in Server Core....
Try to make it as simple as you can. Please provide the answers with some examples...
Try to make it as simple as you can. Please provide the answers with some examples as fast as you can. 1-The technology that make up the core functionality of Windows Server 2012 include Active Directory, the Microsoft Server Manager, DHCP and IIS. Explain, in your own words, the nature and function of these technologies. Answer: 2-Windows Server Core is a new installation option in Standard, Enterprise, and Datacenter editions. The traditional Windows GUI is not available in Server Core....
Try to make it as simple as you can. Please provide the answers with some examples...
Try to make it as simple as you can. Please provide the answers with some examples as fast as you can. 6-What are the potential disadvantages of using a dynamic and static IP Address? 7-Explain the functionality of a global catalog in the Windows networking. 8-Explain the following terms: TCP/IP protocol, and what are two command-line utilities that can be used to check TCP/IP configuration and IP connectivity, respectively? 9-Explain: Which Windows Server utility provides a common interface for tools...
Try to make it as simple as you can. Please provide the answers with some examples...
Try to make it as simple as you can. Please provide the answers with some examples as fast as you can. 1-Which of the following best defines a computer used as a server? a)Computer hardware that includes fast disk drives and a lot of memory b)Operating system software that includes clients, such as a Web browser and Client for Microsoft Networks c)Operating system software that includes directory services and domain name services d)A computer with Linux installed. 2-If you want...
Try to make it as simple as you can. Please provide the answers with some examples...
Try to make it as simple as you can. Please provide the answers with some examples as fast as you can. 6-What are the potential disadvantages of using a dynamic and static IP Address? 7-Explain the functionality of a global catalog in the Windows networking. 8-Explain the following terms: TCP/IP protocol, and what are two command-line utilities that can be used to check TCP/IP configuration and IP connectivity, respectively? 9-Explain: Which Windows Server utility provides a common interface for tools...
Try to make it as simple as you can. Please provide the answers with some examples...
Try to make it as simple as you can. Please provide the answers with some examples as fast as you can. 11-Which of the following do all domains in the same forest have in common? (Choose all that apply.) a) The same domain name    b) The same schema c) The same user accounts    d) The same global catalog   12-Which of the following is a valid reason for using multiple forests? a) Centralized management     b) Need for different schemas c) Easy...
Try to make it as simple as you can. Please provide the answers with some examples...
Try to make it as simple as you can. Please provide the answers with some examples as fast as you can. 11-Which of the following do all domains in the same forest have in common? (Choose all that apply.) a) The same domain name    b) The same schema c) The same user accounts    d) The same global catalog   12-Which of the following is a valid reason for using multiple forests? a) Centralized management     b) Need for different schemas c) Easy...
Try to make it as simple as you can. Please provide the answers with some examples...
Try to make it as simple as you can. Please provide the answers with some examples as fast as you can. Linux Using the following directory structure (See Structure question # 3) -Determine the absolute path for the following files and directories: - Your_Name_goes_here.dat -Sales -Assuming your current directory is RegionA, determine the relative pathname for the following files and directories: -West1.dat -RegionB $HOME Project4 Payroll .checks.dat Pay2.dat Sales RegionA East.dat RegionB West1.dat Your_Name_goes_here.dat West3.dat
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT