Welcome to Linux
The "login:" Prompt
- It's the first thing you see
- Login as "root" first time
- Create additional accounts
- Multiple sessions
Graphical Interface
- No GUI required.
- If you must, type startx
- Modify .profile to startx automatically
- If you have trouble, skim through the man page, then ask for help.
The Floppy Drive
- Take a look at the /dev directory
- mount -t msdos /dev/fd0 /mnt/floppy
- umount /mnt/floppy [!!!] (share anecdote)
- Different File systems
- EXT2
- ISO9660
- FAT (msdos)
- ... and many more ...
- "M" tools [???] (mdir, mcd, etc.)
- Automount daemon is coming...
MS Operating Systems vs. UNIX
| If you're used to doing this in DOS |
Or this in windows, |
Then do this at the UNIX command prompt. |
| REBOOT |
REBOOT |
THINK! (Discussed Later) |
| COPY |
CTRL-DRAG AND DROP |
cp |
| ERASE OR DEL |
Highlight and hit the Delete Key or File->Delete |
rm |
| DIR |
Highlight a directory |
ls (or ls -al) |
| CD |
Command doesn't apply |
cd |
NOTE: UNIX is case sensitive. That means all commands should be entered in lower case. All filenames should be entered using the appropriate case. Also, technically, the given commands are for "bash" and not UNIX.
If using "csh" or some other interface, the commands may differ. That's one of the joys of UNIX. The interface is not part of the operating system and so, you can choose or custom build your own.
So you think you need to reboot!
- DON'T!
- But I'm "Locked Up"!
- If you have a program that's running out of control, and you can't get your prompt back:
- Type CTRL-C or
- Type CTRL-BREAK or
- Log into a separate session (ALT F2, F3, etc.) Find the process and kill it.
- Type ps -aux | grep username
- where username is the name of the user running the command.
- Find the offending program and type
- kill pid
- where pid is the first number after the login id.
- Try kill -9 pid if that doesn't work.
- If your GUI is locked up, or you've lost all your windows, or things really are weird with it,
- Type CTRL-ALT-BACKSPACE.
- This should return you to a command prompt where you can type startx to restart your GUI.
- Notice this is NOT CTRL-ALT-DELETE.
- If you have tried these things and you still think that you need to reboot, but you aren't sure. Call someone who is familiar with Linux.
- WHY NOT?
- Linux caches disk access. Rebooting may lose valuable data.
- Linux runs many programs. Some need to be shut down properly.
- UNIX was originally designed to have more uptime than downtime. Shutdowns and reboots should be infrequent.
- Proper shutting down and rebooting.
- shutdown -h 10 (shutdown and halt Linux in 10 minutes)
- shutdown -h now (shutdown immediately)
- shutdown -r now (reboot the computer)
- Turn off the computer when you see "System Halted"
HELP!
- Type man command
Where command is command you need help with.
- Read the HOWTO pages
- They are in /usr/doc/HTML/ldp for Red Hat users.
- Try find / -name "*HOWTO*" -print and see what you turn up.
- Look around the World Wide Web
- Consult with your local Linux User Group
Profile of a Redmond User
If an account and cache are things you need to communicate with your software vendor, then you might be a Redmond User.
If the term "three fingered salute" is a common part of your vocabulary, then you might be a Redmond User.
If you think a "man page" is a male who works at the Whitehouse, then you might be a Redmond User.
If mounting your floppy drive embarrasses you, then you might be a Redmond User.
If you think multitasking means getting a cup of coffee while you install software, then you might be a Redmond User.
If you think "RTFM" means Reboot the Fine Machine, then you might be a Redmond User.
