shorthand for the ls-l command (Ls-l is ll alias relationship)(6) Cut or rename command: MV (move)MV [source file or directory] [target directory] This is not used with-RThe role of a common directory: (the role of a common directory)/root directory to explain and familiarize yourself with the role of first-level catalogsBoth the bin and the Sbin,usr directory in the root directory are the bin and sbin fou
The command format for Linux is generally: command [-options] [parameters], such as ls-la/etc, you need to note:1) Individual commands are not used in this format, 2) when there are multiple options, can be written together; 3) There are simplified options (-) and full options, such as-a equals-all.(1) LSThe function of the LS command is to display the directory file , the original is a list, where the path is/bin/ls, all users can execute. The releva
Common Linux commands (version 2)-Help commandsHelp commands
1. man [manual]:/usr/bin/man
Obtain the help document of the command or configuration file, and check the help of the command first.
Format: man [command or configuration file] # Call more
E. g.
Man ls # view the help information of the ls command
Man services # view the help information of the configur
Common mysql commands and basic mysql commands
Mysql database usage Summary
This article mainly records some mysql commands for future query.
1. Change the root password
Mysqladmin-uroot password 'yourpassword'
2. remotely log on to the mysql server
Mysql-uroot-p-hip-P3306
3. query the database
Show databases;
4. Enter
1. Check whether the operating system is 33-bit or 64 the simplest methodgetconf Long_bit or Uname-a2. Common commands2.1 Basic OperationsClear Clear Screen2.2 Installation Commands RPM (Redhat Package Manager).RMP was originally a Redhat Linux distribution program designed to manage Linux packages and is popular because it follows GPL rules and is powerful and convenient. is gradually being adopted by o
pointing to it. The time value differs from the source file. He is similar to shortcuts in Windowsln/etc/issue/issue.hard// generate a hard link to the root directoryDescription: In addition to the storage location, all the others are the same, such as the same size, the same time, but he is similar to copy But different, he is synchronous update! So: The CP has a -p option to hold the time value , otherwise, theCP is similar to the newly generated fileDifferent:a) Delete source file Soft lin
Common Linux commands (1) -- File Processing Command format: Command-option parameter example: ls-la/etc description: www.2cto. com1) when there are multiple options, you can write them together. 2) two special directories. and .., represents the current... common Linux commands (1) -- File Processing Command format: C
Common Linux commands (5) -- compression and decompression commands 1. command name: gzipwww.2cto.com execution permission: all users function description: compressed file syntax: gzip option [file] compressed format :. gzgzip can only compress files, but cannot compress directories ;...
Common Linux
The following 13 commands are the most common file processing commands in Linux.
The following 13 commands are the most common file processing commands in Linux.
1) Linux file processing command: lsCommand name: lsListPath:/bin/ls
Vim the mode and transformation relationship 1 is shown. A simple introduction to command patterns and common commands for extended mode. 650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M02/9D/C4/wKioL1mFjIHAnfyFAAC6xpPfTZI075.png "title=" a.png "Width=" "height=" 242 "border=" 0 "hspace=" 0 "vspace=" 0 "style=" width:400px;height:242px; "alt=" Wkiol1mfjihanfyfaac6xppftzi075.png "/>Figure 1Command m
Common git operation commands and git operation commands
Record the common Git command operations in the work. A project is often developed by multiple people in collaboration. Using git is a required skill for developers. Below are some basic git operations recorded, in the future, we will record git conflicts, merge
Common linux commands in January 2018 and linux commands in January 2018
Linux commands frequently used in projects
(Note: linux commands must be in lower case !)
(1) ls
Display files in the current directory
(2) vi vim
Enter the editor, you can select the document you want
Common mysql commands and basic mysql commands
I installed MySQL5.5.27 today to view some common commands.
1. log on to MySqlIn the cmd window, enter the bin directory installed by MySql,Command:Bin> mysql-u root-p[Database name] Press enter and enter the password
2. view
line from a file with the "Day3" string, and start displaying the output from the first two lines thereCommand:More +/day3 Log2012.logOutput: More +/day3 log2012.log ... skipping-day1-04 -day2-day3- -day1======[[email protected] test]#Example 3: Set the number of rows per screenCommand:More-5 Log2012.logOutput:More-5---Geneva -- -day1--day2Description:As shown, the bottom of the screen shows the content of the total number of files in proportion, press CTRL+F or SPACEBAR will display the next
directoryBlue folder (directory)mkdir file name (in English)Mkdir-p file name (recursive creation)6rm-rf file [table of contents]Remove-R Delete directory-F coercion7 file Operation command Additions and deletions change1. Create File New fileTouch file name2. View Filescat file name view files cat-n Install.log-n display line numbers Span class= "hljs-title" >more file name split screen display space page down b page Up Q exit split screen operation head-the number of numbers to view file na
Common Linux commands (version 2)-file search commandsFile SEARCH Command
1. which/usr/bin/which # displays the directory where the system command is located. It is an absolute directory and cannot find files.
Format: which [system command]
E.g. which ls
Appendix-whereis: You can also find the absolute path of the command.
Unlike whereis, which lists the alias records of this command, and whereis displays t
/1024435_1414734241IMcH.jpg "Height =" 271 "/>-H Option
The number of hops of a trail. The following command only shows 5 hops. It can be seen that the command only follows 5 hops and ends. Generally, the link in the local province may be within 5 hops.
650) This. width = 650; "Title =" clip_image008 "style =" border-top: 0px; border-Right: 0px; border-bottom: 0px; border-left: 0px; "Border =" 0 "alt =" clip_image008 "src =" http://img1.51cto.com/attachment/201410/31/1024435_1414734242Fhle.jpg "
Common commands for linux learning records and commands for linux recording1. enable or disable the server (effective immediately): service iptasbles startservice iptasbles stop2. when the firewall is enabled, make the following settings to enable the relevant ports,Modify the/etc/sysconfig/iptables file and add the following content:-A RH-Firewall-1-INPUT-m stat
Summary of Common commands in Linux and summary of linux commands
Service -- status-all [service status]
Service MySQL restart [restart database]
Pstree-a [show complete commands for each program]
Pstree-c [not applicable to exact representation]
Pstree-l [display tree chart]
Pstree-h [number of columns]
Pstree-u [Dis
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.