Open main menu

CDOT Wiki β

Changes

Tutorial7: Links / Process Management

1,843 bytes added, 09:12, 30 January 2020
LINUX PRACTICE QUESTIONS
'''Review Questions:'''
# xWrite a single Linux command to create a hard link called '''~/backup/myfile.txt.lnk''' to the existing file called '''~/myfile.txt'''<br>Write a single Linux command to display detailed information for those files above displaying their i-node numbers.<br>In this case, will the inode numbers for those files above be the same or different?<br><br># x Write a single Linux command to create a symbolic link called '''~/shortcuts/murray.saul.lnk''' to the existing directory called '''~murray.saul'''<br>Write a single Linux command to display detailed information for those files above displaying their i-node numbers.<br>In this case, will the inode numbers for those files above be the same or different?<br><br>What data is contained in the file called ~/shortcuts/murray.saul.lnk?<br>What would be the size of the file called ~/shortcuts/murray.saul.lnk?<br><br># xWrite a single Linux command to run the program called ~/clean.sh in the background.<br>What command would you issue to place the previously issued program in the foreground?<br>What command would you issue to confirm that this program is running in the background?<br>What key-combination would you issue to send that program again into the background?<br><br># xWrite a single Linux command to display running processes in “real-time”.# xWrite a single Linux command to terminal a process that has the following PID: 22384# x# x6. Use the following diagram to answer the accompanying questions. Each of the following questions will use the diagram below and are treated as independent situations.<br><br>[1] Stopped vim a<br>[2]- Stopped vim b<br>[3]+ Stopped vim c<br><br>Write a single Linux command to bring the second-recently process placed in the background into the foreground.<br>Write a single Linux command to terminate the job # x3.<br><br>
# Create a '''table''' listing each Linux command, useful options that were mentioned in the online assignment #1 and command purpose for the following Linux commands: '''ln''' , '''ps''' , '''top''' , '''fg''' , '''bg''' , '''jobs''' , '''kill'''
[[Category:ULI101]]
13,420
edits