su-root; Switch to AdministratorExit quit current AccountInit 0 Shutdown SystemInit 6 RestartShutdown-h immediately shut down the machineWho's Landing terminal?WhoAmI Current account NameDate 031511112011 change time to March 15, 2011 11:11Cal
The Linux system can use the top command to view information about the system's CPU, memory, run time, swap partition, thread execution, and so on. With the top command, you can find out where the system's flaws are. is not enough memory, CPU
1.yum Install Subversion2.mkdir-p/var/svn/svnrepos3. Svnadmin Create/var/svn/svnreposAfter executing this command, the following files are generated under the/var/svn/svnrepos directory4. Enter the Conf directoryAuthz file is a permission control
Process Primitive1.fork#include pid_t fork (void); ForkThe child process copies the parent process, the child process and the parent process PID is not the same, when cloning the PCB, the PID is not copied, fork and the underlying functions, such
Process1.PCBEach process has a Process Control block (PCB) in the kernel to maintain process-related information, and the process control block in Linux is the TASK_STRUCT structure. Now we have a comprehensive look at what's in it.
Process
DescriptionI use the Red Hat 6.5 system, IP is 172.24.10.107 can ping out of the network, although in practice, but there is no use, but for learning shell programming and school exams are very useful, nonsense not to say, on the code:#!/bin/bash#201
A regular expression is just a notation, and the tool can handle a string of regular expressions as long as the tool supports that notation. Vim, grep, awk, sed all support regular expressions, it is because they support the regular, it is strong;
Several special directories for accounts in LinuxSome of the special directories described below are special directories that operate on file permissions. I'll introduce the file permissions in the next article, which describes these several
In Linux, the tasks performed by the cycle are typically handled by the cron Daemon (ps-ef|grep cron). Cron reads one or more configuration files that contain the command line and its invocation time.The cron configuration file is called "crontab"
According to the online code, this script is divided into two files, one is to execute the file backup.sh, and the other is to back up the project file Backup.txt. Backup.txt This file is better understood, is a text file, each line of it represents
Linux is REDHAT4, python2.6 is installed by default, the Python script content that needs to be executed contains the standard library Xml.etree.ElementTree A ITER method used in the library is a new feature of python2.7, so it needs to be upgraded
Today I've been using SCP to upload files from Windows to a Linux server, but the tinkering has not been implemented for half a day. Later, the data found that the SCP implementation file upload and download seems to be only between Linux and Linux
Computer installed a few days of virtual machine to do learning, but throughout the course of learning will come across a variety of software downloads, and sometimes wget directly found on the Linux download, can only be downloaded in Windows, and
How to build a samba service on RHEL7 to implement file sharing between Windows and LinuxEnabling the Environment: VMware workstations, RHEL7.0First Step: Configure the NIC IP and Yum repositoriesCommand: vim/etc/sysconfig/network-scripts/ifcfg-eno16
Simple use of Linux, linux
1. Basic commands
Create directory pathA: mkdir pathA
Go to the directory pathA: cd pathA
View directory content: ls
View the file details in the directory: ls-l, Or ll (l is lower case L, don't look at the error)
Copy the
Detailed explanation of centos mount command
1. IntroductionThe mount command is used to mount a file system. All files in a Unix system are arranged on a huge tree. These files are distributed across different devices. The mount command is used to
Common CentOS commandsCommon commands
Pwd: view all current paths
Cd ../go to the root directory
Restart linux with reboot
Make compilation command
PREFIX path specifies the path to which the installation is located
Ls displays all
Hosts files in Linux
1. The hosts file in Linux is similar to the hosts file in Windows. The file format is IP address and domain name, separated by spaces.
2. the hosts file is a file for fast resolution of IP addresses and domain names in LInux.
CentOS command-parted command
[Root @ compute ~] # Parted/dev/md126
(Parted) mkpart swift 702G-803G # create a swfit partition, from 803 GB to GB
[Root @ compute ~] # Mkfs. xfs/dev/md126p5 # format the disk as an xfs File System
Note: This is
Common CentOS commands: find & Common shortcuts
Common shortcuts
Ctrl + u: Clear ctri + k: Clear ctrl + d: leave the terminal when this action is null. If it is not empty, delete a character ctrl + h: delete the character ctrl + e before the cursor:
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