PLEASE DO QUICK LINUX ASSIGNMENT PLEASE ILL THUMBS UP
You need to paste the command and the output in a word document and submit it.
Part1:
1. Log in to Linux using your user account name and password.
2. If you logged in using a graphical login screen, open a terminal window by clicking on the icon in the lower left corner of the desktop to open the main menu, then selecting System Tools, then Terminal. A terminal window opens.
3. Enter the pwd command to display your current working directory. Because you have just logged in, this should display your home directory.
4. Create a new subdirectory within your home directory using the command mkdir AB1.
5. Change to the new subdirectory you just created by entering cd AB1.
6. Create a new file named Good1 using this command: nano ABC1.
Type Good world in the file and save it.
7. Enter ls -l to view a detailed file listing of the files in the AB1 subdirectory.
8.Change the name of the ABC1 file to ABC2 using this command:
mv ABC1 ABC2
9. Use the ls command to verify that the file ABC1 is no longer there—it has been renamed as ABC2.
10. Copy the ABC2 file, making a second copy of the file in the same directory using this command: cp ABC2 ABC3
11. Enter the pwd command to check that your current working directory is still the archive subdirectory of your home directory.
13. Use the command to remove one of the files from your home directory: rm ABC3
14. List all the files in the current directory: ls
15. Change back to your home directory: cd
16. Run the pwd command and check which directory – you are currently in.
Part2:
Create a file named script24. This will be a shell script to perform the following tasks
Print the current date –date
Print the current working directory – pwd
Print the calendar for the current month – cal
Print the list of the files in the current directory -ls
Run the script.
Submit the code and output.
Part1 -->
Part2-->
If you need more help then kindly please comment below so that I can help you more.
Thank You...
Get Answers For Free
Most questions answered within 1 hours.