Concept explainers
Compulsory Task 1
Follow these steps:
● Create an empty folder called git_task_project.
● Open your terminal or command prompt and then change directory (cd) to
your newly created folder.
● Enter the git init command to Initialise your new repository.
● Enter the git status command and make a note of what you see. You
should have a clean working directory.
● Create a new file in the git_task_project folder called helloWorld.py and
write a program that prints out the message “Hello World!”
● Run the git status command again. You should now see that your
helloWorld.py file is untracked.
● Enter the git add command followed by helloWorld.py to start tracking
your new file.
● Once again, run the git status command. You should now see that your
helloWorld.py file is tracked and staged to be committed
● Now that it is tracked, let us change the file helloWorld.py. Change the
message printed out by the program to “Git is awesome!”
● Run git status again. You should see that helloWorld.py appears under a
section called “Changes not staged for commit”. This means that the file is
tracked but has been modified and not yet staged.
● Take a screenshot of this change and title it: git_modified.pdf or
git_modified.jpeg. Include it as part of your submission.
● To stage your file, simply run git add again.
● If you run git status again you should see that it is once again staged for
your next commit.
● You can now commit your changes by running the git commit -m
command. Remember to enter a suitable commit message after the -m
switch.
● Running the git status command should show a clean working directory
once again.
● Now run the git log command. You should see your commit listed.
● Take a screenshot of the output and add it to the task folder. Name the
submitted image file: git_log.pdf or git_log.jpeg.
Step by stepSolved in 3 steps with 3 images
- Compulsory Task 1Follow these steps:● Create an empty folder called task1_project.● Open your terminal or command prompt and then change directory (cd)to your newly created folder.● Enter the git init command to Initialise your new repository.● Enter the git status command and make a note of what you see. Youshould have a clean working directory.● Create a new file in the task1_project folder called helloWorld.java andwrite a program that prints out the message “Hello World!”● Run the git status command again. You should now see that yourhelloWorld.java file is untracked.● Enter the git add command followed by helloWorld.java to start trackingyour new file.● Once again, run the git status command. You should now see that yourhelloWorld.java file is tracked and staged to be committed● Now that it is tracked, let us change the file helloWorld.java. Change themessage printed out by the program to “Git is Awesome!”● Run git status again. You should see that helloWorld.java appearsunder a…arrow_forwardUse file permissions along with the chown, chmod, and chgrp commands to create a couple of folders: Create a directory (mkdir command) inside your home directory and set the permissions using the symbolic mode of chmod. The directory should be named dir1 and both you and the group cs260 should be able get into the directory and read from files. Only you should be able to write to the directory and no one other than you and the cs260 group should be able to access these files in any way. Create a file in this directory and put your name in it. Log in as Tess or Jessie and show that you can see the contents of the file. Save screenshots of both your commands to set up the folder, a listing of your home directory that shows the folder’s permissions, and you logged in as jesse/tess along with the contents of the file printed out on the screen (use vi or cat for this) Create a directory inside your home directory that both you and the cs260 group have full permissions on. No one else…arrow_forwardUse file permissions along with the chown, chmod, and chgrp commands to create a couple of folders: Create a directory (mkdir command) inside your home directory and set the permissions using the symbolic mode of chmod. The directory should be named dir1 and both you and the group cs260 should be able get into the directory and read from files. Only you should be able to write to the directory and no one other than you and the cs260 group should be able to access these files in any way. Create a file in this directory and put your name in it. Log in as Tess or Jessie and show that you can see the contents of the file. Save screenshots of both your commands to set up the folder, a listing of your home directory that shows the folder’s permissions, and you logged in as jesse/tess along with the contents of the file printed out on the screen (use vi or cat for this) Create a directory inside your home directory that both you and the cs260 group have full permissions on. No one else…arrow_forward
- Write the following commands to execute the challenges outline: Create a folder with the name "Migration Folder": ii. i. Create a notepad file in the above folder and name it "Migration Summary File Move the following folders from your "C" directory with names; Backup Server1, Backup Server 2, Backup Server 3...Backup Server 32 into the migration folder. ... ii. -3/5 iv. Write the list of backup folders you move into the migration folder in the text file as summary of folders you have migrated : Give the final command of moving the "Migration Folder" on your v. drive "C" to a new location drive "F" which is 5TB external drive.arrow_forwardStep 1: Set up a worksheet with the appropriate headings and tab names to displaythe filesStep 2: Get the user to select the starting point from which the search must beginStep 3: Get a count for all files and folders in the chosen path and prepare status barStep 4: Monitor time elapsed and give user a chance to exit if it is taking too longStep 5: Get all file and folder names and store in the new worksheet(s) created in step 1Step 6: Save in a new workbook Note that steps 3 and 5 are similar, because you have to read the headers of all fileobjects to determine how many there are. It is necessary to do this so that a message with progress status can be displayed . Write code to implement these steps:arrow_forwardObjective: At the end of the exercise, the students should be able to: Create a simple game that exhibits file input and output. Software Requirements: • Latest version of NetBeans IDE • Java Development Kit (JDK) 8 Procedure: 1. Create a folder named LastName_FirstName (ex. Reyes_Mark) in your local drive. 2. Create a new project named LabExer6A. Set the project location to your own folder. 3. Create a simple guessing game (similar to Hangman or Hangaroo). In this game, the user guesses a letter and then attempts to guess the word. 4. Create a Notepad file named words.txt which will store any number of words each written per line. 5. The Java program shall: • randomly select a word from the list saved in words.txt; display a letter in which some of the letters are replaced by ?; for example, ED??A??ON (for EDUCATION); place the letter in the correct spot (or spots) in the word each time the user guesses a letter correctly; inform the user if the guessed letter is not in the word; and…arrow_forward
- Mark the steps as checked when you complete them. 1. Open the start file EX2019-Challenge Yourself-5-3. The file will be renamed automatically to include your name. Change the project file name if directed to do so by your instructor, and save it. 2. If the workbook opens in Protected View, click the Enable Editing button in the Message Bar at the top of the workbook so you can modify the workbook. 3. Convert the shoe sales data in the Sales worksheet into a table.. a. Use the Orange, Table Style Medium 3 table style. It is the third option in the Medium section of the gallery. Add a Total row to the table to display the total for the Total Sale column. b. In the Total row, display the average for the # of Pairs and the Price Per Pair columns. Delete any rows in the table that have duplicate data in all the columns. There are four. 4. Filter to show just the sales for the Washington region. 5. Sort the table by order date with the newest orders first. 6. Insert a line chart to show the…arrow_forwardINTRODUCTION You are a network administrator who is responsible for 100 users and 20 servers for a medium size business. As an administrator who has multiple tasks to get done throughout the day, you need to develop a Power Shell script to help you manage routine tasks that you have to take care of everyday. To simplify your administration create a script with the following objectives OBJECTIVES Script that will create multiple folders using a do loop and variable CREATE MULTIPLE FOLDER SCRIPT GUIDELINES SETTING UP THE VARIABLES: Open PowerShell ISE • Create a variable Sintfolders that has a value of 10 • Create a variable SintPad that has a value of0 • Create a variable $i that has a value of 1 • Create a variable for the new folder • New-Variable -Name strPrefix -Value "testfokder" –Option constant CREATING THE LOOP STATEMENT • Do { • Set If condition o if (Si -k 10) • Set Command when Condition is True O {New-Item -path C: -name SstrprefixSintpad$i –type directory} Set Command when…arrow_forwardLinw servers PROJECTNAME, script that given Create 2. directory named dircctory t. The name it will create new and the PROJECTNAME cunrent in file named PROJECTNAME in createprojectsh of the soript will be Syntaxis: sh createprojest sh PROJECTNAME Example (executed at CURRENT DIRECTORY homewodk7 createproject .sh Resviting sh directory structure: AIRECTORY homewodk7/ CURRENT homework. c 6FE YIT 726 2 dakarrow_forward
- what are the contents of Clipboard Group? How can you know the properties of a file from the Toolbars? can you open a new folder from a folder toolbar? Yes No How can you select all items inside a folder from toolbars? How can you deny someone from accessing a file read or write ? Describe how can you use a view tab within Toolbars ? Illustrate the group of show/hide within the toolbarsarrow_forwardPlease help to build a book Requirements:1) Each team will create 2 domains. The domains will consist of a DC and a Windows 10 client computer. TheVM’s will be stored in the team leaders vcenter folder. You should use the following naming convention whencreating your domains (first initial + lastname + group ID).local.2) Each domain will include a print server and file server. Each domain will create a 5GB partition shrink yourcurrent volume and create a share that will be accessible. Please create test files within the share.Scenario: The team leaders’ company has decided to buy out the existing companies and now wants to createdomain trusts between all domains. Once this has been successfully configured this will allow domains tocommunicate amongst one another. After this has been completed you will push out a GPO to all domains sowhen they open up their homepage it will be www.conestogac.on.ca and you will prohibit access to the LANproperties.In order to proceed with the above you…arrow_forwardWhy do you feel file extensions are important? Please provide a comprehensive justification for your position. You have the option of naming three different file extensions in a folder that is chosen at random on your computer. You are welcome to additionally mention the names of any software programmes that were used to build them, if you so choose. It should be possible to open the majority of file extensions by right-clicking on a file and selecting properties from the resulting pop-up menu (Microsoft Windows environment).arrow_forward
- Programming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:CengageLINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.Computer ScienceISBN:9781337569798Author:ECKERTPublisher:CENGAGE LA+ Guide To It Technical SupportComputer ScienceISBN:9780357108291Author:ANDREWS, Jean.Publisher:Cengage,