0
Bash
Guys, can you tell me what is bash? I don't understand it, it bash a coding language? Or something? 🤔
10 Respostas
+ 3
Bash is the name of a UNIX command line shell. The name comes from an original shell named the Bourne Shell (bsh) and this one has extensions from the original, so they called it the Bourne Again Shell (bash).
You can automate commands and operations within the shell by using its scripting language. The scripting language is often referred to as bash, since the shell and the language are inseparable.
+ 2
Bash is a command language and shell that is often considered a scripting language as well. It is commonly used for automating tasks and writing scripts in Unix-based operating systems.
This thread is very informative⤵️
https://www.sololearn.com/Discuss/1949693/?ref=app
+ 2
Coding Nerd
We can use Bash on Windows 10 and further versions by enabling the Windows Subsystem for Linux, call WSL. WSL allows us to run a Linux shell directly on Windows.
+ 1
Coding Nerd A specific instructions
+ 1
Well, I'll tell you what I understand and correct me if I'm wrong.
BASH is a program that interprets a type of SHELL script, just like ZSH, AWK and python itself.
The language, syntax is what bash processes, separates and checks for errors before executing.
First of all, we can go back to some basics and remember that the bash systems in Unix / Linux have a "conversation" pattern, which we'll summarize with numerical values.
0 Read
1 Write
Flows
0 - Input stream
1 - Output stream
2 - Error stream
So when we send the command " ls /home/<user> ". Bash interprets this and executes the ls program, which is located in some folder within the PATH list. So bash sends /home/<user> in the stdin stream and captures the output and error to display to you at the end. If you look at the Kernel, you'll also notice that all the programs used in SHELL have a system call! This makes it much easier to develop everything else.
NOTE: You can also add other folders by adding the address to the PATH using export.
You can test this using bash or any language by redirecting the streams to a variable or list. I recommend Python because it's easier to test initially, but the ideal is to do this redirection in the language you like best.
In bash you redirect like this:
< to Input
> to Output
Detail:
1> stdout , 2>stderr
0
Can you use bash on windows 10?
0
Do yo see ChatGPT Prompt? You can ask it much questions you want and it will give you the best answers around the web !
0
What charGPT prompt?
0
Power shell is like bash for windows
0
Where is the chatGPT prompt?!