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.
Ok i admit it, i'm a born windows geek sneaking into enemy territory, but its confusing the hell out of me. I wanted a very low resource impact distribution, and with DamnSmallLinux refusing to install i ended up with Morphix Light.
So far so good, its all running. Only thats where the good news ends. Theres no login screen to start with and I want to get out of the gui, so i exit it, but it reboots computer, and i see no way of stopping this. Theres no where to change any important settings or boot options or anything. I mean people say windows is annoying cos it hides everything away from the layman, but this is hiding a whole lot more. All i want to do is turn on the PC, and be presented with a console login which then leads to a prompt.
Is that too much to ask? Please help, i don't mean to sound agressive but when you've been staring a pc that refuses to do anything remotely like what you're yelling at it, its a tad annoying. Also i don't understand how a console can provide manageable access to multiple applications, its just way beyond my brain. DOS only ran one thing at a time so i get how that worked, but this is just brain mashing. Oh and does linux run services like windows or what? and wheres the task manager?
Basically i want to shut down anything and everything thats unnecessary, except networking services.
EDIT: Oh i know that morphix is a livecd distribution but i used the install wizard you get once the livecd is all booted. So its not like its running off the CD
First things first I guess... To exit the GUI only hit Ctrl+Alt+F1 on your keyboard. If Morphix uses the grub bootloader then your boot settings are read from /boot/grub/menu.lst. There are a vast amount of web resources on the many ways this can be configured. Also, the man page ($ man grub) is very helpful. The short of it is that if all you want is to boot to a console login -> prompt, then append the number '3' onto the kernel line in menu.lst or simply at the option entry at the grub bootloader screen (for one time only).
If you need to get a console, you should launch a terminal, become root by typing:
and then type:
If you need to know about any running services, you should look under /etc/rc(number).d;
the number refers to the current runlevel. Any service preceded by a K is killed, any service preceded by S has been started.
Ok Ctrl-Alt-F1 drops out the GUI into a console that doesnt seem to respond to any commands or do anything, and Ctrl-Alt-Backspace shuts the PC down just like exiting the gui with the menu's does.
Argh what am i doing wrong? why does linux hate me so?!
Sometimes the first console is set up as more of a monitor. Try F2.
CTRL-ALT-BACKSPACE usually shuts down the xserver, but both of these can be distribution specific.
Take a look at your /etc/inittab file. It will tell you how many terminals are available and that is where you can change the defaut runlevel (GUI or console).
You can read more about each command, with the "man" program (brings up the command's manual). For example, say you want to learn about the ps command, for viewing running processes. You would then type "man ps" at the command prompt, and use the letter "q" to exit the man page.
Linux configuration files, sort of similar to WIndows INI files, can be viewed and edited at the comman line. The text editor I use to view files, is called vi. You just type "vi filename" at the command prompt, up and down arrows to move, Insert key to go to edit mode, Esc key to get out of edit mode, ":w" to save and ":q" to quit.
pixellany - Compared to linux, i know windows inside out. I used to program in MASM so the win32api is my best friend. I really really know very little about linux and i think you might have a point about windows knowledge hindering my linux learning. which sucks.
My only goal was to get an old laptop running an absolutely minimal stripped down OS for hosting a server, but it seems that its a lot harder than i thought it would be. Funnily enough at the mo the server ran faster under xp than linux so far.
I'll have a play about tonight and see what i can get working.
If you have lots of time, lots of patience, and really want to learn a lot fast. Then stop using popular distributions, read up on Linux, install any working distro (use gentoo so you can familiarize yourself with the command line at the same time), then use that to install LFS as your new distro. If you understand the install instructions for LFS, you pretty much know all you need to. Total time for learning pretty much everything if you really try, and experiment a lot, about 3 months should do it.
Ok i've been fiddling at i'm getting somewhere(ish). One major problem for me - when not running a gui, is it possible to have 2 applications running at the same time not in background. I know (well, i've guessed from reading) that if i shove a & at the end of a process it should run in background hidden away, which is all well and good but what if i want to switch to it, how do i do that? Or is that not possible? Or switch between 2 running processes?
you have two options. One is to run these processes on their own terminals. You start by default probably on tty1, but sometimes on tty2. To get to tty[n] you hit ctl+alt+F[n]. So tty2 is ctl+alt+F2. Each of these terminals is a full console that you can leave and come back to.
The second option is more powerful and flexible, but also more complicated - to use GNU screen. I'll leave you to the man pages for screen, as it's a complicated little thing, but darn useful.
no the consoles sound just perfect. thank you so much for that i was trying to guess what tty thingys meant. Also, i used nice to set priority on the server to -20 (well i think i did anyway), but how do you check this cos ps never shows the thread priority