-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGIT.html
More file actions
84 lines (80 loc) · 4.11 KB
/
Copy pathGIT.html
File metadata and controls
84 lines (80 loc) · 4.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html>
<head>
<title>Git & GitHub</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
</head>
<body>
<nav class="py-3 navbar navbar-expand-lg auto-hiding-navbar navbar-light" style="top: 0px;">
<div class="container">
<a class="navbar-brand py-0" href="#"><img src="Imgs/Git2.PNG" ></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-content" aria-controls="navbar-content" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button>
<div class="collapse navbar-collapse" id="navbar-content" >
<ul class="navbar-nav mr-auto">
</ul>
<form class="form-inline my-2 my-lg-0">
<ul class="navbar-nav mr-auto " >
<li class="nav-item">
<a class="nav-link" href="index.html" ><h5> Home</h5></a>
</li>
<li class="nav-item">
<a class="nav-link" href=" contact us.html " ><h5>Contact Us </h5></a>
</li>
<li class="nav-item active" style="color: #e7731f">
<a class="nav-link" href="GIT.html"><h5>Git</h5> <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="GitHub.html" ><h5>GitHub</h5></a>
</li>
</ul>
</form>
</div>
</nav>
<hr style="border-top: 3px solid #e7731f;">
</div>
<div class="container">
<h2>The Unix Shell</h2>
<br>
<h3>What is a shell?</h3>
<p>A shell is a computer program that presents a command line interface which allows you to control your computer using commands entered with a keyboard instead of controlling graphical user interfaces (GUIs) with a mouse/keyboard combination.</p>
<h3>How to access the shell?</h3>
<p>On a Mac or Linux machine, you can access a shell through a program called Terminal, which is already available on your computer. If you’re using Windows, you’ll need to download a separate program(Git) to access the shell.</p>
<p>The shell’s main advantages are its high action-to-keystroke ratio, its support for automating repetitive tasks, and its capacity to access networked machines.</p>
<h2>Git </h2>
<br>
<h3>What is Git Bash?</h3>
<p>Git Bash is an application for Microsoft Windows environments which provides an emulation layer for a Git command line experience. Bash is an acronym for Bourne Again Shell. A shell is a terminal application used to interface with an operating system through written commands. Bash is a popular default shell on Linux and macOS. Git Bash is a package that installs Bash, some common bash utilities, and Git on a Windows operating system.</p>
<h3>How to install Git Bash?</h3>
<p>Git Bash comes included as part of the Git For Windows package. Download and install Git For Windows like other Windows applications. Once downloaded find the included .exe file and open to execute Git Bash.</p>
<h3>How to use Git Bash?</h3>
<p>Git Bash has the same operations as a standard Bash experience. It will be helpful to review basic Bash usage. Advanced usage of Bash is outside the scope of this Git focused document.</p>
<br>
<h3>How to list the files in a directory?</h3>
<br>
<p><b>(ls)</b> print the lists of the current working directory.</p>
<img src="Imgs/ls.PNG" style="border: 2px solid #e7731f;"><br>
<br>
<h3>How to show and the working directory?</h3>
<p ><b>(pwd)</b> print the 'present working directory'</p>
<img src="Imgs/pwd.PNG" style="border: 2px solid #e7731f;"><br>
<br>
<h3>How to create a new directory?</h3>
<br>
<p><b>(mkdir)</b> creates a new directory.</p>
<img src="Imgs/mak.PNG" style="border: 2px solid #e7731f;"><br>
<br>
<h3> How to create and remove files?</h3>
<br>
<p><b>(nano)</b>removes (deletes) a file</p>
<img src="Imgs/file.PNG" style="border: 2px solid #e7731f;"><br>
<br>
</div>
<footer>
<nav class="navbar navbar-light" style="background-color: #e7731f;">
<span class="navbar-text " style="color: white;">
Git & GitHub For Beginner
</span>
</nav>
</footer>
</body>
</html>