So I have been using Linux for over a year now in an Enterprise setting. I have to say I am very impressed with its stability and efficiently. I have 10 servers doing DNS, Sendmail, Snort and NFS/Samba sharing. Some of these servers have been up for over 450 days without a hiccup. That is more than I can say for my Windows boxes. I still think that Linux has some work ahead of it to be a contender for a desktop PC but I think it is a much better and cheaper solution for a server.

This is my Microsoft beginners guide to Linux.


Linux Basics

root = Administrator

"command --help" = same as "command /?" in DOS or Windows

rawrite - Is used to make an installation floppy for Linux

Everything is CaSe sensitive!


Commands you need to know

"mkdir" - Same as md in DOS

"who" - Shows all the log in users

"passwd" - Change your password

"su -" - Allow you to run as root

"pwd" - Show you were you are in the file system

"exit" = logs you out of your Linux session.

ftp - allow you to connect to ftp servers.

open IP/conical name - connects to an ftp server

get filename - retrieves files

put filename - uploads files

bye - quits you ftp session

rpm - Used to install rpm software packages

rpm -Uvh packagename.rpm - This is the command line I have found to be most useful when installing packages.

ll - Similar to a dir in windows.

ll |more - similar to a dir /p in windows

ll |less - similar to a dir /p in windows

dir - list directories in the current directory

chkconfig - Allows you to turn on/off services

chkconfig --list - List the running services (chkconfig --list |more) may help to display them a bit more friendly

chkconfig servicesname on - Turns on a service

chkconfig servicesname off - Turns off a service

ifconfig - Similar to ipconfig in widows. In Linux the apapters are eth(x).

ifconfig eth0 off - turns ethernet 0 adapter off

ifconfig eth0 on - turns ethernet 0 apapter on

mount - allows you to mount a cdrom, floppy or a share

cp - simlar to copy in dos/windows

mv - similar to move in DOS/windows

ps - shows processes

ps -aux - shows all processes for all users

kill - Stops a process

shutdown

shutdown -r 0 - Reboots the PC

shutdown -h 0 - Shuts down the PC

uptime - shows the amount of time Linux has been up

vi - Similar to Edit for DOS, though very different to use.

"up2date -u" - I believe this works in Redhat only. This is similar to Windows update.


Some great resources

Redhat

Ubuntu

Linuxquestions.org

A good detailed beginners guide

An easy to use rawwrite for Windows great for making and creating floppy images

Webmin - A nice way to administrator your Linux box.

Terminal Services Client for Linux - RDesktop

Snort - A very good Intrution Detection System

AimSniff - A very nice way to capture AOL Instant Message traffic

 

webmaster@johnsoffroad.com
Copyright 2002