CHAPTER 01 1
Fedora Fedora Linux Toolbox 2003 Fedora Core( ) http://fedoraproject.org www.redhat.com 2
CHAPTER Fedora RHEL GNU public license www.centos.org www.yellowdoglinux.com www. lineox.net www. scientificlinux.org RHEL DistroWatch (http://distrowatch.com/dwres.php?resource=independence) RedHat MandrivaPCLinuxOS Linspire RPM 2 RPM MandrivaPCLinuxOSLinspire 3
Fedora Fedora RedHat Enterprise Linux( ) Fedora ( 6 ) RedHat Novell Novell SUSE Linux Enterprise OpenSUSE Microsoft 2006convenant not to sue (www.novell.com/linux/microsoft/convenant.html). Debian Ubuntu Linux KNOPPIX live CD Debian Debian RHEL ( ) Ubuntu (www.ubuntu.com/support/paid) Fedora FedoraProjectorg (http://f edoraproject.org/wiki)fedora fedoraproject.org/wiki/communicate 4
CHAPTER fedoraproject.org/wiki/distribution fedoraproject.org/wiki/faq fedoraproject.org/wiki/forbiddenitems fedoraproject.org/wiki/bugs/fc6common Fedora [ 11] Fedora RHEL www.redhat.com/mailman/listinfo fedoraproject.org/wiki/communicate#irc FedoraForum.org LinuxForums.org FedoraFaq.org fcp.surfsite.org FedoraUnity.org FedoraSolved.org FedoraNEWS.org groups.myspace.com/fedoraproject www.frappr.com/fedora www.flickr.com/groups/fedora 5
Fedora 7 (Fedora Core) (Fedora Extras) Fedora Core Fedora Extras (http://fedoraproject.org/ getfedora.html) http://rpm.livna.org, http://atrpms.net, http://freshrpms.net, http://dag.wieers.com/rpm 2 (GUIs) GUI 6
CHAPTER shell? $ Fedora Linux Toolbox man man info help 7
Fedora bash: mycommand: command not found [ 12] $ type mount mount is hashed (/bin/mount) $ whereis mount mount: /bin/mount /sbin/mount.cifs /sbin/mount.smb /sbin/mount.smbfs /usr/share/man/man2/mount.2.gz /usr/share/man/man8/mount.8.gz mount $ locate bash.ps bask.ps $ which umount /bin/umount $ rpm -qal grep umount /usr/share/man/man2/umount.2.gz /usr/share/man/man2/umount2.2.gz /bin/umount $ yum whatprovides bzfs... bzflag.i386 2.0.8-3.fc6 extras Matched from: /usr/bin/bzfs /usr/share/man/man6/bzfs.6.gz umount umount bzfs bzflag ( 8
CHAPTER bzflag) root # yum search capture-the-flag Searching Packages: Setting up repositories Reading repository metadata in from local files bzflag.i386 2.0.8-4.fc7 fedora Matched from: BZflag is a 3D multi-player tank battle game that allows users to play...... There are two main styles of play: capture-the-flag and free-for-all. # yum install bzflag UNIX help man /usr/share/doc man info help Fedora -h --help ls $ ls --help less Usage: ls [OPTION]... [FILE]... List information about the FILEs (the current directory by default). 9
Fedora Sort entries alphabetically if none of -cftusux nor --sort. Mandatory arguments to long options are mandatory for short options. -a, --all do not hide entries starting with. -A, --almost-all do not list implied. and.. ls less card $ card ls --output=/tmp/ls.ps $ lpr ls.ps card PostScript ls.ps card lpr --output man apropos man NAME crontab $ apropos crontab... /etc/anacrontab [anacrontab] (5) - configuration file for anacron crontab (1) - maintain crontab files for individual users (ISC Cron V4.1) crontab (1p) - schedule periodic background work crontab (5) - tables for driving cron (ISC Cron V4.1) crontabs (rpm) - Root crontab files used to schedule the execution of programs.... apropos crontab man NAME man man ( ) 10
CHAPTER whatis NAME $ whatis cat cat (1) - concatenate files and print on the standard output cat (1p) - concatenate and print files man $ man find FIND(1) FIND(1) NAME find - search for files in a directory hierarchy SYNOPSIS find [-H] [-L] [-P] [path...] [expression]... find man man crontab crontab crontab man Man [ 13] section 11
Fedora man $ man mount -a Shows all man pages related to component $ man 5 crontab Shows section 5 man page for component $ man mount -P more Use more, not less to page through $ man --path List locations of man directories /usr/kerberos/man:/usr/local/share/man:/usr/share/man/en: /usr/share/man:/usr/x11r6/man:/usr/local/man $ man -f mount Same as the whatis command $ man -k mount Same as the apropos command man man2html $ whereis -m cat cat: /usr/share/man/man1/cat.1.gz /usr/share/man/man1p/cat.1p.gz $ cd /tmp ; cp /usr/share/man/man1/cat.1.gz. $ gunzip cat.1.gz $ man2html cat.1 > cat.1.html $ links cat.1.html cat man man /tmp man2html man HTML(cat1.html ) link( ) shell man (link elinks elinks ) man http:// linuxmanpages.com info info info $ info ls 12
CHAPTER ls Page Up Page Down Home End info [ 14] info gimp festivallibcautomakezshsedtarbashinfo /usr/share/info FedoraRedHat Enterprise LinuxCentOS 13
Fedora 14