To modify a user password:sudo passwd (current) Username "Sudo is a shorthand for super user do, passwd is a shorthand for password"Show Current user : WhoAmIThere will be a string of characters before the command entered, such as: [email protected]:
linux= kernel + Peripheral programUNIX Birth: Ken Thompson 1970-1-1 (Start time of Linux, Ken Thompson birthday).Dennis Ritchie uses C to rewrite UNIX.Linus the father of Torwalds--linux.--1991-10, Release version 0.02 (first public version) kernel.-
01. View Swap Space = FreeCached (cache): refers to the reading of the data stored in memory, when read again, without reading the hard disk and directly from memory read,Accelerates the reading process of the data.Buffer: When writing data, the
I believe many of the small partners who are ready for Web development and testing want to know about the common commands of Linux.First of all, I'll show you the commands, a basic impression, and then go on.Common Commands and explanations
Use of the awk tool
Awk is also a streaming editor that operates on lines in a document, executes one line at a line, awk has all the functions of SED, and is more powerful, and awk tools are complex (there is a special book to introduce its
First configure the Yum source1, mount the DVD disc to/mnt because the configuration when the path name can not have spaces, otherwise cannot be recognized [[email protected] mnt]# mount/dev/cdrom/mnt2. create file filename in
Count the number of files in a folderLs-l |grep "^-" |wc-lCount the number of directories under a folderLs-l |grep "^d" |wc-lThe number of files under the statistics folder, including subfoldersLs-lr|grep "^-" |wc-lAll txt files in the
Linux runs from 0~6, a total of 7.0: Turn off the machine. The system default run level cannot be set to 0, otherwise it cannot be started.1: Single user mode, only allow the root user to maintain the system.2: Multi-user mode, but cannot use NFS
This article shares the help of Linux commandsHelp, Info, Whatis, manFirst, let's introduce what are internal commands and external commands.Internal command: command from the shell itselfExternal command: User installation software is generally
Linux Memory Cached releaseWhen we use the free command to view system memory usage, we find that:#free-M1. Total = used + Free2, cached, even I have met the memory of the remaining only 7M, this time cached very large, basically nearly equal to
Common directivesLS Display file or directory-l list File details L (list)-a lists all files and directories under the current directory, including Hidden A (all)mkdir Creating a Directory-P Create directory, if no parent directory, create p (parent)
A long time ago in the Linux environment to learn python, today is nothing to do the first Python3 installed.I use the Linux system is centos6.5, the default with Python2, but Python2 and Python3 is still a big difference, so use Python3 as a
Common linux commands,
In linux systems, commands must be frequently used, and some commands may not be remembered, so it is very troublesome to search for them on the Internet. So here I will record the commonly used commands, and I will add new
Common commands in linux: 1. Common commands in linux
Man help document
Usage method: man command name, such as man; simple view method: command name -- help
Or help command name
Ls list folder content
Tree View directory structure
Cd switch
Under user management,Chapter 1 add three user stu01-stu03 in batches and set the password to 123456.1.1 prerequisites
The previously generated commands can be delivered to bash through pipelines.Run
[root@znix ~]# echo pwd |bash/root1.2 Command
Linux may not be the seven things you know very well
One of the coolest things about using Linux is that you can get new knowledge over time. Every day, you may encounter a new utility, or an unfamiliar trick, but it is very useful. These fragmented
Bandwidth, latency, jitter, and packet loss rate measured in CentOS
When we talk about a good network environment, it usually means that we "feel" to access the website immediately. But if a website is opened for a long time, it must be a poor
Centos 6.9 binary installation mariadb 5.5.571. check whether there is any mysql. If yes, the dependency is found during uninstallation. Therefore, ignore the dependency on rpm-qa mysql *Rpm-e mysql-server-nodepsRpm-e mysql-nodepsRpm-e
Install postfix on CentOS6 and set sasl
Postfix is a popular smtp server. The default port of the smtp server is 25 (ssl/tls encryption is not used ).The following describes how to install postfix on CentOS6.
1. postfix is installed in CentOS6 by
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