Question I
Question I
This question carries 40% of the marks for this assignment.
You are asked to develop a bash shell script program that collects information about the computer that is executing it and further executes some tasks (it is up to you, what the tasks should perform). We are expecting that the shell script program makes use of the following bash command categories:
[ 6 marks each]
1. Read at least two arguments from the command line
2. Process management (examples: ps, jobs and top) { I would search for specific process and try to kill it}
3. System information (examples: date, time) { I would use the time to keep track of the execution time of each task}
4. Network (examples: ssh, sftp and scp) { I would here try to connect to remote services such as ssh, ftp and http}
5. Programming (examples: java, javac, python, perl,){ I would here write script command to compile and run a JAVA or python program}
6. File permissions (examples: chmod, chown) { I would try to change the file permission for specific files}
What I suggest is to create a folder a put there all necessary files (for instance a java source file, python and/or any other file} and execute my script within this folder.
You are also asked to relate the shell command you use to the Linux operating system call, you have also to specify whether the shell command is an exactable or an internal shell command. [ 4 marks]
6 years ago
20
Purchase the answer to view it

- C574420.zip
Purchase the answer to view it

- shell_script.zip
- nursing
- HRM548 Recruitment and Retention Practices Week 4 DQ
- Career in Business Systems Development
- Review Eastern District of New York Prosecution Team and Philosophy article. Contact your local United States Attorney’s office and identify current tactics or “non-confidential” investigations they may have recently completed. Know that once a case is co
- What motives people to shop online (vs. in brick-and-mortar stores)?
- Youth Unemployment Rate:
- 700 word minimum paper
- MA 170 Finite Mathematics Week 3
- Business & Society
- CMGT 442 Week 2 Individual Assignment Huffman Trucking Security Risks
