Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to do some Shell Scripting on my Ubuntu 13.10 (32-bit) desktop. How can I create Shell Scripts using the editor. Since I am not familiar with the Ubuntu editor Gedit. Is it possible to do it with Vim. If yes, then which package would be suitable for me.

share|improve this question

closed as too broad by Radu Rădeanu, Braiam, Eric Carvalho, mikewhatever, Avinash Raj Mar 28 at 16:18

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

    
This question shows a basic misunderstanding of what a shell script is. You can use whichever editor to write a shell script. –  Rmano Mar 27 at 19:18

1 Answer 1

up vote 2 down vote accepted

To install vim, do sudo apt-get install vim.

You don't need any other package if you want to write shell scripts. You can use vi <filename> to write the scripts and bash <filename> to execute the scripts using bash shell, sh <filename> to execute using sh shell, dash <filename> using dash.

If you need other shells like zsh, fish, etc., you'll need to install them using sudo apt-get install zsh or whatever package-name.

share|improve this answer
    
Thanks. It worked. Actually I am new to Linux systems. Thanks again. –  Neo Mar 28 at 15:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.