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.
in the terminal you will need an editor, for example vi or emacs. You write the sourcecode with the editor. Compiling is done on the commandline. For example, if you have progamcode called hello.c you may execute
gcc -o hello hello.c
the outputfile will be "hello" and can be executed with
in Linux other than Windows you'll have to use the path to the programm even it is in your current working directory.
It would be helpful if you explain what you want to do.
Note that vi and Emacs are not like most editors, you can't just start typing like in a normal GUI editor. If you want something simpler, try nano. But if you're going to do a lot of editing, I would recommand that you learn vi or Emacs.
i appreciate your responses alot thanks once again,my problem is that am not familiar enough with using the editors.guys if you dont mind would you please advice or atleast help me on it or give me a tutorial on how to use emacs,vi,and nano.
Well, assuming you have vim already installed. Check that you have a file .vimrc in your home-directory, if not copy the file /usr/share/vim/vim73/vimrc.sample.vim as .vimrc into your home-directory.
vim is a modern clone of the standard-Unix-editor vi.
vim comes with a tutorial, simply execute "vimtutor" on the commandline.
At first sight vim is a little difficult to use, but the best choice when one uses no gui at all. Once you are familiar with vim you'll never use another editor. It is the fastest and most convenient way to edit files. I've installed vim on all my Windows-servers.
Well you can use Vi or Nano. Nano is more user friendly, but if you willing to learn a little bit than i agree with marcush, that is, Vi is a lot better for editing. If you want a non-terminal editing program, Kate is awesome for any KDE system, and i dont mind Gedit (after a little bit of customizing) for gnome.
The first look at Vi, its a little difficult to grasp, but once you know it thats all you'll use
Jump onto youtube and have a look, they have some pretty good tutorials on how to use editors.
If your after programming tutorials, "thenewboston" <<---- (his channel on youtube) has easy to understand beginner tutorials.