LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-24-2003, 11:32 PM   #1
shanlz
LQ Newbie
 
Registered: Sep 2002
Posts: 14

Rep: Reputation: 0
some basic questions for you gurus !!


Hi !

I'm a newbie. Intalled RH7.3 about 2 months ago...so going through a difficult time....I have some basic questions...

1. I use KDE. When I insert a CD, it starts to autorun. After closing the autorun screen....I try to take the CD out....but it doesn't come out ! So I umount it ? Why does this happen ?

2. I always heard that the porbability of Linux crashing is very less...but I actually manage to crash it.....by keying in some commands...of course I didn't know what I was doing.....so I had to do boot.

Then yesterday, I ran a KDE game...the game just wouldn't move beyond the opening intru screen.

Question is : is there an equavalent to Ctrl-Alt-Delete in RH Linux so that I can kill processes.....(I'm aware of ps -A, and then kill <process id> . But when I ran the game, the entire screen had the game on it. Couldn't do anything about it.

3. More basic stuff :
I got 3 CDs with the Red Hat 7.3 bible. When you say that gcc is present and gcc-java, does that mean the c, c++ and java compilers are present.

How do I get started to work on c++ and java ? Do I need to do anything first ?

4. A clarification on the 'export' command :
I understand the following : when you set a env variable

set ABC=$PATH:/bin/somedir;export ABC

It sets the variable ABC in the open console only. If I want to make to visible to all the shells , I will have to put it in a file (can't remember the name) .Now if I put it in that (conf) file, won't the environ vars get loaded on boot ?

But the book says that I have to mention the export command in the file as well. Why ?


Thanks !!
 
Old 02-25-2003, 02:42 AM   #2
Silent Bob
Member
 
Registered: Feb 2003
Location: Ireland
Distribution: Debian
Posts: 56

Rep: Reputation: 15
Re: some basic questions for you gurus !!

Quote:
Originally posted by shanlz
Hi !

I'm a newbie. Intalled RH7.3 about 2 months ago...so going through a difficult time....I have some basic questions...

1. I use KDE. When I insert a CD, it starts to autorun. After closing the autorun screen....I try to take the CD out....but it doesn't come out ! So I umount it ? Why does this happen ?
When you put the CD in it doesn't 'autorun', it automounts. This means the filesystem on the CD is mounted onto your computers filesystem. The reason you have to umount it before you can take the CD out is so that the CD filesystem will be removed and programs won't get confused about what's where

Quote:

2. I always heard that the porbability of Linux crashing is very less...but I actually manage to crash it.....by keying in some commands...of course I didn't know what I was doing.....so I had to do boot.

Then yesterday, I ran a KDE game...the game just wouldn't move beyond the opening intru screen.

Question is : is there an equavalent to Ctrl-Alt-Delete in RH Linux so that I can kill processes.....(I'm aware of ps -A, and then kill <process id> . But when I ran the game, the entire screen had the game on it. Couldn't do anything about it.
I doubt you crashed the OS, I would imagine that you crashed the X server which has grabbed the keyboard/mouse input so even though the OS is still running you can't input anything.
Solution: either reboot (Big Red Button situation) or log in from a different computer and kill the X server.

CTRL-ALT-BACKSPACE kills the X server. CTRL-ALT-DELETE starts the reboot sequence.

Quote:

3. More basic stuff :
I got 3 CDs with the Red Hat 7.3 bible. When you say that gcc is present and gcc-java, does that mean the c, c++ and java compilers are present.

How do I get started to work on c++ and java ? Do I need to do anything first ?
Open up a text editor and start writing code. Save it. Then compile with gcc / g++ / gcc-java

Quote:

4. A clarification on the 'export' command :
I understand the following : when you set a env variable

set ABC=$PATH:/bin/somedir;export ABC

It sets the variable ABC in the open console only. If I want to make to visible to all the shells , I will have to put it in a file (can't remember the name) .Now if I put it in that (conf) file, won't the environ vars get loaded on boot ?

But the book says that I have to mention the export command in the file as well. Why ?

Thanks !!
It's not an environment variable until you export it, otherwise it's just a variable for the length of time it takes to run the script (as I understand it)

HTH
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
basic questions on hostname and domain name + related postfix questions Moebius Linux - Newbie 7 09-04-2007 11:50 AM
Basic Questions philipogletree Debian 4 07-24-2005 07:44 AM
Python Questions ... any gurus here? diz12 Programming 9 06-11-2005 01:16 PM
basic questions chennairaja Linux - Newbie 1 02-07-2005 11:54 AM
Some basic questions Ky. Linux - Newbie 2 07-21-2001 09:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration