Open main menu

CDOT Wiki β

Changes

Tutorial 8 - Links / Process Management

2,063 bytes added, 20:23, 25 October 2021
LINUX PRACTICE QUESTIONS
The purpose of this section is to obtain '''extra practice''' to help with '''quizzes'''.
Here is a link to the [https://matrix.senecacollege.ca/~osl640/questions/osl640_week7_practiceosl640_week8_practice.docx MS Word Document of ALL of the questions] displayed below but with extra room to answer on the document to simulate a quiz:
Your instructor may take-up these questions during class. It is up to the student to attend classes in order to obtain the answers to the following questions. Your instructor will NOT provide these answers in any other form (eg. e-mail, etc).
'''Review Questions:'''
# Define 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 term <u>existing</u> file called '''~/myfile.txt'''</li><li>Write a single Linux Distributioncommand to display the '''i-node'''number for both files.Are the '''i-node''' numbers identical?</li></ol><br># List and explain 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 '''two advantages~murray.saul''' </li><li>Are the i-node numbers identical for both of installing a Linux distribution on your home computer or laptop as either those files?</li><li>What data is contained in the host operating system or as a virtual machinefile called '''~/shortcuts/murray.saul.lnk'''?</li></ol><br># List and explain two things Background / Foreground Processes:<ol type="a"><li>Write a single Linux command to consider prior run the program called '''~/clean.sh''' in the '''background'''.</li><li>Write a single Linux command to installing place the previously issued program in the '''foreground'''.</li><li>Write a single Linux distribution on your home computercommand to '''confirm''' that this program is running in the background.# Explain why installing </li><li>What '''Multikey-bootcombination''' for would you issue to send that program again into the '''background'''?</li><li>Write a single Linux is useful for command to have that process sent into the background to '''computer troubleshootingcontinue running'''.?</li></ol><br># Define Managing Background processes:<br><span style="text-indent:120px;">Use the following diagram to answer the accompanying questions.<br>Each of the following questions will use the diagram below and are treated as independent situations.<br><br><span style="font-family:courier;font-weight:bold;">[1]&nbsp; Stopped vim a<br>[2]- Stopped vim b<br>[3]+ Stopped vim c</span></span><ol type="a"><li>Write a single Linux command to bring the second-recently process placed in the background into the term '''Virtualizationforeground'''.</li><li>Write a single Linux command to '''terminate job #3'''.</li></ol><br># List Write a single Linux command to display running processes in “real-time”.# Write a single Linux command to terminate a process that has the following PID: '''steps22384''' to install software or update your RHEL system.<br><br># List Aliases / History:<ol type="a"><li>Write a linux command to create an '''alias'''4 applicationscalled '''ld''' that are contained issues the command: '''ls -ld'''</li><li>Write a linux command to unset the '''alias''' created in the Red Hat Enterprise Linux distributionprevious question.# Explain the difference between </li><li>Issue a Linux command to list '''Live Linux distributionhistory''' and an of commands that match the pattern called '''installed Linux distributiontouch'''.</li></ol><br># Define the term Create a '''table'repo''. listing each Linux command, useful options What are repos (repositories) used and command purpose for? What one did you add to your VM?# What is the following Linux commands:<br>'''ln''' , '''ps''' , '''top''' , '''fg''' , '''bg''' , '''jobs''' , '''kill''' , '''alias''' , '''unalias''' , '''sudohistory'''? [[Category:OSL640]]