Summary of common Basic Linux commandsAt the beginning of learning Linux/unix, you may be confused by hundreds of commands, although there are many commands available, but the daily use of a few, if only a DBA role and not a system administrator,
As Linux quickly replaces the server platform with the Unix,unix veteran, there are a number of differences between Linux and UNIX.The idea behind any UNIX version is that the vendor provides all the full service to the customer. Software
Under Linux, there is a command-line calculator: BC. The program is generally released with the release.The BC Calculator is capable of performing some basic calculations, including +,-,x,\,%.These calculations are not for decimal, and can be binary,
1. Add the following section at the end of the/etc/profile:user_ip= ' who-u am I 2>/dev/null| awk ' {print $NF} ' |sed-e ' s/[()]//g "Export histtimeformat= "[%F%t][' WhoAmI '][${user_ip}]"2. Source/etc/profile3. Execute whatever command you want,4.
I've written several articles about how to use the command line interface to manage files on your system, and here are a few basic commands that are common to all distributions.To copy a file or directory to a new location:
CP Path_of_file_1
Tomcat in use will encounter Catalina.out log is too large, the following we use the system (in CentOS as an example) with the logrotate to cut files, to achieve automatic daily log file cutting. logrotate Program Default program will be
Configure Linux Soft RAID0[Email protected] ~]# mdadm-c-v/dev/md0-l 0-n 2/DEV/SDB/DEV/SDC[Email protected] ~]# mdadm-c-v/dev/md0-l 0-n 2/DEV/SDB/DEV/SDCMdadm:chunk size defaults to 512KMdadm:/dev/sdb appears to BES part of a RAID array:LEVEL=RAID0
I. How to learn LinuxFirst stage: Primary stageLinux Basics, basic commands (origin, composition, common commands such as CP, LS, file, mkdir, etc.)Linux Users and Permissions basicsLinux efficient text, file processing commands (vim, grep, sed, awk,
This article was reproduced from: http://www.cppblog.com/aaxron/archive/2013/04/12/199386.htmlA spin lock is a bit like a mutex, except that the spin lock does not cause the caller to sleep, and if the spin lock has been held by another execution
Users and groups in Linux are used to control which resources and hardware the user or process can or may not use, which is the most basic way to control Linux permissions.Users and groups can take a look at the section in the previous chapter and
Lead to the task, to check daily scheduled tasks have no execution. Although simple but too cumbersome, wrote a script lazy. Learn several bash knowledge points by the way. Restudying it.#检查前一天的crontab日志有没有执行JOB1和JOB2两个定时任务 # Check that the data in
For example, to add the/etc/apache/bin directory to path, there are three methods:1. #PATH = $PATH:/etc/apache/binWith this method, only the current session is valid, meaning that the PATH setting is invalidated whenever the system is logged out or
The Linux du command is used to display the size of a directory or file.syntax:du [OPTION] ... [FILE] ...Common options:-A or-all displays the size of individual files in the directory.-B or-bytes displays the directory or file size, in bytes.-C or--
The day before yesterday modified Cengos 6.5 resolution, accidentally put the system to play bad650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/85/F6/wKioL1exGe3hU9UmAAAu_mxSr58761.png "title=" Image 001.png "alt="
1.yum InstallationYum-y Install net-snmp*2. Modify the configuration file/etc/snmp/snmpd.conf com2sec notconfiguser Default public community name is public, if necessary, configure the desired view SystemView included.1 Adding configurationsAccess
One, Linux files:File names are case-sensitive; Linux does not have file extensions; Filenames support long filenames with spaces and few punctuation marks. -_ Best not to use spaces1 GUI graphical user interface: make simple problems easier;CLI
Linux File Management commands and linux commands
File command and Its Usage
File: Type of the file content.
Du command and Its Usage
-S:
-H:
Read command and usage
Describes the relationships and differences between the three open source
CentOS installation and centos Installation
1. Download the Linux iso file. The official download link contains Mirror. select a suitable link.
Http://mirrors.163.com/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1511.iso
2. Burn it into a CD, use
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