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 just installed in virtual machine on my pc laptop asus with 4gb., a OS fedora (last version) downloaded by the website fedoraproject
the installation went good and i can use my OS fedora *(in virtual, though)
I wanted to start to try the basic linux commands, as I am totally newbie with linux, and i wanted to type su in terminal *loaded pressing alt+f2
the session opened i got the blank terminal
i wrote "su" and the terminal closed and reapper the normal desktop of fedora. I have tried also basic commands as pwd and last, and happne the same.
my question is. how to verify what is the account i have, in fedora? user and administRator, and how to enter as administrator in terminaL? is correct typing Su only, without anything else?
thanks in avance
If you use a virtual terminal, like Alt+F2, it should ask you to log in: you do so with your normal name and password. If it's just giving a blank screen, that's a new one on me. But you don't need a virtual terminal: use the terminal emulator (in the System tools menu).
As John says, only use su when it's absolutely necessary: if you make a mistake, anything could happen. Do not try this at home:
rm -fr / unwanted-folder
The space accidentally inserted after "/" would cause it to be interpreted as
rm -fr /
deleting the entire current directory!
When you've finished with being administrator, press Ctrl+d to go back to being yourself.
1. you are running in a VM, you may not have full access to all of the virtual terminals like you would in a real system.
2. ctrl+alt+F1-6 prob. will not function in the VM as that command will be captured by the host OS, not the VM.
3. easiest way to get to the CLI is to run the terminal via the GUI and then you can su, or su - to gain root access:
3a. put the mouse in the top left corner of the screen, as if you did a default install you will be running Gnome for the desktop.
3b. along the left hand side of the screen you will see a row of 3x3 boxes. click that.
3c. this will cause a bunch of icons to show in the screen. scroll down until you see a black window called Terminal. click that.
3d. you will then be presented with a white box and a $ prompt. Now you can type in basic linux commands and if you need root access to run yum or some other administrative tool you can su - at this point.
Note on step 3b, you will also see a dialog bar you can type in, you can just type terminal there and it should pop up visible to click.
As others have noted running as root is not a good idea in Linux. The ONLY time you should be root is if you are performing administrative tasks, like I mentioned above yum, or adding hardware like a printer to the system, etc...
Hi , thanks to everyone for the reply. I appreciated.
I will avoid su unless very necessary ( install printers etc e.g) and i found the terminal session icon in applications. i am very a new starter...all good to me to kickstart using fedora, it seems so cool!
i will try other 2 or 3 Distro OS *ubuntu, mint, opensuse i thought * in virtual, and maybe the next one will be my first linux main OS