Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

[LINUX] I need the command for each of these steps Step 1: Use putty to log on t

ID: 3726975 • Letter: #

Question

[LINUX]

I need the command for each of these steps

Step 1: Use putty to log on to your Linux account with your username and password.

Step 2: Type script a2_script at the prompt. The system will respond with

This means that the system will start “recording” all your input and output into a file named typescript.

Step 3: At the prompt, type a command that creates a directory named fire60.

Step 4: Type the command that changes your current location in the file system to fire60 which is also known as your home directory.

Step 5: At the prompt, type the command that provides you with your current location in the file system. Record the name of the directory.

Step 6: At the prompt, type the command that creates a subdirectory of your current directory named Sales. Confirm that the subdirectory has been created.

Step 7: Type the command that changes your current location in the file system to the Sales subdirectory. Confirm that you are now located in the new Sales subdirectory.

Step 8: Create a new file named Sales.date in the Sales subdirectory by directing the output of the date utility to the file. Verify that the Sales.date file exists in the subdirectory. Append the Sales.date file with the 2017 calendar.

Step 9: Change your current location back to your home directory. Verify that the change occurred.

Step 10: Type exit at the command line to save the script file you started in Step 2. The system will respond with:

Explanation / Answer

Note: All the statements in bold are the commands to enter in the terminal. If you have any difficulties regarding this, post a comment. I'll be happy to help.

Step 3: To create a directory named fire60

mkdir fire60

Step 4: To change the current location to fire60

cd fire60

Step 5: To know the current location in file system

pwd

Step 6: creating subdirectory named Sales

mkdir Sales

Step 7: Changing the current location to Sales

cd Sales

Step 8: Ceating new file Sales.date and inputing the output from date utility

date > Sales.date

To verify that Sales.date file exists:

ls

Appending the Sales.date file with 2017 calender:

cal -y 2017 >> Sales.date

Step 9: Going back to the home directory (fire60)

cd ../

Step 10: Saving and exiting script file

exit

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote