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.
I don't mean to be rude but:arere you sure you posted in the right thread? I am looking for a way to interact with this website better, write my posts in vi, write code from command line to the post easily , without copy and paste. Maybe I can do that with some browser feature. Or maybe the best would be subscribing to a thread and use command line email clients like pine or something. Any thoughts?
If you're editing a file called post.txt with vi/vim ,and you want to insert the output of some command into your file, then I would do it this way.
Save your file in vim (using :w )
Then drop to a command line (using :! sh)
Run your command, and append all output back onto your file.
eg. "yourcommand >> post.txt 2>> post.txt"
This will append the output of the command onto the end of your file.
Then type exit and you'll return to vim and the output of the command will magically be at the end of your file
Make sure you use the double chevrons >> as opposed to > or your post will be completely over written by the output, rather than having the output appended to the end.