first part, start-up process, module management and loader
One, run level execution and switching
1, Linux by setting the run level to specify the system to use different services to start, basically, depending on the network with or without X window will be divided into 7 levels of the run level
0-half: System shuts down directly
1-single User mode: System single-user model, maintenance in the case of system problems
2-multi-user,without NFS: Similar to the following RUNLEVEL3, but no NFS service
3-full Multi-User: Full text mode with network capability
4-unused: System Hold function
5-X11: Similar to RUNLEVEL3, but loaded using X Window
6-reboot: System restart
2,runlevel: View the current runlevel level, no parameters
3.init: Toggle RunLevel Level init number (0~6)
second, kernel and kernel modules
1.depmod: Create a dependency file that records the kernel support module Depmod [-ane]
2.lsmod: View kernel-loaded modules Lsmod
3,modinfo: View module specific information modinfo module name
4.insmod: Load module Insmod [/full/path/module_name] [parameter]
5.rmmod: Delete module rmmod [-FW] Module_name
-F: Force the module to be deleted
-W: If the module is in use, wait for it to be deleted
6,modprobe: module loading and deletion modprobe [-LCFR] Moudle_name
-C: List all modules of the current system
-L: Lists the full file path for all modules in/lib/modules/' Uname-r '/kernel
-F: Force the module to load
-r: Delete the module
third, Boot Loader:grub
1,mkinitrd: Re-initrd file mkinitrd [-v] [–with= module name] INITRD file name kernel version
Part Two, printer setup and hardware check
one, printer settings
1, ping : Check IP is correct ping-c IP
2, nmap : Testing the printer's service interface Nmap IP
3, lsusb : List USB related information
4, lpadmin : New and delete Printer Lpadmin [-P custom queue name] New
Lpadmin [-D already exists queue name] eg:lpadmin-d hp_p2015 default
lpadmin [x existing queue name] Delete Except
5, Lpstat : View printer status Lpstat [-adprt]
-A: Lists printer queue names that are currently acceptable for printing
-D: Lists current system default printers
6, LPR : Print lpr [-p queue] [-# print copies]-u [Username] File
7, LP : Print LP [-D printer Queue] [-n print copies] file
E g:lp-d hp_p2015-n 2/etc/issue
8, lpq : View of print job lpq [-al] [-P print queue]
-A: List all printers working in queue
9 , lprm : Delete the print job LPRM [-P print queue] job ID
second, hardware inspection
1,lspci: List the PCI interface device of PC system LSPCI [-VVN]
-V: Show details of devices with multiple PCI interfaces
-N: View PCI ID directly
2.Iostat: Lists the I/O status of the CPU and interface devices
Iostat [-c|d] [-k|-m] [-t] [inter-second] [number of detections]
3,sensors: detection temperature, voltage and other hardware parameters sensors
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Linux System Management module management, printer setup (note)