Bash | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Bash

Guys, can you tell me what is bash? I don't understand it, it bash a coding language? Or something? 🤔

18th Apr 2024, 2:33 PM
🇺🇦🇺🇦🇺🇦Coding Nerd🇺🇦🇺🇦🇺🇦
🇺🇦🇺🇦🇺🇦Coding Nerd🇺🇦🇺🇦🇺🇦 - avatar
10 ответов
+ 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.
18th Apr 2024, 2:53 PM
Brian
Brian - avatar
+ 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
18th Apr 2024, 2:44 PM
`нттp⁴⁰⁶
`нттp⁴⁰⁶ - avatar
+ 1
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.
18th Apr 2024, 3:03 PM
`нттp⁴⁰⁶
`нттp⁴⁰⁶ - avatar
+ 1
Coding Nerd A specific instructions
19th Apr 2024, 3:47 PM
`нттp⁴⁰⁶
`нттp⁴⁰⁶ - avatar
+ 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
20th Apr 2024, 2:14 PM
Rafael BD
Rafael BD - avatar
0
Can you use bash on windows 10?
18th Apr 2024, 2:59 PM
🇺🇦🇺🇦🇺🇦Coding Nerd🇺🇦🇺🇦🇺🇦
🇺🇦🇺🇦🇺🇦Coding Nerd🇺🇦🇺🇦🇺🇦 - avatar
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 !
18th Apr 2024, 4:18 PM
Mouhamadou Moustapha NDAO
Mouhamadou Moustapha NDAO - avatar
0
What charGPT prompt?
19th Apr 2024, 3:45 PM
🇺🇦🇺🇦🇺🇦Coding Nerd🇺🇦🇺🇦🇺🇦
🇺🇦🇺🇦🇺🇦Coding Nerd🇺🇦🇺🇦🇺🇦 - avatar
0
Power shell is like bash for windows
20th Apr 2024, 2:42 PM
🇺🇦🇺🇦🇺🇦Coding Nerd🇺🇦🇺🇦🇺🇦
🇺🇦🇺🇦🇺🇦Coding Nerd🇺🇦🇺🇦🇺🇦 - avatar
0
Where is the chatGPT prompt?!
20th Apr 2024, 2:43 PM
🇺🇦🇺🇦🇺🇦Coding Nerd🇺🇦🇺🇦🇺🇦
🇺🇦🇺🇦🇺🇦Coding Nerd🇺🇦🇺🇦🇺🇦 - avatar