Open main menu

CDOT Wiki β

Changes

Tutorial8: Links / Process Management

59 bytes removed, 05:07, 24 February 2021
LINUX PRACTICE QUESTIONS
# Hard Links:<ol type="a"><li>What is the purpose of creating a hard-link?</li><li>What is a limitation of a hard link?<li>Write a single Linux command to create a hard link called '''~/backup/myfile.txt.lnk''' for the <u>existing</u> file called '''~/myfile.txt'''</li><li>Write a single Linux command to display the '''i-node''' number for both files.</li></ol><br>
# Symbolic (Soft) Links:<ol type="a"><li>What is the purpose of creating a symbolic (soft) link?</li><li>What is a limitation of a symbolic (soft) link?</li><li>Write a single Linux command to create a symbolic link called '''~/shortcuts/murray.saul.lnk'''<br>to the <u>existing</u> directory called '''~murray.saul'''</li><li>Write a single Linux command to display detailed information Are the inode numbers identical for both of those files above displaying their i-node numbers.?</li><li>What data is contained in the file called '''~/shortcuts/murray.saul.lnk'''?</li><li>What would be the size of the file called '''~/shortcuts/murray.saul.lnk'''?</li></ol><br>
# Write a single Linux command to run the program called '''~/clean.sh''' in the background.<br>a. What command would you issue to place the previously issued program in the foreground?<br>b. What command would you issue to confirm that this program is running in the background?<br>c. What key-combination would you issue to send that program again into the background?<br><br>
# Write a single Linux command to display running processes in “real-time”.
13,420
edits