Best book for linux

Status
Not open for further replies.

vamsi360

Always confused
east or west CLI is the best until you get something which cannot be undone.
If you want yourself to be a linux geek start learning linux using CLI from the beginning .
 
OP
A

ambika

learnhardy
Command line interface .........even ....when i just try to compile....c source code ...using gcc it gives some error messages.

I am really new to linux.......can anyone tell me how to set gcc also tell me its dependency.

Can anyone assign me ....a good tutorial on CLI.
 

vamsi360

Always confused
i suggest u install fedora9 from DVD with all the development kits installed. Then you have all the compilers with you. gcc, g++, java, python, ruby,perl.........

Even you have qt3 and qt4 ides also. U are also presented with c,C++ IDEs when u use KDE. I suggest u install both KDE as well as GNOME.

To compile a file using gcc::
C File :::
Code:
 use ur own editor(i suggest kwrite) and type the program and save it.Then point to the directory using terminal and type

cc filename.c
then ./a.out
Thats it!

CLI tutorial----search in yahoo or google and practice them. There is no need for a book. Search and find as many commands as possible and practice them. Remember no one cannot learn whole commands. Again it depends on your intrest.
I suggest u use man command the most to master your skills.
 
Last edited:

vinayasurya

Journeyman
kate is also a vey good editor. Provided you installed the konsole application you edit and compile from the application itself. Which one is your distro ?
 

vamsi360

Always confused
I suggest you stick on to one OS. Why simply shift OSes when you are a newbie?
Ubuntu is great for newbies. Play around with it and after getting used to it you yourself can become a good judger of distros and will defnitely move to more complicated ones.

For programming in Ubuntu,go to synaptic and then click add cd-rom and then insert Ubuntu DVD and select gcc,g++ and then install them. Thats it!
Then happily one can program in Ubuntu.
I suggest you spend time in learning a distro rather than changing a distro (my opinion and may differ for others).
 
OP
A

ambika

learnhardy
I suggest you stick on to one OS. Why simply shift OSes when you are a newbie?
Ubuntu is great for newbies. Play around with it and after getting used to it you yourself can become a good judger of distros and will defnitely move to more complicated ones.

For programming in Ubuntu,go to synaptic and then click add cd-rom and then insert Ubuntu DVD and select gcc,g++ and then install them. Thats it!
Then happily one can program in Ubuntu.
I suggest you spend time in learning a distro rather than changing a distro (my opinion and may differ for others).

U r quite right .......recently i get open- solaris ........no great difference at all .
Can u tell me more abt root account in ubuntu??why sometime i have no full access to system ?

and ur cd-rom option not works......because some package or its dependencies r not available......i have to download....!!
 

vamsi360

Always confused
root account is like admkinistrator account in xp.
In ubuntu root account is disabled and any system operations require root previlages and hence prompts for the password. This is the thing that makes linux more secure than windows. If one takes access to our PC then also there is no problem of insecurity if we restart the session again.
 

vinayasurya

Journeyman
If you want to enable root account in ubuntu .

Use sudo su -
Type your password
Then at root prompt type passwd
enter the new password for root
confirm password

Now you can login as root. ( only to command line in ubuntu , i guess )
 
OP
A

ambika

learnhardy
If you want to enable root account in ubuntu .

Use sudo su -
Type your password
Then at root prompt type passwd
enter the new password for root
confirm password

Now you can login as root. ( only to command line in ubuntu , i guess )

thanks for information.......but ur command not works........anyone know how to enable root account in ubuntu?? After enabling this i am able to access whole os??
ubuntu is different w.r.t. root account??
 
Last edited:

vamsi360

Always confused
What?

root account is by default disabled in Ubuntu. One has to get the root permissions only through sudo command
To get root previleges :
Code:
sudo //type in terminal
//enter password
//then you see $ symbol indicating root previleges
//then you are indeirectly having root previleges.
 

ThinkFree

Technomancer
*onlyubuntu.blogspot.com/2007/03/how-to-enable-and-disable-ubuntu-root.html might help

What?

root account is by default disabled in Ubuntu. One has to get the root permissions only through sudo command
To get root previleges :
Code:
sudo //type in terminal
//enter password
//then you see[B] $ symbol indicating root previleges[/B]
//then you are indeirectly having root previleges.

It's #
 
OP
A

ambika

learnhardy
What?

root account is by default disabled in Ubuntu. One has to get the root permissions only through sudo command
To get root previleges :
Code:
sudo //type in terminal
//enter password
//then you see $ symbol indicating root previleges
//then you are indeirectly having root previleges.

for ur what? what do u mean by sudo su...? "superuser do "=sudo n su=switch user.....i think su is used in redhat if i m wrong.....plz assign me.
yeah i know this.....but this previleges .....only for limited time period ....defaultly
15 minutes....?;)i m right?i have to learn all command first....but .as i m little busy with exam:(:mad:...then.....

*onlyubuntu.blogspot.com/2007/03/how-to-enable-and-disable-ubuntu-root.html might help




It's #
is it ur blog?
ur command.$sudo passwd root...........works

if only one user exists than ....it is defautly the root user??
 
Last edited:
Status
Not open for further replies.
Top Bottom