1753974 Members
7430 Online
108811 Solutions
New Discussion юеВ

Re: Linux Mentor Wanted

 
Lucifer Megacruel
Valued Contributor

Re: Linux Mentor Wanted

Hi Robert,

I can help you? what specifically is your problem. To create an account you need to used the useradd command or some distro's provide an interactive adduser script.

I can help you with basics. One of the best free linux resources out there is TLPD project. See :http://tldp.org/ . There are lots of documents out there that might help you :) rather than me writing things out in email.

Linux/unix design is different from VMS , The famous unix abstraction is everything is either a file or hack :P.

When I was a student I used to create small linux distros for fun I can help you if you need help in that direction as well.
Truly Evil
Lucifer Megacruel.
"To Denouce the Evils of Truth and Love. To cause may hem and destruction and necromancy , Lucifer is here"
FLQ
Valued Contributor

Re: Linux Mentor Wanted

Hi Robert,

I'll gladly help :-)


use the email in my profile.


Cheers
Steven Schweda
Honored Contributor

Re: Linux Mentor Wanted

> use the email in my profile.

Have you tried to find an e-mail address in
anyone else's forum profile?
Lucifer Megacruel
Valued Contributor

Re: Linux Mentor Wanted

Hi Robert,

Since I did not get time to reply in length the first time replied, I will reply at length this time.

First thing you need to do is pick your own linux distribution. According to the package manager ( ie the program used to install binaries )used we can roughly classify them into
(a) RPM based distros (b) Debian based distros ( c) Slackware based ( .tgz ) ( d) Gentoo based or Custom Linux distros.

There are lot of distro's out there each with its own merits and demerits. I prefer Slackware because it is the most technically challenging and customizable distro out there. The problem with Slackware is that its package management is not that great. But that's okay since you use Slackware, you are expected to be nerdy and you know how to figure things out your own way :) .


How do I get help in a Linux system ?

First you to do is to read the man pages for any command. Make sure that you do a quick man before you post anything in any community site or newsgroup. A good number of people want to prove they are ├в elite├в , so if you ask questions when info is directly there in manual, you are likely to get flamed .

At shell type
$man
to access the man page of a particular command. To get help on adduser type
$man adduser
Many commands/utilities come with a brief help as well. Generally ├в help will give you sufficient info
eg
$gcc ├в help
to get help on gcc. Alternatively you can try info and appropos commands as well. Also read HOWTOs and guides when possible.

What are the commonly used commands?
ls ├в list files { similar to vms dir }
cp-- copy { similar to vms copy }
chdir ├в change directory { similar to vms set default }
mkdir ├в create directory { similar to vms create/directory}
cat ├в see contents of a file { similar to type in vms }
mount ├в mount a filesystem similar to mount in vms
eg mount /dev/fd0 /mnt/floppy should mount the floppy.
You should note that your root directory is denoted by / . Other file systems are mounted as a part of a root file system . If you do a
$ls /
you should see /dev /etc /bin /usr
/dev ├в directory containing special files that represent devices . Remember Linux provides the abstraction that everything is a file. Eg filling a floopy device with zeros
$dd if=/dev/zero of=/dev/fd0
fd0 is a file representing the floppy device.
/etc - basically contains config files
/bin ├в contains system binaries
/usr ├в contains usr binaries and libraries . Play around a bit and to get the feel of things

How do I install software in Linux ?

This is distro specific and varies differently in different linux distros. I prefer compiling from sources.

For debain based systems its basically
dpk -i
if you have aptitude installed you can do
apt get install . The advantage of this method is that it will download the dependencies for you automatically and you do not have download each dependency separately.


How to master shell scripting ?

VMS has DCL , but Linux supports many shells bash, c shell , korn shell and lot of other shells eg :fish for instance . But BASH ( bourne again shell is the most popular). You can even roll your own shell , it a'int that hard :) . There are documents in TLDP that might help.See tldp.org


I hope that I am of some use to you :)


Truly Evil
Lucifer Megacruel


"To Denouce the Evils of Truth and Love. To cause may hem and destruction and necromancy , Lucifer is here"
Robert Atkinson
Respected Contributor

Re: Linux Mentor Wanted

Lucifer, please can you email me on :-

ratkinson at tbs-ltd dot co dot uk

I can then detail some of the problems I'm experiencing.

Cheers, Rob.