{"id":18438894,"url":"https://github.com/youseftareq33/linux_system-management-tasks-project","last_synced_at":"2025-04-14T13:24:02.533Z","repository":{"id":248702168,"uuid":"829452212","full_name":"youseftareq33/Linux_System-Management-Tasks-Project","owner":"youseftareq33","description":"use command-line operations and system management tasks on a Linux environment.","archived":false,"fork":false,"pushed_at":"2024-07-16T13:17:26.000Z","size":2608,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-16T10:44:41.037Z","etag":null,"topics":["linux","linux-command"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/youseftareq33.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-16T13:04:13.000Z","updated_at":"2024-08-07T19:03:08.000Z","dependencies_parsed_at":"2024-07-16T16:07:16.021Z","dependency_job_id":null,"html_url":"https://github.com/youseftareq33/Linux_System-Management-Tasks-Project","commit_stats":null,"previous_names":["youseftareq33/linux_system-management-tasks-project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youseftareq33%2FLinux_System-Management-Tasks-Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youseftareq33%2FLinux_System-Management-Tasks-Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youseftareq33%2FLinux_System-Management-Tasks-Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/youseftareq33%2FLinux_System-Management-Tasks-Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/youseftareq33","download_url":"https://codeload.github.com/youseftareq33/Linux_System-Management-Tasks-Project/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248887113,"owners_count":21177822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["linux","linux-command"],"created_at":"2024-11-06T06:22:26.125Z","updated_at":"2025-04-14T13:24:02.501Z","avatar_url":"https://github.com/youseftareq33.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linux Command-Line Operation and System Management Tasks Project\n\n# Question 1:\n\n1. Question#1: Use the find command to compile a list of all directories in your system (under the root’/’directory).\nThe command must redirect the output so that the list of directories ends up in a file called directories.txt and the\nlist of error messages in a file called errors.txt.\n\n2. Question#2: run vi forever in the terminal and write the following script: \n\nwhile true \n\ndo echo hi Comp311 students\u003e out \n\ndone: wq! \n\n3. Question#3: Run the command forever in the background using \u0026. \n\n4. Question#4: Run the command forever in the foreground, suspend it with CTRL+z, and\nput it into the background using bg. Next, run the command jobs, then the command ps.\nFinally, bring the job back into the foreground with fg. \n\n5. Question#5: Run the command forever four times in the background using \u0026, then use \nthe kill command to terminate the process by its job number. Repeat this task but kill the \nprocess by specifying its PID. \n\n6. Question#6: Run the command forever in the background using \u0026, then use the kill \ncommand to suspend (stop)the process. Finally, use the bg command to resume running \nthe process.\n\n7. Question#7: Suppose there are many forever processes in the background, for example,\nmore than 50 processes in the jobs. We need to kill these processes at once. All processes \nmust be killed unclearly, and the terminal mustn’t be killed, terminated, or hanged. \n(Justify your command line)\n\n8. Question#8: Create a variable called myprj2var in your current bash shell with value \nproject, then make sure that the variable myprj2var is passed from bash to ksh when you \nrun a ksh shell under your bash shell. \n\n9. Question#9: Create a Prj2 directory under your home directory, add the directory to the \nend of your current PATH environment variable (temporarily) and display the value of \nthe PATH variable on the screen.\n\n10. Question#10: What is the difference between nice and renice commands? Give a usage \nexample for each of them.\n\n\n# Question 2:\n\n1. Question#1: Display the login names (e.g., u1180111) of all users whose last name is \nMohammad (all cases) and whose default shell is zsh.\n\n2. Question#2: Display the first names of all unique users (all cases) in uppercase with \ncomp322 as part of their home directory, sorted by the numerical value of their user ID numbers \nin descending order.\n\n3. Question#3: Select all sh shell usernames (full name, separated by a space in uppercase) and \nsave them to a file called sh_shellusers. \n\n4. Question#4: Save users from user number 15th to user number 20th into a user.txt file. The\nname in this file should appear in uppercase and sorted in descending order (i.e., first name and \nlast name separated by a space).\n\n5. Question#5: Display the unique first names of all users (all cases) whose last names end with \nthe letter between a-o, and save the result to the a_oSorted.txt file \n\n6. Question#6: List the full names (all in uppercase) sorted in descending order of all users \nwhose shell is NOT zsh shell.\n\n7. Question#7: List the last names of all users (sorted based on ID number in ascending). The\nuser that has a login name starts with u116. \n\n8. Question#8: Display all files in the (/etc.) directory that do not contain word passwd in \nthese files page by page on the screen\n\n9. Question#9: Display the number of directors in the /etc. The directory starts with any \nletters (a-k) for all cases. \n\n10. Question#10: List the initials (i.e., the first letter of the first name followed by the first \nletter of the last name) of all users with ksh as their default shell.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyouseftareq33%2Flinux_system-management-tasks-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyouseftareq33%2Flinux_system-management-tasks-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyouseftareq33%2Flinux_system-management-tasks-project/lists"}