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