Question
Sorry I have problems doing this Lab Lab 2 Connectivity, vi/vim Editor, Unix Environment & turnin CSCI 111 Programming and Algorithms I Due Friday January
Sorry I have problems doing this Lab
Lab 2
Connectivity, vi/vim Editor, Unix Environment & turnin
CSCI 111 Programming and Algorithms I
Due Friday January 29, 11:59pm on turnin
10 Points
STEP 1: Vim Editor
Be familiar in using the vi/vim editor which is commonly used on the Unix environment to create/modify scripts, edit text data, etc.
1. Log in to your UNIX account on jaguar.
2. Create a subdirectory from your home directory; name it csci111.
3. Navigate to this new directory using the cd command.
4. From within your new directory, create a Labs subdirectory and a Projects subdirectory.
5. Navigate to the Labs subdirectory and create an empty file called vimfile.txt using the touch command.
6. Edit the file by typing vim vimfile.txt to launch the vim editor.
enter your name
enter today's date
enter your username
tell me what platform you plan to use outside of lab (PC/Mac/Linux)
7. Save the edited vimfile.txt file:
8. What vi command is used to delete an entire line?
9. What vi command is used to save a file without saving changes?
10. What are the 2 different modes of vi? And what commands are used to toggle between the 2 modes?
11. Refer to the viCheatSheet document posted on Blackboard.
STEP 3: Basic Unix Commands
1. Introductory to Bash: environment variables, scripts, etc.
2. Demonstrate your directory and file creations & permissions by taking a screenshot of your terminal window after:
o Navigate to Labs subdirectory (if not already there)
o Use the clear command to clear the screen
o Show current working directory (pwd)
o Display directory listing with permissions (ls -la)
o Take a screenshot of your terminal window and save it as either a jpg or png formatted file named UNIXScreenShot.jpg
o Refer to the BasicUNIXCommands document on Blackboard and perform all the operations.
STEP 4: Submit work
1. Submit both files: vimfile.txt and UNIXScreenShot.jpg on turnin
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started