This period of time to learn python at the same time back to learn the next Linux, mainly to see video tutorials, based on RHEL6 learned a lot of things, summary records, so as to avoid a period of time and forget. Perseverance!
First, learn Linux best with the text command interface, to understand the use of relevant commands, understand the Linux system structure
Application Client |
*.com (direct-operating hardware) shell (client calls system API via Shell) |
API GLIBC Library API |
Kernel core Modules BIOS |
Hardware layer CPU RAM disk |
Switch the shell, the first time you can use ctrl+alt+f* (1...8)? Follow direct alt+f*, start the system by default into the text command interface to modify Inittab parameters Initdefault change 5 to 3
Enabling the Xwindow interface can be started with the STARTX command
Second, installation
Third, the system IP configuration
1, system-config-network or Vi/etc/sysconfig/network-scripts/ifcfg-eth0
2. Restart Service networkmanage Restart->service network restart
3, if the machine starts automatically enable network equipment with Chconfig
The virtual machine defaults to bridging mode, but with the current experience it is possible to implement IP assignment in LAN
If the dial-up bandwidth used can be connected through NAT mode, the virtual machine system can ping the external host while the host pings the different virtual machines.
Iv. Document-related commands
Ls-alf can display file formats, such as directories and executables, with associated identifiers, and executable files ending with a * number
ls/dir/name* displays files or directories that begin with name
V. System commands
Hostname,uname,file,date +%y%m%d Touch Date +%y%m%d. Log
Id,stat Show File modification time
Su,sudo Switch User Environment Su-username,su There is a certain security risk, sudo can control the current user to use another user's partial permissions, need to be configured in sudo related files sudoers, through Visudo configuration
Mount mount external files and system directories, such as load u disk, insert USB stick dev Display related device files if SDB, but should be mounted with sdb1 when mounted, or file type error
This problem has not always been successful in the past, and today finally mounted, mount-t vfat/dev/sdb1/mnt/u/
Also use Fdisk-l to view device file system Information