Question

In: Computer Science

Open two windows in Ubuntu, and list the content of the /dev/fd folder. Can you explain...

Open two windows in Ubuntu, and list the content of the /dev/fd folder. Can you explain the difference observed from the two windows? The name /dev/fd is actually a symbolic link to /proc/self/fd. The name self is also a symbolic link pointing to a number, which is the process ID of the current process. Therefore, the number pointed to by self is different if viewing from different windows.

Solutions

Expert Solution

Now we will understand what is dev/fd

These days systems of ubuntu are comming with a folder in the computer drive namine /dev/fd in them files are named somewhat differently and the files are 0,1,2,etc. now if we are opening a file in this folder it means we are duplicating discriptors. now, these files holds the pointing value of the current process as mentioned in the question description. so if we open dev/fd in seperate 2 windows it will show you the different files as these files are pointing to the currently running processes.now the question arises that what is the file descriptor in unix or ubuntu systems a file discriptor is a pointer/indicator used to access a file ,resource,a process and much more it is similar to the shortcuts in a windows based systems. now below i have provided you with the related screenshots to the question


Related Solutions

1.(a) Briefly explain with two examples how traditional leaders in Ghanaian communities can employ the Ubuntu...
1.(a) Briefly explain with two examples how traditional leaders in Ghanaian communities can employ the Ubuntu concept for the good of their people. (b). What in your opinion will be the role of African youth in the process to deconstruct negative representations of Africa? Briefly explain with four main points. 2. (a) Briefly explain why a Jamaican can equally be considered an African. (b). Are the ideas of Marcus Garvey still relevant for Africans today? If yes, is it so...
You can use the "cat" command to list the content of a file. For example: cat...
You can use the "cat" command to list the content of a file. For example: cat /etc/fstab lists the content of the file /etc/fstab in the terminal window that you are currently using. If you use a redirection of the standard output of the "cat' command: cat /etc/fstab > foo then a file named "foo" is created in the local directory and the content of the file /etc/fstab is listed by the "cat" command into the file "foo", which then...
Can you explain Netflix's rising content costs and how it can maintain market share due to...
Can you explain Netflix's rising content costs and how it can maintain market share due to competition. What should be Netflix's strategy on expanding into future?
Explain the information content, or signaling of dividend policy and list a number of factors that...
Explain the information content, or signaling of dividend policy and list a number of factors that influence dividend policy in practice. What are stock dividends, and how do they differ from cash dividends?
1.List two macroeconomic factors that can be used to describe a small open economy. Choose one...
1.List two macroeconomic factors that can be used to describe a small open economy. Choose one of the economic factors you have listed and assume that the factor increased in one of the small economies. Briefly describe the expected effect of the change (the factor increasing) on other economic factors in the small economy and the effect on other economies (rest of the world). (You are applying your knowledge about small or large open economy here)
Explain how Windows and Linux can work together in diverse environments.
Explain how Windows and Linux can work together in diverse environments.
List three different digital artifacts contained within a Windows operating system and how they can be...
List three different digital artifacts contained within a Windows operating system and how they can be used by a forensics analyst during a digital forensics investigation.
1. Briefly but completely explain the two most significant differences you discern from Windows and Linux...
1. Briefly but completely explain the two most significant differences you discern from Windows and Linux file management. 2. Explain why Windows compatibility may cause issues for users.
Explain what a Windows Registry Shellbag is and how it can be used during a forensic...
Explain what a Windows Registry Shellbag is and how it can be used during a forensic investigation.
CAN YOU OPEN THE LOCK USING THESE CLUES?
CAN YOU OPEN THE LOCK USING THESE CLUES? 682 ONE DIGIT IS RIGHT AND IN ITS PLACE 614 ONE DIGIT IS RIGHT BUT IN THE WRONC PLACE 206 TWO DIGITS ARE RIGHT BUT BOTH ARE IN THE WRONG PLACE. 738 ALL DIGITS ARE WRONG  380 ONE PICIT IS RIGHT BUT IN THE WRING PLACE.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT