10 Basic Bash Commands | M&M

Опубликовано: 29 Июль 2026
на канале: M&M
36
0

—————————INSTALLING GIT————————
Hey! If you came here, you probably want to install Git.

Disclaimer: What I have given below is only for Mac, Linux, and Windows.

To install Git, you need to install Homebrew, a package manager. To do that, go to https://brew.sh and follow the instructions over there. The terminal might ask you for your password, so can just enter it and click “Return”. You will receive a “successful message” when complete. If it says “WARN”, don’t worry about that, its meant for the developers of the software. If it says “ERR”, then Houston, we have a problem. To combat that, write “brew doctor”, and it should tell you how to do it properly. After you’re done with all of that, it’s time to update Homebrew. To do that, write “brew update”. Now, its time to install Git. In the Terminal, write “brew install git”. If it says “ERR” here, just type in “sudo brew install git”. This just runs it as root. It might prompt you for the password as a result of this, but don’t worry about that and enter it in. After everything is done, you should be able to do “git clone” now. Good job!

----------------------- ADDITIONAL SITES-------------------
Download our games for free at https://cheesestudios.itch.io!
Subscribe! https://bit.ly/2RhFLyO

————————— TIMESTAMPS—————————
0:00 - Introduction
0:25 - Creating a directory
0:46 - Creating a folder
1:09 - Creating a file
1:48 - Moving a file/folder
2:39 - Reading a file
3:11 - Viewing the history
3:28 - Clearing the history
3:37 - Properly saving and closing the Terminal
3:59 - More about Packages and a basic explanation of Git

—————————BONUS COMMAND!—————————

Did you notice I only listed 9 commands? Well, here is the tenth one!

Type “echo” followed by any word you choose. For example, echo Hello!. This will allow you to print something on the console. If you want to write something with a space, for example: Hello, world, you need to add a backslash (echo hello \world)