The end sign of document of LinuxI tried all the Linux version and found that the end of the file be 0a (alias LF), this is the operating system requirement , Windows is \ r \ n character to end the file, and I hope to help everyoneLinux under the
When you need to connect to Linux with Xshell:First in Terminal input command: Service sshd start (SSH service enabled)1, NETSTAT-TNL: View the port Status of the command (such as View 22 port)2. Service sshd stop: close SSH serviceService sshd
1. Create File command: Touch
To create a file:
Create a file with spaces: Just wrap the file name with "".
2. View file Contents command: Cat
View File: Cat file name
View the file and display the line number: cat-n
SedSED syntax format:Sed[options] ' command ' file (s)Sed common options:-N: Only the line (or action) that has been specially processed by SED is listed.-E: Combining multiple SED commands-F: Perform sed action within filename-r:sed's actions
TR---translate conversionTR Syntax Format:TR [Options] Set1 Set2Principle: Mapping Set1 into Set2 through the concept of set mappings-Common parameters-D: Specifies the set of characters that need to be deleted-C: Using the collection's complementTr–
Linux File Deletion principle: Linuxis throughLinkthe number of files to be deleted, only if a file does not exist anyLink, the file will not be deleted. In general, each file has2aLinkcounter: I_countand theI_nlink. i_count ,i_nlink
One installation of monoinstallation process : Download mono installation Source, configure, compile, install, set environment variables.# wget http://download.mono-project.com/sources/mono/mono-5.4.0.201.tar.bz2# tar-jxvf mono-5.4.0.201.tar.bz2# CD
[Tab] = command line auto-complete (this command is available when using shell hints.) Type the first few characters of a command or file name, and then press the [Tab] key, which automatically complements the command or displays all commands that
Download and install VMware Workstation12650 on-line this.width=650; "src=" Http://img.baidu.com/hi/jx2/j_0057.gif "alt=" J_0057.gif "/>1. Open the VM and create a new virtual machine650) this.width=650; "Src="
1, the process hangs dead, has the background monitoring program detection to pull up again.2, the process occupies the system resources more than ulimit qualified resources, will be killed by Ulimit, at the same time with the background monitoring
650) this.width=650; "align=" left "src=" Http://s3.51cto.com/wyfs02/M01/08/83/wKiom1njX2vwzQmdAAAQMqs2xFY916.png "/ > Connect Linux with Xshell1. Download Xshell softwareHttp://www.netsarang.com/download/software.htmlI choose to download Xshell 5
First, login to Linux, switch to the root usersudo suIi. setting up the Java installation directory in the USR directoryCD/usrmkdir javaThird, download the JDKLogin URL:
Linux SET commandFeature Description: Set up the shell.Syntax: Set [+-ABCDEFHHKLMNPPTUVX]Additional instructions: Use the SET command to set various shell options or to list shell variables. A single option sets commonly used attributes. After some
One, the IP attribution database to export the required address segment listSecond, installation IpsetThird, establish access whitelistIpset Create Access Hash:netIv. Importing IP addressesUse Strict;open INPUT, "Output.txt" and while () {my $line =$
Creating a normal user in Linux requires root privileges.1. Useradd command is used to establish user account:Useradd [-mmnr][-c ][-d ][-e ][-f ][-g ][-g ][-s ][-u ][user Account]Parameter description:-c Add notes text. Note text is saved in the
When we re-build the environment today, when we execute Tomcat, the user does not have permission to execute,Go to the Tomcat bin file and modify the. SH permission on the bin directory with the command chmod.such as chmod u+x *.shWrite a lot of
Start with git, but the old think the company's code put on the top not very reassuring, after all, is a commercial code. So search the online bloggers How to build a private git server to achieve the team, the company's internal code preservation,
Cent OS supports Chinese and centos
I bought the vps of Bandwagon. By default, terminal is in English. Sometimes it is not convenient to use Chinese characters, so I want to support Chinese characters.
The main steps are as follows:1. Install the
Four common file search commands in linux1. File SEARCH Command locate (locate, search)The greatest benefit is high speed.Format: locate file namePath of the returned FileSearch Method: search by file name in the background database, updated every
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