Shell Scripting

22 views
Skip to first unread message

Mohit Kumar

unread,
Sep 6, 2014, 11:18:19 AM9/6/14
to lug...@googlegroups.com
What exactly is Shell Scripting?
What are the advantages of learning Shell Scripting?
From where should I start if I want to?


Shashank Mehta

unread,
Sep 6, 2014, 11:26:10 AM9/6/14
to lug...@googlegroups.com
​Have you used terminal? And various commands in terminal? Let's say you need to rename 2 files and the renaming is on a set pattern. You could rename 2 files manually, easy enough. But what if you need to rename 100 files? You can automate this using a shell script. Shell scripts are basically the same single line commands that you type in terminal but in a program form. So you have variables, logic, loops etc and you can run multiple commands.

Practical example, I have a shell script for syncing two folders, one on my laptop and the other on my tablet. So when I need to update my tablet, I connect it and run the shell script on my system.

Links:

Cheers,

--
You received this message because you are subscribed to the Google Groups "Linux User Group,IITR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lugiitr+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages