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.
just a quick question,
i was wondering if you can open up multiple CLI?
if so how is it done?
how do you switch between the 2 or more of them?
also can you maybe grep to CLI2 then maybe copy that somehow and insert that into a open txt doc in CLI1?
Thanks in advance guys
If you mean something like 'xterm', then yes, you can open up lots of them. If you mean the things you get to by pressing Ctrl+Alt+F1,F2,F3,etc. (or Alt+F1,F2,F3,etc. if you're on them already) then, yes, you normally have about 6 open by default. For grepping and inserting, you might have to use something like screen, or you could redirect to a file and then concatenate the two
i am using CentOS 6.0 on a virtual box machine.
i tried pressing ctrl+alt+ the f keys nothing happened
i am using vim at the moment; it had a tutorial on how to use it that i found very helpful
yes i installed the xwindow, i believe that is what it is called. I couldn't get gnome to load but could get kde to.
so i have a mouse as well. I'm trying to do everything in the CLI; however I'm coming over from windows so it makes the transition easier.
Aswell as helping me troubleshoot, and making me feel comfortable...
go easy on me I'm new
If you have X installed then...
Yes konsole in KDE does allow tabs. You can have as many virtual terms open that you want. Switch between them by clicking on the tab you want. Haven't used KDE for years, look for a new tab item somewhere in its menus.
If you want to copy and paste in a terminal emulator, have 3 button emulation working on your mouse, then highlighting the text puts it on the clipboard, right+left click pastes it. I think that Konsole may have a copy and paste menus though.
i am using CentOS 6.0 on a virtual box
Ok, not sure if you can switch between shells in a virtual machine. A shell is what you get after booting, without X windows loaded. Linux usually has 7 of them.
In konsole, you may also use the mouse to highlight text (left click and drag the mouse over the text to copy), then ctrl-x to cut or ctrl-c to copy text in one konsole. Then place the cursor at the place to paste in the second konsole and ctrl-v to paste, assuming you are viewing text in konsole and not using a text editor. Text editors may have different keystrokes to cut, copy, and paste.
You may also use the edit menu in concole to do the copy highlighted text in one konsole and paste into another konsole.
Last edited by bigrigdriver; 12-10-2011 at 05:43 PM.
Yes, I'm using Konsole as my terminal emulator.
Multiple windows do not open up though??
I installed screen as well??
not sure how it works with CTRL A
First you need to install guest addition to ease working in vm environment (i.e., gaining keyboard and mouse control within vm) although it is not needed to move/switch between ttys. As others has suggested you can move between ttys by pressing Ctrl+Alt (F1-F7) (yes you can switch between ttys within vbox as well, don't forget to capture the keyboard or mouse by pressing host key, i.e, right control key).
Tty1 is used for first login and tty7 is used for X server, other ttys will give you login prompt. If you have installed screen just type screen once to run the program and another one to open a new window. Screen keybinding like Ctrl-A + key (0-9, p,n, etc), for example, will bring you to or move among windows of virtual ttys. You can also install twin to enable multiple tab windowing. Btw, you can also use urxvt (rxvt-unicode) instead of konsole to save some resources.