Partition1./Root Partition2. Swap swap partition (size recommendation is twice as long as memory)3./home Partition4./boot boot file (boot load) partition5./varAnd so on, the minimum must have the first 2 partitions, preferably have a home partition,
One: TimeDate-View current time date %y:%m:%d--Specify format output date-s "00:00:00" --Modify time 00:00:00cal --command line View Calendar Uptime--run time information & nbsp; two: Output view echo "" --return "" Specify content Cat filename--
Step 1: Find the version number of the kernel file that is currently in use #uname-RStep 2: List all the kernel files, using RPM or Dpkg (Linux-based systems)Command #rpm-Q kernel or $dpkg--list ' linux-image* 'Step 3: Delete all old kernel files,
More commands, featuressimilar to Cat,Cat Commandis aThe contents of the entire file are displayed on the screen from top to bottom. Morewill be a page-by-page display to facilitate users to read pages, and the most basic instruction is to press
Let's say your host IP is 192.168.1.202. Start, run, enter the following command: cmd/k 192.168.1.202 in open Window input://Login FTP username User (192.168.1.202: (None))://Login FTP user password password:// After successful login, the prompt is "
First, port informationmethod: Use Netstat to know the listening port of the process you are interested in, or the use of a certain port[[email protected] mpf]# Netstat-pan | grep csmtcp 0 0 0.0.0.0:6801 0.0.0.0:* LISTEN
"One" starts at line No. 3000 and displays 1000 rows. The 3000~3999 line is displayedCat FileName | Tail-n +3000 | Head-n 1000"Two" displays 1000 rows to 3000 rowsCat filename| Head-n 3000 | Tail-n +1000* Note the order of the two
Linux touch commands are not commonly used, typically to modify file timestamps, or to create a new file that does not exist.1. Command format:touch [Options] File2. Command parameters:-A only changes the access time.-C does not establish any
1: Environment Preparation1 Linux servers, Hadoop installation packages (Apache official website download) jdk1.6+2: Install the JDK, configure the environment variables (etc/profile), and java-version test the next step correctly. 3: Configure SSH
Linux uses Ctime/mtime/atime to mark document time,CTIME:C does not represent create but the change meaning, such as the modification of the contents of the file changes will be changed CTimeMtime:m is modify meaning, and ctime the only difference
The MV command is the abbreviation for move, which can be used to move files or rename files (rename), which is a common command under Linux, often used to back up files or directories.1. command format:MV [option] source file or directory
1. View Linux-initiated servicesChkconfig--list queries all currently running Services Chkconfig--list ATD Query ATD The current status of the service 2. Stop all services and do not start the next time the system starts, as follows:
1. Standard Flow PipingPipeline Operations Support file stream mode, which is used to create links with a pipeline of processes, through functions Popen and PcloseThe detailed introduction of Popen is introduced in this blog:linux multi-process
Recently saw a little lkml, found inside a subsystem called "IIO". Have not been contacted before, so Google down.The IIO subsystem full name isIndustrial i /O subsystem (Industrial I/O subsystem),is now inneeds to be perfectedIn the kernel tree,
Linux Process Group session control terminal These are easy to stun, record, prevent forgetting1 processPersonal understanding process is a program running in memory PID is the process ID2 Process GroupsAs the name implies, is a set of processes,
There are many ways to configure Linux through ad authentication, such as the Winbind method used by Samba. Here I use is PAM_LDAP way, online has a lot of such related articles, are the official online step by step, first with nsswitch.conf, and
[System] no such partition, suchpartition
The computer system is win8.1 + ubuntu14.2. To uninstall ubuntu and install CentOS, the ubuntu partition is deleted and restarted under win8.1. The no such partition grub rescue> error occurs.
The reason
Mount a mobile hard drive to CentOS
1. First, check that fuse is included in CentOS 5.5. You can use rpm-qa | grep fuse to check whether the fuse is installed.[Root @ localhost ntfs-3g-2010.5.22] # rpm-qa | grep fuseFuse-2.7.4-8.el5Fuse has been
View concurrent linux connections1. view the number of concurrent requests and TCP connection status of the Web server (Nginx Apache:
Netstat-n | awk '/^ tcp/{++ S [$ NF]} END {for (a in S) print a, S [a]}'
Netstat-n | grep ^ tcp | awk '{print $
Linux system startup (3) and linux system startup
In the previous section, the system initramfs has been started, and the system control is handed over to the real rootfs/sbin/init. The following figure shows the working time
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