Summary of commonly used linux commands in ubuntu, and customized tulinux commands
I have been in the lab for nearly a month and barely touched windows. I have been developing it in ubuntu. I would like to summarize the commonly used linux commands.
(0) su and sudo:Get root permission
Su switches to root user sudo command to root user, executes command, and then
Docker installation and sharing of common commands and sharing of common docker commands
Basic commands
1. To install docker in yum, the root permission is required.
Yum install docker
2. Start docker
Systemctl start docker. service
3. view the docker status
Systemctl status docker. service
4. Add boot items
Systemctl enable doccker. service
5. Get the centos ima
Shell translates into shell meaning, it is wrapped in the Linux kernel layer, a series of Linux commands can be issued to the operating system related instructions to the human-machine interface. The shell can combine a series of Linux commands with its conditional statements and loop statements to form a process-oriented program, Shell script, to implement some of the more complex functions.to summarize, t
Telnet commands are usually used for remote logon. The telnet program is a remote client logon program based on the TELNET protocol. The Telnet protocol is a member of the TCP/IP protocol family. it is the standard protocol and main method of the Internet remote login service. The following describes how to use and example labels: Telnet
Telnet commands are usually used for remote logon. The telnet program
Scp commands for Linux learning and XCOPY commands for Windows1. Basic Concepts scp commands are used to transmit data between Linux and Linux Hosts. Simply put, a linux host can transmit files from another linux host through scp commands. The XCOPY command is used for data transmission between Windows and Windows host
Difference:internal command: Internal commands are built into the shell. The internal command executes very quickly when the shell command is executed. This is because no other process has been created because of the execution of this command. For example, when we execute the "CD" command, no process is created. Simply change the current directory during execution. External command: The external command is not built into the shell. These executable e
The command format for Linux is generally: command [-options] [parameters], such as LS-LA/ETC, you need to note the following: 1) Individual commands are not used in this format, 2) when there are multiple options, can be written together; 3) there is a simplified option (-) and a full option, 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 exec
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 four directories that are used to hold system commands
This disk describes some of the most commonly used commands for Linux environments, including commands for SVN version control and vim editing commands. This article is original, if need reprint, please famous source: http://blog.csdn.net/qq_223274551. Directory Jump: CD2. View: LL ls3. Connect server: SSH user name @id address such as SSH [email protected]4. Vie
File Management CommandsNot recommended: Follow the book like the Command encyclopedia to learn!The usual commands are about Ten. File naming rules:A) all characters except '/' are legal! b) These characters are best not1, Spacecharacter, tab, BACKSPACE2. Connector3. Special symbol:@#¥$ ()- etC) Avoid use . as a start, use . start with file hidingD) Note: Case sensitive, similar to C language, while Windows is not strictly differentiatede)Linux may n
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
C ++ pre-processing commands and pre-processing commands
A pre-processing statement is composed of a series of pre-processing-related command operators. the pre-processing statement starts with #, followed by the keyword of the pre-processing command, followed by space, and followed by the content of the pre-processing command. C ++ provides a variety of preprocessing functions, such as macro definition, fi
Use python to execute linux commands and pythonlinux commands
Python version 2.7.12
1. Obtain the execution result of a linux Command. For example, obtain the process tree structure of a PID. the linux Command is pstree-p pid, which can be easily obtained by a module in python. As for the case where the obtained results are garbled sometimes, please refer to the previous article: some commonly used
Redis introduction and Common commands, redis introduction Common commandsRedis introduction and Common commands
Redis is an open-source, BSD-based, advanced key-value cache and storage (store) system. Redis keys include string, hash, list, set, sorted set, bitmap, and hyperloglog, which are often called Data Structure servers. You can run atomic operations on these types, such as appending strings, adding
About the Oracle rman command, I found the rman command set on a certain network a few days ago. The rman command set in the Oracle rman command has always been what I want to know and finally got a good introduction, so we will share it with you today.
I. Summary of list Common commands
THE list command lists the backup information in the control file and RMAN recovery directory, which is one of the most intuitive ways to understand all visible datab
PHP executes external commands with an anti-code marker and php executes external commands. PHP executes external commands with the marker, and php executes external commands such as echo 'whoam'. to export a database, the folder to be imported must have the write permission, the content after-u-p must be followed by a
Common Linux commands (6) -- Network Communication commands 1. command name: writewww.2cto.com execution permission: all users function description: send information to another user, with CTRL + D as the concluding remarks: write lt; user name gt; root sends information to the luxh user [root @ l...
Common Linux commands (6) -- Network Communication
PHP database Operations common commands, PHP database common commands
Php//Set character setsHeader("Content-type:text/html;charset=utf8");//connect to the database and determine success or not$link=mysql_connect(' localhost ', ' root ', ' root ') or die(' Connection failed ');//Select Databasemysql_select_db(' Database name ');//Set character setsMysql_set_charset (' UTF8 ');//Preparing SQL statements$s
PHP executes external commands with anti-apostrophe, PHP executes external commands
For example:
Echo ' WhoAmI ';
Export the database, the folder to be imported must have writable permission, the content after-u-p must be written next to each other
Copy the code as follows: Echo ' mysqldump-h localhost-u$dbuser-p$dbpwd--default-character-set=utf8 $DbName >/var/$ Dumpfilename ';
Other uses of anti-apostroph
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.