Editor: Mr. Chenxu is from: Sun China Engineering Research Institute
--------------------------------------------- ------- 0001 Modify the host name (bjchenxu) VI / etc / sysconfig / network, modify the hostname first behavior "Hostname = Host Name" (don't you do this), then run the command "Hostname CPU name". Generally, you should also modify the host name in the / etc / hosts file. In this way, the host name is successful regardless of whether you are restarted. 0002 RET HAT Linux Boot to Text Interface (BJCHENXU) VI / etc / initTab ID: x: INITDEFAULT: X = 3: Text Way x = 5: Graphics Method 0003 Linux automatic upgrade update problem (Hutueworm, Netdc For Redhat, find patch at www.redhat/corp/support/errata/, 6.1 later version with a tool Up2date, it can measure which RPM package needs to be upgraded, then automatically download and complete the installation from the Redhat site. Upgrade RPM: Up2date -u upgrade outside Kernel: Up2date -u -f, including kernel: Up2date -u -f due to the red hat network SSL certificate expiration, so I should execute a row of Script before RHN_REGISTER || UP2DATE before updating the certificate: wget -q -O - https://rhn.redhat.com/help/new-cert.sh | / bin / bash debian is still very different from other distributions, using Debian to do server maintenance more convenient; red hat The upgrade is actually troublesome, of course, if you pay the red hat, the service will be different. Debian Upgrade Software: APT-GET Update Apt-Get Upgrade Premise: Configure network and /etc/apt/sources.list, or you can also use the APT-SETUP settings. 0004 WINDOWS Software (BJCHENXU) PARAGON.EXT2FS.Anywhere.2.5.rar and Explore2FS 1.00-PRE4.ZIP 0005 MOUNT Usage (Sakulagi, SXSFXX) FAT32 partition mount -o codePage = 936, IoCharset = CP936 / Div / HDA7 / MNT / CDROM NTFS partition mount -o iocharset = CP936 / DEV / HDA7 / MNT / CDROM ISO file mount -o loop /abc.iso / mnt / cdrom floppy mount / dev / fd0 / mnt / floppy usb flash memory Mount / DEV / SDA1 / MNT / CDROM All / etc / fstab content mount -a can specify the file format "-t format", the format can be vfat, ext2, ext3, etc. Visit DVD Mount -t ISO9660 / DEV / DVD / MNT / CDROM or Mount -T UDF / DEV / DVD / MNT / CDROM Note: DVD's format is typically shared using local FAT partitions using local hard drives in VMware's Linux, one 0006. Use SMBFS hanging in VMware.
You can put the following line to / etc / fstab: // Win_IP / D $ / MNT / D SMBFS DEFAULTS, AUTO, UserName = Win_Name, Password = Win_Pass, CodePage = 936, IOCHAREST = GB2312 0 0 where Win_IP is yours Windows IP address; D $ is the shared name of the D disk shared in your Windows; / MNT / D is the directory of the partition mount to Linux; Win_Name and Win_Pass are users in your Windows to read the partition For example, your administrator name and password. If you run /etc/rc.d/init.d/netfs, you will automatically mount this partition when starting. 0007.A Delete files (BJCHENXU) RM ./-a rm - -a tells RM This is the last option, see getopt ls -i listing inum, then use Find. -Inum inum_of_thisfile -exec rm '{}' /; 0007.B Delete file (BJCHENXU) RM // A 0007.c Delete Name Belt / and '/ 0' File (bjchenxu) These characters are not allowed by the normal file system Character, but may be generated in the file name, such as the NFS file system under UNIX uses 1. Solving the method on the Mac system, remove the NFS file system under the system that is not filtered to filter '/' characters, containing a special file name file. 2. You can also remove the other files of the error file name, LS -ID displays the Inum, Umount file system, CLRI containing the file directory, clear the directory of Inum, FSCK, Mount, Check your Lost Found, Rename The File IN it. It is best to remove any file name of any file name! 0007.D Delete the name with invisible characters lists the file name and dump to file: ls -l> AAA then The content of the editing file is added to the RM command to make its content into the format of the above file: vi AAA [RM -R ******] Plus the file plus the execution permission CHMOD X AAA to perform $ AAA 0007.e Delete file size For zero file (bjchenxu) rm -i `find ./ -size 0` Find ./ -size 0 -exec rm {} /; or find ./ -size 0 | xargs rm -f & or for file in * # You define the file type DO if [! -S $ {file}] Then RM $ {file} echo "RM $ FILE SUCCESS!" Fi DONE 0008 redhat sets the roller mouse (MC1011) After entering X, select the mouse configuration Select Wheel Mouse (PS / 2). If the mouse is exception, restart the computer.
(Or SU, VI / ETC / X11 / XF86Config, change the PS / 2 to IMPS / 2) 0009 Pack XWindow (bjchenxu) Start with Linux CD, select Upgrade, then select the package separately, install 0010 Delete Linux partition ( BJCHENXU) Do a PARTITION MAGIC boot floppy disk, delete it after startup. Or start with Win2000 boot CD, then delete. 0011 How to exit MAN (bjchenxu) Q 0012 does not compile the kernel, Mount NTFS partition (bjchenxu, hutueworm) original RH8, Not upgraded or compiled by the kernel 1. Google.com search and download KERNEL-NTFS-2.4.18-14.i686.rpm 2. rpm -ivh kernel-NTFS-2.4.18-14.i686.rpm 3. MKDIR / MNT / c 4. Mount -t NTFS / DEV / HDA1 / MNT / C or read Only: http://linux-ntfs.sourceforge.net/read / write: http://www.jankratochvil.net/project/captive/ 0013 TAR Split Compression and Merging (Wongmokin, Waker) Takes a TAR Split Compression with 500M per volume: TAR CVZPF - SOMEDIR | SPLIT -D -B 500M Tar Multi-volume merge: CAT X *> mytarfile.tar.gz 0014 LILO / GRUB Retrieves three ways to retrieve the ROOT password (BJCHENXU): 1. In the system enters the single user status, use Passwd root to change 2. Use the installation CD boot system to perform the Linux Rescue status, will be original / partition Mounting up, the practice is as follows: CD / MNT MKDIR HD Mount -t Auto / dev / hdax (the partition number of the original / partition) HD CD HD chroot ./ passwd root can get it 3. Put the hard disk of this unit, Hanging to other Linux systems, the method used in the same way. LILO 1. Type the Linux Single screen when the LILO: prompt appears to display lilo: Linux Single 2. Enter the bus from entering the Linux command line 3. #vi / etc / shadow The first line, that is, ROOT: and next: The first line will be similar to root :: ... Save 4. #Reboot Restart, the root password is empty II. GRUB 1. When the GRUB screen appears, use the top button to select the one you usually start "Don't choose DOS 哟), then press E-key 2. Use the up and down button to select the one you usually start Linux ( Similar to kernel /boot/vmlinuz-2.4.18-14 Ro root = label = /), then press E-key 3. Modify the command line you are now seeing, join Single, as follows: kernel /boot/vmlinuz-2.4. 18-14 SINGLE RO ROOT = Label = / 4. Enter back, then press B to start, you can directly enter the Linux command line 5. #vi / etc / shadow will be the first line, that is, ROOT in a row start with root : After and the next: The first line will be similar to root :: ... Save 6. #Reboot restart, root password is empty 0015 make Ctrl Alt
Del Failure (BJCHENXU) VI / ETC / INITTAB Note Ca :: Ctrlattdel: / Sbin / Shutdown -t3 -R Now, you can do 0016 how to see the redhat version is 7 or 8 (hutueworm) cat / proc / Version or CAT / etc / redhat-release or cat / etc / Issue 0017 file in which RPM is searched on www.rpmfind.net, or the RPM -QF file name get 0018 to save the information of Man or INFO Text file (BJCHENXU) Take TCSH as an example: man tcsh | col -b> tcsh.txt info tcsh -o tcsh.txt -s 0019 utilizes two files to generate a new file (bjchenxu) 1. Remove two files The panegroup (repeated rows reserved) 2. Remove the intersection of two files (only the files existing in two files) 3. Delete the intersection, leave other rows 1. Cat file1 file2 | Sort | UNIQ 2. CAT file1 file2 | sort | uniq -d 3. Cat file1 file2 | sort | UNIQ -U 0020 Sets the COM1 port, allowing the super terminal to log in via COM1 port (bjchenxu) confirmation / SBIN / AGETTY, editing / ETC / INITTAB, Add 7: 2345: Respawn: / sbin / agletty / dev / ttys0 9600 9600bps is because the default of the linkage is generally this rate, or it can be set to 19200, 38400, 57600, 115200 Modified / etc / securetty Add a line: TTYS0, make sure that the root user can log in to restart the machine, you can unplug the mouse keyboard display (best to look at the output information when starting) 0021 Delete directory All files include subdirectory (BJCHENXU) RM -RF directory Name 0022 View System Information (BJCHENXU) CAT / PROC / CPUINFO - CPU (IE Vendor, MHz, Flags Like MMX) CAT / Proc / Interrupts - Interrupt CAT / PROC / IOPORTS - Device IO Port CAT / Proc / Meminfo - Memory Information ( IE MEM Used , free, swap size) CAT / Proc / Partitions - All partitions CAT / PROC / PCI - PCI device information CAT / proc / swaps - All SWAP partition information CAT / proc / version - Linux version number is equivalent to UNAME -R UNAME -A - See the system kernel and other information 0023 Remove the extra carriage return (BJCHENXU) SED 'S / ^ m //' test.sh> back.sh, pay attention to ^ m is getting CTRL_V CTRL-M Or DOS2UNIX FileName 0024 Switch X Desktop (LNX3000) If you log in to Linux in graphic login, you can select GNOME and KDE if you log in to Linux, click Session on the login interface. If you are logged in with a text, then execute SwitchDesk Gnome or SwitchDesk KDE, then startX to enter GNOME or KDE.
(Or vi ~ / .xinitrc, add or modify EXEC GNOME-Session or Exec Startkde, then start X) 0025 Universal Sound Card Driver (Lnx3000) OS www.Opensound.com/ Alsa www.Alsa-Project.org / 0026 Change the system language / character set (BEMING / MC1011) modified / etc / sysconfig / i18n file, such as lang = "en_us", XWindow will display the English interface, lang = "zh_cn.gb18030", xwindow will display the Chinese interface . There is also a method CP / etc / sysconfig / i18n $ home / .i18n modifies $ home / .i18n file, such as lang = "en_us", XWindow will display the English interface, lang = "zh_cn.gb18030", XWindow displays the Chinese interface . This will change the individual's interface language without affecting other users (Debian does not support GB18030 (RH's Zysong Font is copyrighted) Now there is no free GBK and GB18030 Fonts vi .bashrc export lang = zh_cn.gb2312 export lc_all = zh_cn.gb2312) 0027 Setting the screen to 90 columns (BJCHENXU) stty cols 90 0028 Using the MD5SUM file (BJCHENXU) MD5SUM ISOFILE> Hashfile, the MD5SUM file and the Hashfile file content comparison Decompress the multiple zip files (bjchenxu) unzip "*", pay attention to quotation marks less 0030 Look at the PDF file (bjchenxu) Use XPDF or install the Acrobat Reader for Linux 0031 to find the file (bjchenxu) Find. -Type F / (-PERM-04000 -O -PERM-02000 /) -EXEC ls -lg {} /; 0032 BJCHENXU, HUTUWORM) Takes redhat8 as an example, XWindow and its terminal do not have to say, the default Installed, exhaled with Ctrl-Space. Now discuss pure console, please go to http://encon.sourceforge.net/ download ENCON-0.2.1.tar.gz, put in any directory, TAR XVFZ ENCON-0.2.1.tar.gz, CD ENCON-0.2 .1,. / Configure, make, make install. End of installation, want to use, run zhcon, want to exit, run the exit. 0033 Receive the pop-up CD (beike) #Eject -t 0034 CD CD Made ISO file (mentally wisdom) CP / dev / cdrom xxxx.iso 0035 Quick Watch the power-on hardware detection (mentally wisdom) DMESG | More 0036 View hard disk use (BJCHENXU) DF -K Displays DF -H in K, M, G, T.. 0037 to view the size of the directory (bjchenxu) du -sh dirname -s only display Total -H is in units of K, M, G, improve information readability. KB, MB, GB is a converter unit at 1024, and -H is converted at 1000.
0038 Find or delete the process (WWWZC) FUSER FILENAME FUSER-K FileName 0039 installation software (BJCHENXU) RPM-IAA.TAR.GZ; CD AAA ;./configure; make; make install 0040 Character Mode Setting / Delete Environment Variables Under Setting: Export Variable Name = Variable Value Delete: Unset Variable Name CSH Set: STenv Variable Name Variable Value Delete: Unstenv Variable Name 0041 LS How to see hidden files (ie The files of the beginning of the document) (double eyelid) ls -a l. (Suitable for redhat) 0042 RPM where to install (bjchenxu) rpm -qpl aaa.rpm 0043 Using src.rpm (bjchenxi) RPMBuild --Rebuild * .src.rpm 0044 VIM display color or does not display color (bjchenxu) First, make sure the Vim-Enhanced package is installed, then Vi ~ / .vimrc; if there is Syntax ON, the color, Syntax Off, Not displaying color 0045 Linux is a real-time or time-time operating system (BJCHENXU) minute 0046 make bzimage -j's J is meaning in what is mainly used when your system hardware resources are relatively large, relatively rich Time, use this can come to speed up the speed of compilation, such as the -j 3 0047 source package, how do you have no source code, you put on your CD RPM-I * kernel * Source * .rpm, you can see Go to your source code. 0048 Modify System Time (bjchenxu, laixi781211, hutueworm) Date -s "2003-04-14 CST", CST referral, time setting with DATE -S 18:10 modified after modifying clock -w Write to CMOS HWCLOCK --SYSTOHC SET the Hardware Clock To The Current System Time 0049 Boots the partition under Windows to automatically hooks the Windows D disk to / mnt / d, open / etc / fstab with VI, add the following line / dev / hda5 / mnt / d vfat defaults, codepage = 936, IoCharset = cp936 0 0 Note Memory made Cache to improve the last two numbers in the last two numbers in the last configuration item IO speed 0051 fSTAB. The first called FS_FREQ is used to determine which file system needs to perform DUMP operation, 0 is not required; The second name is fs_passno, which is a system restart to detect the sequence number 1 of the FSCK program to detect the disk. 1 is the root file system, 2 is another file system.
FSCK Detects Disk by Sequence Number, 0 Indicates that the file system is not detected by the file system of DUMP execution EXT2 FSCK detection and repair file system 0052 Linux to make the user's password must have a certain length, and comply with complexity (EAPASS) VI /etc/login.defs, the translation software in PASS_MIN_LEN 0053 Linux, the Star XDict Console, there is a DICT tool, through the DICT protocol to Dict.org, check 11 this dictionary, for example: Dict RTFM 0054 Do not let the monitor sleep (bjchenxi) setterm -blek 0 setterm -blank n (n is waiting time) 0055 use DAT query yesterday's Date --Date = 'YesterDay' 0056 = 'YesterDay' 0056 xwindow How to screen capture (bjchenxu) KSNAPSHOT or GIMP 0057 Decompression Small All (Noclouds) TAR-I or Bunzip2 command can decompress .bz2 file tar xvfj example.tar.bz2 tar xvfz example.tar.gz tar xvfz example.tgz tar xvf esample.tar unzip example.zip tar -JVXF Some.bz is the software file-roller that TAR's ZVXF is changed to JVXF ZIP / TAR RH8 with a graphical interface. You can also unnounce the ZIP file with unzip * .rar, unrar * .rar unlined the RAR file, but UnRar is generally unreliable, to download online.
# rpm2cpio example.rpm │ CPIO -DIV # Ar p example.de.deb data.tar.gz | TAR ZXF - Alien offers mutual conversion between .tgz, .rpm, .slp, and .deb and other compressed formats: http: / /sourceforge.net/projects/alien sex provides almost all visible compression format decompression interfaces: http://sourceforge.net/projects/sex 0057-2 TAR compression, decompression usage (Platinum) decompression: x compression: C GZ: z For BZ2: J for Display: V Decompression Instance GZ file: tar xzvf xxx.tar.gz bz2 file: tar xjvf xxx.tar.bz2 Compressed instance GZ file: TAR CZVF XXX.TAR.GZ / Path BZ2 file : TAR CJVF xxx.tar.bz2 / path 0058 Find a method in multi-level directory (Qinghai Lake) Find / Dir -Name filename.ext du -a | grep filename.ext locate filename.ext 0059 does not allow ordinary User's own change password (MyXFC) [root @ xin_fc etc] # chmod 511 / usr / bin / passwd wants to make ordinary users yourself to change password [root @ xin_fc etc] # chmod 4511 / usr / bin / passwd 0060 graphics card is not available What should I do (win_bigboy) to http://www.redflag-linux.com/, the XFree86 4.3 installation can be installed. 0061 Super Delete Formatting Tool (Mouli) is safe than pqmagic, establishing deletion formatted small Tools: sfdisk.exe for msdos http://www.wuseuang.net/soft/sfdisk.zip 0062 How to make the correct Chinese in the XMMS playlist (MyXFC) - * - * - * - * - * - ISO8859-1 , -misc-simsun-medium-r-normal - 12 - * - * - * - * - * - GBK-0, * - R - completely copy this thing into your font: Right click on XMMS Any "option" will be seen anywhere in the play tool, then select "Fonts" to select "Fonts" and then put The above font is completely copied to "playlist" and "User x font 0063 redhat linux play MP3 file (hehhb) original XMMS can not play MP3 (silent), to install an RPM package: rpm -ivh XMMS-MP3- 1.2.7-13.p.i386.rpm. Open XMMS, CTL-P, first tick in the upper half of the small box, then select "Fixed (MISC) GBK-0 13" font to display Chinese song song name. Select "Open Audio System Driver 1.2.7 [Lioss.so] in the audio output plugin to play the MP3 file normally.
0064 Installing Chinese Fonts (Hehhb) first download http://freshair.netchina.com.cn/~george/sm.sh (Reference: http://www.linuxeden.com/edu/docText.php?docid=2679 SIMSUN18030.TTC can be downloaded in Microsoft website, http://www.microsoft.com/china/windows2000/downloads/18 030.asp It is an MSI file, installed in Mswindows, installed under the Windows directory You can find it in the Fonts directory. Copy SIMSUN.TTTC, SIMSUN18030.TTC, Tahoma.ttf, TahomAbd.ttf to / usr / local / temp, then download the shell file in this directory, then open the terminal CD / USR / local / Temp Chmod 755 SM .sh ./sm.sh 0065 Fat32 loaded with Windows partitions Enter KDE as root as root, click the "Starting point" icon on the desktop, establish the following folders in / mnt directory: C, D, E , f, g, usb. It is used as partitions and USB flash drives under Windows. Use the text editor to open the / etc / fstab file. Add below: / dev / hda1 / mnt / c vfat ocharset = GB2312, umask = 0, codepage = 936 0 0 / dev / hda5 / mnt / d vfat ocharset = GB2312, umask = 0, CODEPAGE = 936 0 0 / dev / hda6 / mnt / e vfat ocharset = GB2312, umask = 0, CODEPAGE = 936 0 0 / dev / hda7 / mnt / f vfat ocharset = GB2312, umask = 0, codepage = 936 0 0 / dev / hda8 / mnt / g vfat ocharset = GB2312, umask = 0, codepage = 936 0 0 / dev / cdrom / mnt / cdrom udf, ISO9660 NOAUTO, IOCHARSET = GB2312, Owner, Kudzu, RO 0 0 / DEV / SDA1 / MNT / USB VFAT IOCHARSET = GB2312, UMASK = 0, CODEPAGE = 936 0 0 store exits. After restarting, you can access the FAT32 or FAT16 format partition, solve the problem of garbled with the Windows partition and the disc Chinese file name. A total of six columns, each column is used for a Tab key. Note that this method can only mount on the FAT partition format. SDA1 is a flash drive. 0066 uses five pens and pinyin, location input method (HMKART) is installed from http://www.fcitx.org/, and how to extract the RAR file (hmkart) http: // in Linux Www.linuxeden.com/download/softdetail.php?softid=883 Download Rar for Linux 3.2.0, decompressing MAKE can then use unrar e yefilename.rar to extract the RAR file 0068 hard drive How to add / remove the RPM package (Sakulagi) Redhat-config-packages --IDIR =
Also, to save the volume size of the OSS, steps are: 1. Adjust the volume to your satisfactory volume 2 with AUMIX, use root users to enter / usr / lib / oss (OSS default installation directory) 3, execute ./savemixer ./mixer.map 4, ok, after the OSS is open, you are adjusting the volume in the first step. PS: Reading Readme in this directory to get more useful information. 0070 Do ISO (GRUB007) DD if = / dev / cdrom of = / tmp / aaa.iso 0071 (including file name and file in directory) (SHALLY5) Find. -Ctime 3 - Exec rm -rf {} /; or find ./ -mtime 3 -print | xargs rm -f -r 0072 user's crontab where (hutueworm) / var / spool / cron / under file 0073 named file 0073 Different User Item Run Programs (Bjchenxu) Su - Username -c "/ path / to / command" Sometimes you need to run a special identity, you can let SU to do 0074 How to empty a file (bjchenxi)> FileName 0075 Why OpenOffice Don't display Chinese (Allen1970) Change font settings Tools-> options-> font replacement andale sans ui -> SIMSUN 0076 How to back up the Linux system (PURGE) Symantec Ghost 7.5 Support EXT3 NATIVE CD 0077 Linux PARTITION MAGIC (WWWZC Next useful partition tool next to Linux: Parted can modify the partition size, delete / create partitions real-time. 0078 / Proc / Sys / SEM What does every representation mean? (Sakulagi) / proc / sys / sem content below 250 32000 32 128 These four parameters are SemMSL in turn (the maximum number of semapons per user), SEMMNS (maximum number of system semaphes), Semopm (number of SemoP system call operands), SemMni (maximum number of system semons) 0079 GRUB boot What does BIGMEM SMP UP mean in the menu? (LNX3000) SMP: (Symmetric Multiple Processor) Symmetrical Multi-processor Mode Bigmem: Supports 1G Optimized Nuclear UP: (UNI Processor) Single Processor Mode 0080 Oracle installer why garbled? (LNX3000) Now Oracle's installer has problems with Chinese support. You can only use the English interface to install, before executing RunInstaller, execute: export lang = c; export lc_all = c 0081 Linux, the color represents the color of the file and directory " Sakulagi, mentally mini) blue representation directory; green represents executable file; red represents compressed files; light blue represents link files; gray represents other files; red flashing indicates that the file is problematic; yellow is a device file, including Block, including Block, CHAR, FIFO. Use Dircolors -P to see the default color settings, including various colors and "bold", underscore, flashing, etc.
0082 View how many activities httpd scripts (bjchenxi) #! / Bin / sh while (true) do pstree | grep "* / [httpd /] $" | sed 's /.*-/ ([0-9] [ 0-9] * /) / * / [httpd /] $ // 1 / 'Sleep 3 Done 0083 How to add a hard disk (good gentleman) one, shutdown, physical connection hard disk if it is the IDE hard disk, pay attention to the main, slave Setting; if it is a SCSI hard drive, pay attention to selecting an ID number that is not used. Second, boot, check the hard disk has been detected by Linux DMESG | GREP HD * (IDE hard disk) Dmesg | GREP SD * (SCSI hard disk) or Less / var / log / dmesg If you don't detect your new hard drive, restart, Check the connection and see if the BIOS has recognized it. Third, the partition you can use FDISK, SFDisk, or Partition (Partition Magic under Linux), format MKFS 5, modify how to see the partition under the partition under the FSTAB VI / ETC / FSTAB 0084 Linux (Q1208C) E2Label / dev / hdxn, where x = a, b, c, d ...; how to add a new language package after installation in RH8, 9 (good gentleman) 1. 8.0 1. Put the first CD 2.cd / mnt / cdrom / redhat / rpms 3.rpm -ivh TTFONTS-EN_CN-2.11-29.NOARCH.RPM (Simplified Chinese, you can use the Tab key to make up Part to avoid input incorrectly) 4. rpm -ivh ttfonts-zh_tw-2.11-15.noarch.rpm (Traditional Chinese) If you still want to weave Japanese, Korean, try the TTFONTS * .RPM on the second CD. 2 .9.0 9.0 is not on the first plate, on the third plate. RPM package name is: TTFONTS-EN_CN-2.12-1.Noarch.rpm (Simplified Chinese) TTFONTS-EN_TW-2.11-19.Noarch.rpm (Traditional Chinese) 0086 Terminal Fricklight (TSGX) CAT / DEV / VCSX> Screenshot where X indicates that the X terminal can also run Script Screen.log, and record the screen information to Screen.log. I will record your exit for a while. This is also a good way to grip. This is seen on the Cookbook on Debian. Can be used on RH9. There is no test on other systems. 0087 Let a program continue to run after exiting landing (NetDC) #nohup program name & 0088 man command is not in the path, how to view non-standard MAN files (bjchenxi) nroff -man /usr/man/man1/cscope.1 | more 0089 Run the program (BJCHENXU) SU - username -c "/ path / to / file" sometimes need to run a special identity program ... 0090 editing / etc / inittab After direct entry into force (BJCHENXU) #init Q 0091 Let Linux continue several commands, error stop (bjchenxu) Command1 && command2 && command3 0092 How to install GRUB to MBR (Bjchenxu, Netdc) GRUB> root (HD0, 0) GRUB> Setup (HD0) can also be installed with # grub-install / dev / hda to install GRUB.
0093 Write GRUB (LILO) to the Linux partition guide or the main boot sector (MBR) (BJCHENXU) If you want your computer to start, you will directly enter the operating system startup menu, write grub (lilo) on the MBR. If you are written to the Linux partition, you have to boot with the boot disk. It is recommended to write MBR, convenient point, as to write to MBR is not safe, what explains? Each time Win98, MBR will be modified once, do you think is it unsafe? 0094 How to make multi-system coexistence (BJCHENXU) 98 system, use LILO (GRUB) boot, 2K / NT uses OSLoader boot multi-system 0095 how to switch back and forth between graphical interface and console (character interface) a. Graphics Interface to the console: CTR Alt Fn (n = 1, 2, 3, 4, 5, 6). b. Switch between each console: Alt Fn (n = 1, 2, 3, 4, 5, 6). c. Console to Graphics: Alt F7 0096 Redhat Linux Common Command (BJCHENXU) <1> LS: Column Directory. Usage: LS or LS DIRNAME, parameter: -a Displays all files, -l lists files. <2> MKDIR: Build a directory. Usage: MKDir Dirname, parameter :-P build multi-level directory, such as: MKDIR A / B / C / D / E / F -P <3> Mount: Mount partition or mirror file (.IMG) file. Usage: a. Disk Partition: Mount DeviceName MountPoint -O Options, where DeviceName is a device name of disk partition, such as / dev / hda1, / dev / cdrom, / dev / fd0, mountPoint is a mount point, it is a directory, Options is the parameter, if the partition is Linux partition, generally not -O Options, if it is the Windows partition, the options can be IoCharset = CP936, so that the Chinese file name in the Windows partition can be displayed. Use: such as / dev / hda5 is a Linux partition, I want to hang it on the directory A (if you have no directory A, first mkdir a), mount / dev / hda5 a, this directory A is the partition hda5 Things, such as HDA1 is a Windows partition, hung it on B, mount / dev / hda1 b -o iocharset = cp936. b. mirror file: mount filename mountpoint -o loop, filename is the mirror file name (* .Iso, *. img), other don't say, the same is true. Use: If I have an A.iso CD image file, Mount A.iso A -O Loop, so you can browse A.iso's content, *. IMG file. <4> Find: Find files.
Usage: Find Indir -Name FileName, Indir is which directory you want to find, filename is the file name you're looking for (you can use wildcard), when using wildcard, FileName is best to use single quotes, otherwise sometimes error, use case: Find. -name test *, find files starting with TEST in the current directory. <5> grep: Find the specified string in the file. Usage: GREP STRING FileName, find String in FileName (available in wildcard) (it is best to use double quotes). Parameters: -r Find in FileName in all subdirectory. Use: grep hello * .c -r Find Hello in all .c files in the current directory (including subdirectory). <5> VI: Editor. Usage: vi filename. FileName is the text file you want to edit. After using the execution vi filename, you may find that you can't edit the text content, don't worry, this is because VI has not entered the editing state, press A or I to enter the editing state, enter the editing state, you can edit the text . To exit the edit status, press the ESC button. The following operations should be in a non-editing state. Find text: Enter / and you want to find text and enter. Exit: Enter: and Q and Enter, if you modify the text, then you want to use: Q! Enter to you. Save: Enter: W Enter, if it is read-only file, use: w !. Save Exit: Enter: WQ Enter, if you are read-only: wq! Enter. Cancel: Press U. You can cancel one step by one, you can cancel multiple steps multiple times. Copy and paste a line of line: move the cursor anywhere on the line you want to copy, press yy (just twice Y), move the cursor to the previous line to paste, press P, just now, the text will be The next line inserted into the row where the cursor is located, and the original cursor is in the row of all the rows. Copy paste multi-line text: Almost the same line, just yy change to the number of rows to copy to copy, followed by yy, followed. Move the cursor to the specified line: Enter: and the line number and enter, such as moving to 123 lines: 123 Enter, move to the end: $ Enter. 0097 Linux text interface How to turn off the PC speaker (labrun) in front of the / etc / input Bell-Style None, or Echo "Set Bell-style" ~ / .bashrc 0098 to reload Windows cause Linux Cannot lead to solutions (good gentleman) If there is no restrict, take the Linux boot disk (or the first installation disc) to boot, enter the rescue mode. First find where the original / partition mount is. Redhat is usually / mnt / sysimage. Perform "Chroot / MNT / Sysimage". If it is grub, enter grub-install / dev / hd * (depending on the actual situation); if it is LILO, enter LILO -V, then restart. If the partition changes, the corresponding modification /etc/lilo.conf and /boot/grub/grub.conf will then perform the above command.
0099 Why did the Win2K is very slow (LNX3000, good gentleman), you can't see Linux logical disk in 2000, but can not access? In disk management, select this disk, right-click -> Change "Drive Name and Path" -> "Delete" is ok, beware that this disk! 0100 Brake the Linux release version of the ISO file to the CD method (bjchenxu) Borrow the NERO software in Windows, select the image file burning, select the ISO file, burn it! 0101 Linux Braided ISO method (HUTUWORM) method 1: Use XcDroast, choose to make a disc, choose ISO file, burn! See http://www.xcdroast.org/xcdr098/faq-a15.html#17 method 2: find Command: CDRecord --scanbus output: 0, 0, 0 0) 'ATAPI' 'CD-R / RW 8X4X32' '5.EZ' Removable CD-ROM burned command: cdrecord -v speed = 8 DEV = 0102 how to do (double eyelid pig) when you can't Cat, this screen will spread when you accidentally Cat, this screen will spread, then you can press Two "Enter" keys, knock "reset", then the screen will return to normal .... 0103 How to uninstall the package (Diablocom) When you know that the command to delete the package is rpm -e xxx, But when we don't know the exact spelling of this XXX, you can query all installed packages or use rpm -qa | grep xxxx with rpm -q-qa | grep xxxx. 0104 is used in Linux. Add a line in / etc / fstab: NONE / TMP TMPFS DEFAULT 0 0 or add Mount TMPFS / TMP -T TMPFS -O Size = 128M Note: size = 128m represents / TMP maximum 128M Regardless of the way, as long as Linux restarts, the file under / TMP disappears 0105 LS -LF | GREP ^ D LS -LF | GREP / $ LS -F | GREP / $ 0106 in command List this machine IP address instead of getting NIC information (Yulc) ifconfig | GREP "inet" | cut -c 0-36 | SED -E 'S / [A-ZA-Z:] // g' Hostname - I 0107 Modify / etc / profile or $ home / .profile file How to take effect immediately (Peter333) #Source / etc / profile (or Source .profile) 0108 BG and FG Use (bjchenxu) Enter Ctrl Z, current task Will be suspended and pause, while screen Back to the progress number, at this time, use the "BG% process number" to put this process in the background, and "FG% process number" can be used to let this process in the foreground.
In addition, the Job command is used to check the current BG's process 0109 Ctrl S and Ctrl Q (bjchenxi) Ctrl-S is used to send data to the terminal, the screen is like death, can be recovered with Ctrl-Q 0110 Directory Statistics Script (BJCHENXU) Save into Total.sh, then use Total.sh absolute path to statistical the size of the directory of the directory: #! / Bin / sh du $ 1 --MAX-Depth = 1 | sort - N | awk '{printf "% 7.2FM ---->% S / N", $ 1/1024, $ 2}' | SED 'S: /. ([^ /] / {1, /} / $: / 1: g '0111 grep does not display itself process (bjchenxi) #ps -aux | grep httpd | grep -v grep grep -v grep can cancel the process of the grep itself you execute, the -v parameter is not Display the listed process name 0112 Delete the directory containing a file (WongMokin) Find / MNT / EBOOK / -TYPE F -EXEC GREP "In this input keyword" {} /; -Print -exec rm {} /; 0113 Let the task in CRON not feedback information, this example 5 minutes check one email (wongmokin) 0-59 / 5 * * * / usr / local / bin / fetchmail> / dev / null 2> & 1 0114 in the current Decompression RPM file (BJCHENXU) CAT kernel-ntfs-2.4.20-8.i686.rpm | RPM2CPIO | PAX -R 0115 combined two PostScript or PDF files (Noclouds) $ gs -q -dnopause -dbatch -sdevice = PSWRITE / -SOUTPUTFILE = bar.ps -f foo1.ps foo2.ps $ gs - q -dnopause -dbatch -sdevice = pdfwrite / -soutputfile = bar.pdf -f foo1.pdf foo2.pdf 0116 Remove Apache's Manual directory All .en suffix names (bjchenxu) entered the Manual directory code: find ./Regex. * /. En | awk -f. '{Printf "MV% s.% S.% S.% S% s.% s.% s / n ", $ 2, $ 3,4,4,1,, worth # 3} '| SH 0117 How to get multiple X (Noclouds) StartX defaults from Display: 0.0 first X By transmitting parameters to XServer can be used to get a plurality of x: # startx -: 1.0 # startx -: 2.0 ... then switched with Ctrl-Alt-F7 / F8 ...
0118 Let a program continue to run after logging in to run (Noclouds, Bjchenxu) #
0125 Test whether PATCH is working properly, and does not apply the change to Kernel (Jiadingjun) Patch - Dry-Run 0126 Redhat and Debian file installation deletion (NETDC) Delete a package: rpm -e For examples of upgrade packages 2.4.16, it is assumed that the source code directory is in / usr / src / linux, and "patch -p0 Then select "All Accounts", continue to click "Add" in the account editor that appears, when you appear, we can enter your QQ or MSN number, login name fill in the QQ number or MSN mailbox. The password fills in the corresponding QQ or MSN password, Alias fill in its own nickname, the protocol selects the corresponding QQ or MSN, and other settings can be default. You can log in when all settings are complete. Since MS is often upgraded to MSN's protocol, the GAIM and MSN plugins on Linux must be upgraded, and there is no no longer-lost solution, please forgive 0006 Isors 22-port now run what program (bjchenxu) LSOF -I: 22 0007 Viewbook IP, Gateway, DNS (BJCHENXU) IP: Log in with root, executes ifconfig. Where ETH0 is the first network card, LO is the default device Gateway: Log in to the root user, execute netstat -rn, the Gateway, which is starting with 0.0.0.0, is the default gateway, you can also view the / etc / sysconfig / network file, inside Have a specified address! DNS: more /etc/resolv.conf, the content is specified as follows: Nameserver 202.96.69.38 Nameserver 202.96.64.38 0008 RH8.0 Command Line Change the TTL value (CGWeb, LNX) method 1 (after restart): #sysctl - W Net.IPv4.ip_default_ttl = n (n = 0 ~ 255), if n> 255, TTL = 0 method 2 (invalid after restart): #echo n (n is 0 ~ 255)> / proc / sys / net / IPv4 / ip_default_ttl 0009 Open Linux IP Forward (Houaq) Edit /etc/sysctl.conf, for example, change net.ipv4.ip_forward = 0 to NET.IPV4.IP_FORWARD = 1, take effect, use sysctl -a to seek 0010 Mount LAN Other Windows Machine Shared Directory (BJCHENXU) mount -t smbfs -o username = guest, password = guest // machine / path / mnt / cdrom 0011 Allow | Prohibition of root is modified by SSH login (FUN-FreeBSD) Sshd_config: permitrootlogin no | yes 0012 Let root direct Telnet (BJCHENXU, Platinum) Method 1: Edit / Etc/pam.d/login, remove auth request /lib/security/pam_securetty.so This sentence 2: VI / ETC / securetty Add PTS / 0 PTS / 1 ... 0013 In Linux ADSL device (Wind521) Need a normal Linux at least one network card broadband device has been applied, and has been opened. At present, there are a few ADSL equipment on the market, and their way to work has some subtle differences. It is the process of completing the Internet through virtual dialing, that is, using the PPPoE device to perform virtual dial-up calls, it is an automatic dial-up work after power-on, then left to our interface is RJ45. The gateway that is generally left to our Dalian area is 10.0.0.2. This device is most likely to deal with. Finally, it is directly assigned to a fixed IP, which is relatively easy to deal with it. 1. The first need is dialing: Several devices communicate with the computer via the ETH interface, so the connection of the hardware device is first, especially the broadband cat, must confirm the correctness (otherwise, don't go anything in a while, don't just count, you don't think about me) and start the system, Confirm that the software is installed on the system (to find the user via rpm -qa | grep pppoe), if the user is not installed, in the disc or go online to Down, after installing, perform ADSL with root users Setup, this enters the setting status of ADSL data, requires input to apply for broadband usernames and other information, confirm that there is no problem, accept until the end (inside is E text, but can understand, simple, I usually don't have to use a firewall setting, I can choose 0, everyone can consider). After the configuration is complete, the ADSL-START is executed with root users, which will make ADSL's dial-up work, will be online, if there is any specific problem, look at the log (/ var / log / messages) tells you what. Stop ADSL, execute ADSL-STOP (very simple) 2. The other two are easier to deal with: full-to-day cat: Just set your network card to an IP of a 10 network segment, then the gateway refers to the whole gateway To the IP of the cat, on (10.0.0.2), basically no too much problem fixed IP: Like the NIC configuration, the IP, gateway, and DNS can be fixed by the application. 0014 Let Linux automatic synchronization time (shunz) VI / etc / crontab plus a sentence: 00 0 1 * * root rdate -s time.nist.gov 0015 Linux online resources What are the online resources? Http://lwn.net/ http://www.tldp.org/ http://www.yolinux.com/(Flying-Dance Big Big Pig) http://www.justlinux.com/ http://www.linuxtoday.com/ http: //www.linuxquestions.org/ http://www.fokus.gmd.de/linux/ http://www.linux-tutorial.info/ http://public.www.planetmirror.com/ http: // Www.freebsdforums.org/forums/ http://www.netfilter.org/documentation/ http://www-106.ibm.com/developerWorks/Linux/ domestic http://www.fanqiang.com/ http: / / www.linuxsir.com/ http://www.chinaunix.net/ http://www.linuxfans.org/(deadcat) http://www.linuxeden.com/ http://www.linuxforum.net/ Http://www.linuxAid.com.cn/ http://freesoft.online.sh.cn/ http://www-900.ibm.com/developerWorks/cn/linux/index.shtml http: // www .neweasier.com / Software.html http://www.bluei Dea.com/bbs/archiveContent.asp?id=635906 (SQH) http://westlinux.ywzc.net/(Onesun) 0016 Change SSHD port (bjchenxu) Add a line in / etc / ssh / sshd_config: Port 2222 , / Etc / init.d / sshd restart Restart Triggering Process 0017 Change the Telnet port (bjchenxu) Change the port number 21 of the Telnet in the / etc / service file to the value you want, / etc / init.d / xinetd RESTART Restart Triggering Process 0018 Terminal Mode Is Problem (Sakulagi) Export Term = VT100 0019 Imitation Super Terminal, Linux What Program Connection Router and Switch (Alstone) Minicom 0020 SSH can not automatically disconnect (Wind521) That is Timetou setting , Modify TMOUT Variable 0021 What tools use tools to make intrusion detection (BJCHENXU) Snort 0022 Linux CChecker or EFENCE CCHECKER MAR 0023 Linux How to Monveading All Data By NET Data (BJCHENXU) TCPDUMP IPTRAF 0024 Why is root to perform a lot of commands, you are telnet, then SU is root, change your su command format, should be Su - root 0025 Close User POP3 Permissions (TIANSGX) The port of POP3 is off. Find this line POP-3 110 / TCP in the file / etc / services to add this line to the '#', you can comment out. 0026 Linux Play Flash Animation (MYXFC) LINUX Play Flash Animation With this thing, it will not cause the browser to close (other plugin is not easy to use) first download flash play animation at Linux plugin http://www.collaborium. ORG / ONSITE / JOS2000 / Related / Soft / Flash_Linux.tar.gz Tar ZXVF Flash_Linux.tar.gz After opening the package, you will see the Linux folder in the Linux file, there are two files libflashplayer.so and shockwaveflash.class, These two files are copied into the plugin in your browser (the browser is different, the position of the plugin may be different) /usr/lib/mozilla-1.0.1/plugins, you can lock the WU-FTP user in 0027 Directory Edit FTPAccess file restricted-uid * This sentence is important to limit FTP users in their own directory. 0028 While the server does not allow Telnet (Know Qiuyi) server to start the Telnet service && server's firewall priority should be set to low 0029 to prevent anyone from using the su command to become root (xiaohu0) 1.vi /etc/pam.d/ Su Auth Sufficient /LIB/Security/pam_rootok.so Debug Auth Required /Lib/security/pam_wheel.so group = Wheel 2. In / etc / pam. D / su configuration file defined WHEEL group. 0030 How to make Lynx browser can browse Chinese website (Ghost_Vale) Simplified Chinese web browsing modify the following settings on the Save options to disk: [X] Display and Character set Display character set: (!) [Chinese________________________] Assumed document character set: [iso-8859-1 ______] CJK Mode (!): [ON_] Then moved to the bottom ACCEPT CHANGES Press ENTER to save, you can, of course your system is to support Simplified Chinese can 0031 network card is activated, but can't do it, what should I do? (Slock) TRACE, see that it is blinded in that piece. 1.PING DNS 4.PING Gateway 3.PING DNS 4.TRACE DNS IF All = Ok The nslookup www.sina.com.cn ping sina's address TRA 'Address basically knows the result 0032 in redhat9 with Samba, Win2000 can be accessed, Win98 is not accessible? (Squall2003) If it is a Wind98 required to modify the registry: hkey_local_machine / system / correntControlSet / Services / VXD / VNETSUP built a D value: EnablePlainTextPasswd, key value 1 0033 How to get the MAC address of the NIC (bjchenxu, hutueworm) ARP -A | awk '{Print $ 4}' IFCONFIG ETH0 | Head -1 | awk '{print $ 5}' 0034 How to get an IP address of the NIC (MB) ifconfig eth0 | awk '/ inet addr / {split ($ 2, x, ":") Print x [2]} '0035 How to modify the working group (hutueworm) vi /etc/samba/smba/smb.conf in the Linux machine, modify the Workgroup = one, write the group name behind. 0036 a piece of network card how to bind two IP (LinuxLoveu) #CD / etc / sysconfig / network-scripts #cp ifcfg-eth0 IFCFG-ETH0: 1 #VI ifcfg-eth0: 1 Modify IP and device name Debian Next network card binding ip plurality of methods (NetDC) modify / etc / network / interfaces auto eth0 iface eth0 inet static address 172.16.3.123 netmask 255.255.255.0 network 172.16.3.0 broadcast 172.16.3.255 gateway 172.16.3.1 auto eth0: 1 iface eth0: 1 inet Static Address 10.16.3.123 Netmask 255.255.0.0 Network 10.16.0.0 Broadcast 10.16.255.255 Modified / etc / network / ifstate LO = Lo Eth0 = Eth0 Eth0: 1 = Eth0: 1 Then /etc/init.d/networking restart is ok . A NIC Bind Multi IP Another Method Creates a file in / etc / sysconfig / network-scripts / down: ifcfg-ethx-rangex ("x" is the network card number) file content: ipaddr_start = 0044 On the ETHX device, the Linux supports network broadcast function (PLATINUM) IP Route Add 255.255.255.255 Dev Ethx 0045 Routing Setting Manual (NETDC) View Routing Information: Netstat -Rn Route -n Handmade Routing: Route Add -Net 192.168.0.0 Netmask 255.255.255.0 GW 172.16.0.1 Manually deleted a routing: Route del -Net 192.168.0.0 Netmask 255.255.255.0 GW 172.16.0.1 Good, here is important, let the system start Automatically enable routing settings. Add a route to redhat, modify file / etc / sysconfig / static-routes any net 192.168.0.0 netmask 255.255.255.0 GW 172.16.0.1 Add a route in Debian, method 1: Modify / etc / network / interface code: auto eth0 iface eth0 inet static address 172.16.3.222 netmask 255.255.0.0 network 172.16.0.0 broadcast 172.16.255.255 gateway 172.16.2.1 up route add -net 192.168.0.0 netmask 255.255.255.0 gw 172.16.0.1 down route del -net 192.168.0.0 netmask 255.255.255.0 GW 172.16.0.1 Method 2: Create a simple script file in the /etc/neetwork/if-up.d directory, such as static-route $ (remember to end with the symbol, do not have a Run-Parts meeting Run out to tell you something is the simplest, such as: code: #! / Bin / bash route add -net 192.168.0.0 Netmask 255.255.0.0 Netmask 255.25.0.1 嘿嘿, you can also guess / etc / Other directories in the network / directory. I have found that this Route's setting in Debian is actually a relatively simple application of its configuration files, you can do more complex applications. 0046 uses SSH replication files, if A, B has SSH service, now in SSH 1, copy B (push) SCP / Path / filename username @ remoteip: / path 2, from B Copy to A (pull) scp -rp username @ remoteip: / path / filename / path If one is not a Linux system, you can use SecureFX software 0047 Samba3.0 Chinese display on Windows (Linuxzfp) in Samba 3.0 Add the following two sentences in [Global] in the configuration file (/usr/samba/smb.conf): dos charset = cp936 unix charset = cp936 restart service /etc/init.d/smb restart 0048 temporarily modify the NIC MAC address Method Close NIC: / sbin / ifconfig eth0 Down then change the address: / sbin / ifconfig eth0 HW Ether 00: AA: BB: CCD: EE then starts the network card: / sbin / ifconfig eth0 up 0049 ConNTrack Full processing method (CGWeb) The proxy server made by IPTables Squid for some time, has been working properly. Today I discovered Jun 18 12:43:36 Red-Hat Kernel: IP_ConNTrack: IP_CONNTRACK: Table Full, Dropping Packet: Table Full, Dropping Packet. Jun 18 12 : 50: 57 Red-Hat Kernel: IP_CONNTRACK: Table Full, Dropping Packet. Jun 18 12:57:38 Red-Hat Kernel: IP_CONNTRACK: TABLE FULL, DROPPING PACKET. Ip_conntrack Represents connection trace database (Concentrack Database), represents NAT machine Tracking the number of connections, how much logging is controlled by a variable, which can be set by the IP-SysctL function in the kernel. Each tracking connection table will take up 350 bytes of kernel storage space, and the time will fill the default space, how much is the default space? I am using redhat as an example of 4096 on a machine that is 64MB. The memory is 128MB is 8192, and the memory is 256MB is 16376, and the end can be viewed in / proc / sys / net / ipv4 / ip_conntrack_max. For example: adding to 81920, you can use the following command: echo "81920"> / proc / sys / net / ipv4 / ip_conntrack_max, is not saved, save after you can save in /etc/sysctl.conf: NET .ipv4.ip_conntract_max = 81920 After you change, you will change everything after you change. If you are full, you can increase its value. 0050 Linux How to use BT (ATZ0001) Azureus, http://azureus.sourceforge.net/ ----- ------------------------------------------------ - 0001 Linux Under debug Core file (BJCHENXU) GDB Add a simple approach: add / usr / local / lib to /etc/ld.so.conf, then run the GCC installation of LDConfig 0005 RH9 (a day, hutueworm) Select one: (1 The CD-1: Compat-GCC-7.3-2.96.118.i386.2.96.118.i386.2.96.118.i386.2.96.118.i386.3-2.96.118.186.386.3-2.96.118.i386.rpm CD-1: LIBGCC-3.2. 2-5.i386.rpm CD-2: Compat-GCC-G77-7.3-2.96.118.I386.RPM CD-2: Compat-GCC-Java-7.3-2.96.118.i386.rpm CD-2: Compat -GCC-OBJC-7.3-2.96.118.i386. rpm CD-2: GCC-3.2.2-5.i386.RPM CD-2: GCC-C - 3.2.2-5.i386.rpm CD-2: GCC-G77-3.2.2-5.i386.rpm CD-2: GCC-GNAT-3.2.2-5.i386.rpm CD-2: GCC-Java-3.2.2-5.i386.rpm CD-2 : gcc-objc-3.2.2-5.i386.rpm, such as touched system tips: Warning: GCC-3.2.2-5.i386.rpm: V3 DSA Signature: MoKey Key ID DB42A60E Error: failed dependencies: binutils> = 2.13.90.0.18-9 IS NEEDED by GCC-3.2.2-5 Glibc-We> = 2.3.2-11.9 Is Needed by GCC-3.2.2-5 ... Just install the glibc-debc package, The better method is the better way to select the "Main Menu" -> "System Settings" -> "System Settings" ─> "Development Tool" in X-Window -> "Development Tool" ( 3) UP2DATE GCC automatically solves the Dependency problem 0006 shell script unable to run (god_father) first, script permissions should be the second and script where the script is located in the environment variable PATH, or directly Execute #. / Test.sh --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Classic book -------------------------- 0001 GNU / Linux Advanced Network Application Service Guide (BJCHENXU) Linuxaid Website Machinery Industry Press Advantages: Also All, all, all are the shortcomings of the actual combat: aimed at the low version, for Redhat 6.2 0002 Linux Apache Web Server Administration (BJCHENXU) (BJCHENXU) CHARLES AULDS Ma Shuqi / Jinyan Translation Electronic Industry Publishing House Advantages: Currently I haven't found any questions about Apache. This book has not been shortcoming: for 1.3.x, the latest for 2.0. * English version has been out, Chinese version is waiting for 0003 Linux core scenario analysis (BJCHENXU) Maunde / Hu Ximming Zhejiang Advantages of the University Press: It's too penetration, can't understand the shortcomings: or the version problem, the kernel update is too fast, but it is necessary to read 0004 UNIX Environment Advanced Programming (BJCHENXU) Richard Stevens Machinery Industry Press Advantages: Broadcasting: Beekeeper It is difficult to understand, otherwise how to call "Advanced Programming"? 0005 Programming Essence - Microsoft Writing High Quality Unlike C Procedures (BJCHENXU) Steve MAGUIRE Electronic Industry Press Advantages: Do not say, the author is the shortcomings of Microsoft's senior engineers: it is difficult to find, 1994 0006 Understanding the Linux kernel 2nd edition (hutueworm) Daniel P. Bovet & Marco CESATI O'REILLY Press After reading this book, you will understand what the best performance is best, and how it faces challenges, in various The environment in which process schedules, file access, and memory management are available in the environment. By explaining its importance to introduce each topic and links kernel operations to UNIX programmers and user familiar system calls or utilities. 0007 UNIX operating system tutorial (English version) (mentally wisdom) Syed Mansoor Sarwar and other mechanical industrial publishing homes: shallow easy-to-understand, focusing on UNIX fundamental concepts and overall understanding, BCKEA. In addition: Machinery Industry Press has published Chinese version, Name: UNIX Tutorial 0008 UNIX programming environment (mentally wisdom) Brian W.kernighan, Rob Pike Chen Xiangquan and other translation machinery industrial publishing homes: shallow, deep-in-depth explanation how to use UNIX and various tools Briefly introduce the UNIX programming environment; compare "Unix Environment Advanced Programming", this book is suitable for newcomers. 0009 THE ART OF UNIX Programming (HUTUWORM) Eric Steven Raymond http://catb.org/~ESR/Writings/taoup/html/ Advantages: ES Raymond's classic book 0010 UNIX network programming - Volume set interface API and X / Open Transport Interface API (SLG1972) Richard Stevens Tsinghua University Press Advantages: Detailed Unix Network Programming 0011 Unix Network Programming - Volume 2 Processes Communication (SLG1972) Richard Stevens Tsinghua University Press Advantages: Details Unix process The relationship between threads, and the different standards process programming is the unix network programming - volume three applications (SLG1972, Hutuworm) is not out, because the Richard Stevens master's earnest, no longer completion The third volume in this program is. It is said that it may be written out by Gary R. Wright, but since the master's crane, there has been no audio letter 0013 Based on C CORBA Advanced Programming (SLG1972) Michi Henning, Steve Vinoski Tsinghua University Press Advantages: Middleware For the essential information to the CORBA application. 0014 UNIX Linux NMS electronic version, including this version of the essence: I have seen the most comprehensive, most practical CHM documentation on UNIX knowledge, equivalent to a small website, support full-text search, recommended all the not yet Brothers and sisters download 0015 www.chinaoy.com (Aomin5555) is good, quite full, book download is good Website: redhat Linux9.0 official entry guide · Redhat Linux9.0 official installation guide · Redhat Linux9.0 official custom setting manual · Redhat Linux Basic Tutorial · Linux Reference Daquan · Tsinghua Forum Linux Essence · Linux System Administrator Guide Chinese Manual · Linux Website Construction and Maintenance Raiders · Redhat Linux8.0 Installation Manual · Linux Environment Database Administrator Guide 0016 Linux Advanced Routing & Traffic Control (HUTUWORM) Specially talking about Linux iProute2, about 100 pages, www.lartc.org Chinese version in: http://www.lartc.org/LARTC-EN_CN.GB2312.PDF 0017 Debian user strongly recommended book ( Netdc) Debian Reference (Debian Reference Manual) http://qref.sourceforge.net/ Simplified Chinese version of the PDF document. http://qref.sourceforge.net/Debian/reference/reference.zh-cn.pdf 0018 Advanced Bash-Scripting Guide (hutuworm) An in-depth exploration of the art of shell scripting. Mendel Cooper.