Bash comes installed with the most of the linux distribution(With MAC-OS also) such as in Ubuntu. The aim of this tutorial to explain about the need and importance about the bash commands followed by the practical use of basic commands.
These days there are so many excellent charming and cool graphical user interfaces are available So you may think that learning about the bash commands and command line interface are unnecessary, probably you like the abstraction created by graphical interfaces and you are able to do the tasks by simply clicking the mouse.
But in the case if you want to know the background explaination or the communication involved between your application softwares and operating system, learning bash commands is not a bad idea(Actually it’s a GREAT IDEA). As it allows you to pass and execute commands to kernel of your linux machine and hence it finish the task in less time as compared to GUI. In linux based distributions such as ubuntu, basics of bash commands is necessary to perform some administrative task. Hence if you are going to be an computer programmer or network security expert or you want to administrate your computer well,then you can enjoy learning bash commands.In fact it is easy and interesting…
Some basic commands in bash shell :
1. CD command :It is used for changing the working directory in the bash shell.Suppose you are working in home directory and you want to change it to Desktop then you can use the cd command as- SYNTAX : cd directory(to which you want to go)
Learning bash/zsh/ssh shell commands is not so complex and boring as it seems.In fact when you will start learning bash shell commands then its initial steps may looks ugly but when you will have some basic idea about commands then afterwards you will feel a keen interest in learning further commands.Working on command line interface is really have its own taste and significance even though in high graphical environment era.In linux ubuntu, if you want to do some admininstrative task which is related to the information contained within the system files,then you can’t do that directly;the reason behind this is- all the users of the linux have some restricted access by default.
If you want to finish that administrative task then you will have to login as a root user,which is really not so simple in linux because of the linux ubuntu security policy(That’s why linux operating system is secure by default in compare to other operating system like windows where a five year child can corrupt the whole system by deleting a system file).In other ways you can finish such administrative task by using command line in few minutes,by gaining the temperory root power using sudo command followed by the user account password.
To learn the basic/advanced linux-ubuntu bash shell commands simply follow these basic steps :
STEP1 : Learn some simple bash-commands then Open the bash/terminal from Application=>accessories=>terminal or use CTRL+ALT+F2 to open a virtual console(Return to the graphical interface by pressing CTRL+ALT+F7).
STEP2 : For more details on any command just type help command_name(about which you want to know more),bash itself is a great place to learn more about commands and their parameters, or use the man command to access the bash manual.
STEP3 : Try to use the commands frequently that you learned.
STEP4 : That’s all ! Enjoy learning about the commands.. and for more info and tutorial on the ubuntu-bash commands visit the next posts,which contains
Ubuntu – a GNU/Linux distribution, comes with the default text editor “gedit” ( it is the default text editor in GNOME desktop package and ubuntu comes with GNOME desktop by default), which is an excellent source code editor. Gedit supports syntax coloring/highlighting/.. and it catches the proper coloring with the extension.Hence you should give the proper extension to its file name for the particular programming languages(otherwise its o.k if you won’t give any extension).There are many color schemes available for gedit syntax coloring feature.
Gedit is fit
for creating and editing simple & small programs for all kinds of code editing, but for large programming projects it is better is not a bad idea to use any Integrated Development Environment (IDE).There are many IDE’s available for Ubuntu. Some of them are –
1. KDevelop : Latest verson 3.9.95(using KDE 4.3.2) : It is an open source IDE, which is designed for linux,windows,mac OS x,Free BSD,Solaris.It is widely used for c++,Qt and other programming languages.Download it.
2. Eclipse : It is a good IDE for developing plugins ,database applications,java programming ..etc.It is available for all major platforms.Download it.
3. Bluefish : It is an excellent editor for web designers and web programmers. It is used for editing HTML,DHTML,PHP,SQl..etc. but mainly focused on editing dynamic and interactive websites.It is an opensource developement project and comes under GPL license. Download it.
4.Anjuta : It is a good IDE for software developement because it has features like advanced programming facilities(+Project management),interactive debugger,source editor,application wizard,GUI designer,profiler etc.Due to its simple and usable interface it is recommended for efficient developement.Download it.
5 Netbeans : An open source and free IDE for software developers.It contains all the tools required to create web and mobile applications,enterprise,professional desktop with JAVA,C/C++,PHP,Ruby and Groovy.It is very easy to install and available for all the major platforms including Linux,Windows,Mac OS X and Solaris. Download it.
Update: It’s an old post, so you might want to checkout the updated Version of this Post – IDE for Ubuntu