1. Use the command to view the IP configuration: ifconfig, modify the network configuration file vi/etc/sysconfig/network-scripts/ifcfg-eht02. However, many times, it is more difficult to remember the contents of the file, and in the input is easy
The default encoding for Windows Gbk,linux is UTF-8. The Chinese, which is edited under Windows, is garbled under Linux.To resolve this issue, modify the default encoding for Linux to GBK.There are two ways to modify the Linux encoding
Reported the famous Marco Linux training course, video activation for several days, has no time to see, today is the first day to watch the video.Video first of the learning environment to do some introduction and requirements, mainly need to use
Finally to the core learning!1. What is the difference between a UNIX system and a UNIX cloning system?2. What does the term "power-based Linux" mean?A: The Linux system is running on power or PowerPC processors.3. What is User space? What is kernel
Idle bored, and then throw a former copy of the water template cheatButton driver:#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include
Linux Kernel Module Programming GuideSo, if we want to change the way a system call works, what we need to do is write our own function to implement it (usually by adding some of our own code and then call the original function), and then change the
Command: CHPASSWDBulk Modify user passwordsWorking principle:Read the user's name and password from the system's standard input and use this information to update the password of the user who already exists on the systemGrammar:1:# Echo User name:
Linux Command details chpasswd batch Change User Password, linuxchpasswdCommand: chpasswdBatch change user passwordsWorking principle:Read the user name and password from the standard input of the system, and use this information to update the
Common Linux commandsCommon Linux commands
1. startx
Switch to graphic interface
2. shutdown-h-now
Shut down immediately
3. Shutdown-r-now
Restart the computer now
4. reboot
Restart the computer now
5. logout
Cancel
6. instructions of the
Modify/etc/hosts in LinuxDirectory structure
Directory structure hosts file hosts format configuration hosts file format hosts file FunctionHosts file
Hosts -- the static table lookup for host name (host name query static table ).The hosts file is a
Use CentO to configure the NFS Network File System and client
NFS is short for Network FileSystem and is implemented based on RPC (Remote Procedure Call Protocol Remote process Call Protocol. It was first developed by Sun. The main function is to
Common linux commands
Grep
Grep-5 "content to be searched" club. log # the file name is club. log.
Tail
Tail-100f club. log # search for the latest 100 lines of Files
Tail-100f club. log | grep 'info' # check the latest 100 rows with the keyword
Configure local yum on Centos7
Install centos7through VMware.
1. Mount IOS files first
# Mount dev/cdrom mnt/cdromdev/cdrom is the iso file directory selected when centos is installed:
After the mnt/cdrom directory is created, run the mount
In Ubuntu14.04, when you start win7 in VirtualBox, The vboxdrv module fails to be loaded.
Computer Model: thinkpad x240
Operating System: ubuntu 14.04
Kernel version: 3.20.- 45-generic
After vitrualbox is upgraded, the following keyword is returned
Install VNCserver in CentOS/LinuxVNC is short for Virtual Network Computing and is a remote control software. It supports remote graphical control across operating systems. In daily work, servers often have data centers, and it is impossible to run
Linux System Information Query: kernel version, Branch (release version) Name, number of digits, cpu information, etc.
Linux System Information Query: kernel version, Branch (release version) Name, number of digits, cpu information, etc.1. # uname-a
Common Linux commandsCommon Linux commands
1. startx
Switch to graphic interface
2. shutdown-h-now
Shut down immediately
3. Shutdown-r-now
Restart the computer now
4. reboot
Restart the computer now
5. logout
Cancel
6. instructions of the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service