Question: In linux::: Task 1 7 Create a script that displays the following: 1 . Displays the date and time 2 . Lists all the file
In linux::: Task Create a script that displays the following: Displays the date and time Lists all the file in your current directory Display your CPU model name. When executed your script should like the screenshot below. sysadmin@centos Scripts$ bash timecpu.sh Today is: Fri Oct :: CDT Here is a list of your current files in this directory: hello.sh meminfo.sh morning.sh timecpu.sh Your CPU is: IntelR XeonR CPU E v @ GHz Task INFO : Linux INFO: LINUX I Name your script timecpu.sh Add the necessary echo commands and comments to your script. See task Please paste a screenshot below demonstrating you completed this task successfully. Your screenshot below:Task Use the Iscpu command to find the CPU model name. To display only the model name, you may need to also use grep and cut. What command did you use to only output the CPU Model's name? Your answer below: Task Add the command from task to the script. Run the script and paste a screenshot below demonstrating you successfully completed this task. Your screenshot below:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
