Prior notice:①, this tutorial does not apply to remote connection to Linux, such as SSL, Xmanager connection to Linux;②, this tutorial is in the Linux Concle interface to modify the root password, you must be able to directly see the entire Linux
Simple use of the Vmstat commandVmstat command is a common system monitoring tool for Linux/unix, which can easily view CPU, memory, swap partition, IO reading and writing.Vmstat commonly used parameters are two: 1. Time interval of acquisition 2.
There is often a "error:xml: Hash version does not exist" error that occurs when import download cacti template from the web. This is because the cacti of the export template and the cacti version of the import template are caused by different
Test the hardware information of the machine: View CPU information (model) # Cat/proc/cpuinfo | grep name | Cut-f2-d: | uniq-c 8 intel (R) Xeon (r) CPU e5410 @ 2.3 3ghz (see there are 8 logical CPUs, also know the CPU model)
Date1. Query the system time2.-d followed by characters, query for specific conditions of time, such as 3 days ago, 2 days later, 5 minutes later, 6 seconds before etc.Date-d ' 2 day ago ' two days agoDate-d ' 3 year ' three years laterDate-d ' 1
1, P128A program that gets the date-time format to get the date of the time.#include #include int main (int argc,char** argv) {struct tm* Time1,*time_trans; Temporal data Structure time_t Alt;char c_time[128];char* result;char* result1= ""; Time
In addition to the actual contents of the file, the bands has non-bands properties, such as the file permissions (rwx) of the Linux operating system and the attributes of the files (拞, groups, time parameters, etc.).The file system will store these
Create a new userModify the user's personal settingsPermission settings for the file directoryTwo important documents:passwd and Group Create a new userSetting up a new user consists of two steps, the first step is to use the Useradd command to
firewall on and off (effective immediately, fail after reboot): $ sudo service iptables start #开启 $ sudo service iptables stop #关闭 firewall on and off (takes effect after reboot): $ sudo chkconfig iptables on$ sudo chkconfig iptables off To open
After a block device is mounted, you can view the file system information for the device via the DF or Mount command. However, sometimes it is necessary to judge without mounting the device, and the following method can be used:(1) View file system
First go to the SVN installation directory, for example, you are installed under/HOME/SVN.Then go to the Bin directory, where you can see a file called Svnserve, we need to use this to start the SVN service.Try Svnserve--help, see the Help group for
Today, I met the WC command, and now I know it, and the narrative is as follows:First of all, this command is very good to remember, as to why, this oneself to think about it! 650) this.width=650; "src=" Http://img.baidu.com/hi/jx2/j_0015.gif "alt="
Tag:linux kernel memory management /* *author:davidlin *date:2014-11-22pm *email: [email protected] or [email protected] *world:the City of SZ, in China *ver:000.000.001 *history:editor time do * 1) Linpeng 2014-11-22 created
Tar
Syntax: Tar options [-ZCF] [file name after compression] [directory]
Package all files in the entire/home/jxn/familya directory into/home/jxn/familya.tar
Package only, do not compress Tar-cf/home/jxn/familya.tar/home/jxn/familya
Man:manual means manual, you can use this command to query the use of other commands.Pwd:print working directory means the password.Su:swith User switch users, switch to root userCd:change Directory Switch DirectoriesLs:list files list the file
Common Linux commands (30) and common linux commands
The cal command can be used to display calendars in the Gregorian calendar. The Gregorian calendar is an international calendar, also known as the Gregorian calendar. The "Gregorian Calendar",
Solved the problem of "[: XXXX: unexpected operator" when compiling the. sh file in linux,
I often compile a. sh file in linux to generate a project. It has never been a problem before, and the code has never changed. However, when compiling today,
Linux kernel update error, update-initramfs: failedb Solution
Environment:
Win7 and Ubuntu dual systems.
Background and solution:
Two days ago, I found that the/home directory was full, and then I used gparted tool in Ubuntu to re-partition the
Wget downloads https files. The server may not work in virtual machines,
Download an image resource using wget (https protocol) on the server, but it is stuck in the following on the local virtual machine:
[Root @ localhost ~] # Wget 'https: //
Nginx reverse proxy https service
Background:
Recently, due to work requirements, you need to create a proxy on the Web Front-end to address the inaccessible needs of some users. Previously, Web Proxy has been implemented through Nginx reverse proxy,
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