+ 3

What is shell scripting?

=> What is it? => How many types? => Why is it used for? => any other thing you know how to learn and other!

5th Mar 2018, 2:28 PM
DEEPENDU PANDIT
DEEPENDU PANDIT - avatar
3 Respuestas
+ 4
as told by martin and Chris I ll just add few stuffs it's called powershell in Windows, in Ubuntu I often use shell scripts to bundle few repetitive commands that I use very often in a single shell script , it's very fun to play with , give it some time , very simple syntax too , you ll be able to do awesome automation stuffs with it considering you have good knowledge of few commands in Linux , for Ubuntu many times when I download any app, then I look for a .sh file , that contains the commands written into a single file, that otherwise I d have to type manually into my command line one after other
6th Mar 2018, 4:24 AM
Morpheus
Morpheus - avatar
+ 3
It's for automating stuff you'd otherwise have to do with multiple steps in the shell/terminal. You just create a .sh-file and write the shell commands (cd, ls, grep, rm, whatever) into it and execute it via the terminal.
5th Mar 2018, 3:03 PM
Chris
Chris - avatar
+ 2
so I read few forums, that bash is the most popular hence but has large memory footprint too, which is not preferred in few places, random fact : bash stands for Bourne again shell , someone said that he still uses Bourne shell just because then his scripts would run on any Linux variant
6th Mar 2018, 12:46 PM
Morpheus
Morpheus - avatar