It's type of CLI (Command Line Interface), use as powerful tool to help developers to find, create, and manipulate file and folder.
Bash, or the Bourne-Again SHell, is a CLI that was created in 1989 by Brian Fox as a free software replacement for the Bourne Shel
A shell is a specific kind of CLI. Bash is “open source,” which means that anyone can read the code and suggest changes. Since its beginning, it has been supported by a large community of engineers who have worked to make it an incredible tool.
main code for gitBash:
- ls
to list the contents of the current directory. It may look something like this:
- mkdir test
to make a new directory named test. Now, when you type ls
you should see a folder called test
:
- cd test
to navigate into the new directory. You won’t see an output when you do this.
- echo "Hello Command Line" >> hello_cli.txt
to create a new file named hello_cli.txt and add Hello Command Line
to that file. When you type ls
- cat hello_cli.txt
to print the contents of the hello_cli.txt file to the terminal
0 Comments:
Post a Comment