Linux or Unix, programming homework help

Anonymous
account_balance_wallet $25

Question Description

The questions should be in the file below.  Thank you. 

Unformatted Attachment Preview

1- What file in the etc/ directory contains user’s hashed password? 2-What file and file-field are read by the finger command? 3- When a parent process dies, what happens to any child processes that are still running? 4- What is the effect of the command: $ killall root (Where root is the root account of the system) 5-List 4 shortcomings of root accounts: 6-Write a BASH command that would force the OS into single-user mode. 7-Explain when it would be necessary to use the non-rewinding interface file of any backup device. 8-In the file permission listing –rwsr--r--, what does ‘s’ signify? 9-Create a BASH script that performs file system cleanup by finding and removing all files in and below your home directory that have a (.core) or (.tmp) extension. 10-Show the crontab file entry that would run the script from question 1, every Monday, Wednesday, and Friday at 5:30 AM. Assume the name of the script is fileCleanup.sh and that it is located in the ~/script directory. 11-Create another script that asks a user to enter a search term from the console & then uses that term with grep to search all log files in the dev/logs directory for matching lines. 12-What regular expression would you type into the script from question 33 if you were looking for kernel errors in the category or kern.alert, kern.crit, or kern.emerg 13-Write a regular expression that would find date fields of the form: mm-dd-yyyy and where the field is delineated with either tabs or spaces. 14-Compare and contrast the use of conventional hard-drives as a primary storage medium against the newer Solid State Devices, (SSDs). 15-Describe the part of the boot process that locates and mounts an Operating System to main memory. ...
Purchase answer to see full attachment

Tutor Answer

AnkitP
School: Rice University

please check the attached file, if you want to change or add something in this, please let me know, i  will make further changes also.Thanks

1- What file in the etc/ directory contains user’s hashed password?
shadow file
2-What file and file-field are read by the finger command?
passwd and User ID Info
User ID Info field add extra information about the users e.g. full name, phone
number etc.

3- When a parent process dies, what happens to any child processes that are still running?
When a parent process dies before its child the child processes becomes orphan
processes. The init process which is the parent of all processes becomes the new
PPID (parent process ID) for the child processes.

4- What is the effect of the command: $ killall root
the system)

(Where root is the root account of

The killall command is used to kill all running instances or processes which
associated with the programs whose names are provided as arguments. This
command kill all the instance of root along with child processes.
5-List 4 shortcomings of root accounts:
1. Root account represents a single point of failure
2. Minimal Support for auditing. You can easily see which...

flag Report DMCA
Review

Anonymous
Tutor went the extra mile to help me with this essay. Citations were a bit shaky but I appreciated how well he handled APA styles and how ok he was to change them even though I didnt specify. Got a B+ which is believable and acceptable.

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors