13,420
edits
Changes
→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. Are the '''i-node''' numbers identical?</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>Are the inode numbers identical for both of those files?</li><li>What data is contained in the file called '''~/shortcuts/murray.saul.lnk'''?</li></ol><br>
# Running Processes in the Background<ol type="a"><li>Write a single Linux command to run the program called '''~/clean.sh''' in the background.</li><li>Write a single Linux command to place the previously issued program in the '''foreground'''.<br>Write a single Linux command to '''confirm ''' that this program is running in the background.<li></li>What '''key-combination ''' would you issue to send that program again into the '''background'''?</li><li>Write a single Linux command to have that process sent into the background to '''continue running'''?</li></ol><br><br>
# Write a single Linux command to display running processes in “real-time”.
# Write a single Linux command to terminal a process that has the following PID: '''22384'''