WHOAMI view current logged on userWho views which users are logged onDate to view datesCal View CalendarClear clear screen = Ctrl + LUseradd adding userspasswd Change PasswordSu replacement user (substitute users)Man help option, view instructions
You can use the CD command, the function of the CD command is to switch to the specified directory:Command format:CD [Directory name]The directory name has a few symbols that have a special meaning, "..." Represents the previous directory, the "~"
Different operating systems for the organization of the file system is not the same, the current mainstream of the two major types of operating systems Windows and Linux they are in the file system organization in a very different way. The file
1. First of all to analyze the installation memcache need to rely on component libevent, check that there is no installation libevent--rpm-qa|grep libeventIf not, install the--wget http://www.monkey.org/~provos/libevent-1.4. 12-stable.tar.gz --tar
1. Buy cloud host (million speed cloud XXX)2. Connect to the server with putty3. Installation Environment(1) JDK to see if the JDK is installed Java-versionView JDK installation Package Rpm-qa | grep javaRemove JDK rpm?-e XXXRpm?-qa?|? Grep?jdk?|?
1. Edit the fileVI aaa.txt open aaa.txt file Esc key switch Edit and command mode command mode input: (colon), you can enter the command : S/ string 1/ String 2 Replace string 1 with string 2 : Wq! Save the file and exit :
Linux Restore mistakenly delete filesEnvironment requirements: Create a new file system in the virtual machine, creating several files in the file system, the simulation files are mistakenly deleted in the recovery experiment.Compiling and
Tab command or path completion most commonly used * * * * *CTRL + a cursor quickly back to the beginning * * *Ctrl+e cursor quickly back to line end * * * *CTRL+F cursor moves right one character *CTRL+B cursor moves left one character *Ctrl+insert
PSPS lists processes, process numbers, CPU usage in the systemps-a all running processesPs-efPs-auxPstreeVisualize the child process parent process relationship, no parent process specified, root is initTop' Top ' is a more useful command to monitor
wc [选项] 文件-C Count bytes.-L counts the number of rows.-M counts the number of characters. This flag cannot be used with the-C flag.-W count words. A word is defined as a string separated by a blank, a jump, or a newline character.-L Prints the
Compression1. Definition: Compression is a large file through a number of compression algorithms into small files2. Purpose: Mainly to reduce the size of the file, which will save the disk or tape storage file space, and the transmission of these
I. Composition of the operating system1. Process-free kernelIn some operating systems, the kernel of the operating system executes outside of all processes. In other words, the operating system has its own memory area and system stack, and when the
1. Create a new disk partition as a swap partition2. Use the file as a swap partition (easier to operate, I'm more used)A. Create a new disk partition as a swap partition1. # swapoff-a #停止所有的swap分区2. Use the Fdisk command (example: # FDISK/DEV/SDB)
I. What is a processThere are many software that can be run on a computer, including the operating system, which, when run, produces one or more processes.Two. Organization and transformation of processes in Linux systemsThe descriptor of a process
1, or operation' 123|ABC ' filename // Find file (filename) contains 123 or line '123|abc' containing ABC FileName // Egrep can also be used to implement '/123|abc/' filename // how awk is implemented 2, and the Operation2, with the
19.1 IntroductionYum is a shell front-end package manager. Based on RPM package management, the ability to automatically download RPM packages from specified servers and install them automatically handles dependency relationships and installs all
16.1 IntroductionService is the essence of the process, but is running in the background, usually listen to a port, waiting for other programs, such as (mysql,sshd, firewalls, etc.), so we are called daemons, is a very important knowledge point in
8.1 Basic IntroductionThe Linux system is a multi-user multitasking operating system, any user who wants to use system resources must first request an account from the system administrator and then enter the system as this account.Linux users need
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