Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Files whose name starts with a dot are hidden! From a terminal you can do
to show them. From a file manager there should be an option to show hidden files, as well. In any case from a terminal open your favorite text editor and you will find it, e.g. using vi
Originally Posted by hitmen
It is obviously a system file.
Not really. It is the user's configuration file for the bash shell. It is copied from /etc/skel/.bashrc whenever a user is created, but then it is a file owned by the user, that can be customized to suit the user's need.
Well I cant type words using the vi editor.
Is there any difference between vi and nano?
This is because this is the first time I am using vi.
Is it different from any text editor?
Yes. In vi you have to switch between COMMAND mode and INSERT mode. Whenever you type a i (insert), a (append), o (append new line) command you automatically switch into INSERT mode, then press Esc to exit and return to COMMAND mode. Look at vi documentation to learn about its commands. Indeed it requires a bit of practice and patience.
Yes it is different and has 2 different modes. When you start it you are in command mode and as the name suggests it allows you to send commands
to the editor, some of which take you to the second mode which is insert mode and this allows you to enter text into the file.
Just type - vi tutorial - into google and you will find a plethora of information. Should you wish to continue with it I would also suggest installing vim
which is vi improved and is a little more user friendly.