Contents
|
Previous
|
Next
Table of contents
Introduction
So what is Linux?
Logging-in and creating a user account
Consoles and terminal windows
The root account
Creating a user account
Removing a user account
Logging-out
Rebooting
Virtual terminals and multiple X sessions
$ startx - start X
Navigation
$ cd - change directory
Listing directories
Command-switches
$ ls - list
Sorted lists
Other list examples
$ tree
$ clear
$ pwd - print working directory
File management
$ cp - copy
$ mv - move
$ rm - remove
$ mkdir - make directory
$ rmdir - remove directory
$ ln - link
$ touch
Viewing text files
$ head
$ tail
$ cat
$ tac
$ less
$ sort
The command history and other shell tricks
$ history
Other shell tricks
Tarballs, gzips, bzip2s, RPMs, and zips
$ tar
$ gzip
$ bzip2
# rpm
$ zip
$ unzip
Command-line help
--help
$ info
$ man - manual
The man database
$ whatis
$ apropos
$ which
$ whereis
/usr/doc and /usr/share/doc
Finding files
$ find
Finding files by name
Finding files by size
Running commands on files found
Finding files by owner
Finding files by modification time
System information
$ dmesg - display (kernel) messages generated
$ df - diskspace free
$ du - disk usage
Process management
$ ps - process
$ kill
$ top
Job control
Background jobs
Permanently stopping jobs
Environment variables
$HOME
$PATH
$SHELL
The su command
$ su - substitute user
Vi survival guide
Insert/Replace mode
Command mode
Save
Quit
Open
Move
Undo and Redo
Cut
Copy and Paste
Search
Replace
Miscellaneous
Emacs: basic editing
Key combo reference
Moving
Cut, copy, & paste
Save, open, & exit
Search & replace
Buffers/windows
Undo & redo
Help
Repitition
Miscellaneous
Customising your shell
Customising your prompt
Character sequences
Creating aliases
Accessing block devices
/etc/fstab
Device
Mount point
Filesystem type
Mount options
Dump
Check
$ mount
$ umount
Wildcards
Access rights
$ groups
# chgrp - change group
# chown - change owner
$ chmod - change mode
Type
Owner, group, and other
Setting permissions: method one
Examples
Setting permissions: method two
Date and time
$ cal - calendar
$ date
Upgrading your kernel
Booting with Grub
Booting with Lilo
How do I create, compile, and run a C program?
Code example explained
How do I create, and run a Perl script?
Further Help
What's a filesystem, directory, and file?
What's a current and parent directory?
Bytes, kilobytes, megabytes, gigabytes?
What's an absolute and relative path?
Things still to cover
Definitely cover soon
Required improvements
Cover later
Other commands
Contents
|
Previous
|
Next
Copyright © 1998-2002 Linuxdot.org.
Linux ® is a registered trademark of Linus Torvalds.