Linux notes (3) sudo

just installed Ubuntu, appearing on the first line of the terminal:to run a command as administrator (user "root") with "sudo ".See "Mans Sudo_root" FordetailsTranslated:Run a command as an administrator (the "root" of the user), using "sudo See

Set up static IP in Linux

Today, a day, finally put Linux on the virtual machine set static IP address.Tell us a little, in fact, Bridge does not have to be wired connection, in fact, even wireless can be solved. At first I misunderstood this, have been in the tangle must

Linux Network programming Knowledge points

1. Use the Read function to return the story of length 0: Closes the connection to the end, and the service side calls the close function.//INTRO/DAYTIMETCPCLI.C while((n = Read (SOCKFD, Recvline, MAXLINE)) >0) {Recvline[n]=0; if(Fputs (recvline,

Common commands for Linux 6

YY the copy cursor is in the rowP paste below the line where the cursor is locatedP paste above the line where the cursor is locatedDF View Disk partition usageDf-l Show only local disks (default)Df-a displaying disk conditions for all filesDF-H 1024

Installing and configuring MAVEN under Linux

Download Maven3Download maven from the official website, the version I chose here is apache-maven-3.5.0-bin.tar.gzUnzip the installationThe downloaded file will be in the "downloads" directory of the currently logged-in user's home directory, where

Install JDK1.8 under Linux

Download jdk1.8Download the installation files for the JDK in the Linux environment, and select the JDK installation files that match your operating system version, as shown in jdk1.8:  Unzip the installationThe downloaded file will be in the

Linux installation JDK

Jdk1.8:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.htmlJDK Installation1. Upload JDK installation files to LinuxThere are many kinds of methods, such as mount, share files, FTP, wget, etc., I use the SCP commandSCP

Important folders under the Linux root directory

RootFiles that contain the root userHomeDocuments related to ordinary usersBinStore General CommandsSbinStore commands that you want to be able to use with certain permissionsMntDefault mount for CD-ROM and floppy drive directoriesetcStore

5.10 a.m. Speaking Linux outside

account management can create and delete users manually. Generally for convenience, useUseraddcommand to create a user,Usermodand theUserdelusers can be modified and deleted. can be usedusermod-l Userand theusermod-u UserLock and unlock users and

13. Learning progress and tasks of self-study--linux "positional parameters, interactive scripts"

Positional parameters, interactive scriptingKnowledge point 1:Single-Step execution of bash (shows the entire execution process):Bash-x/path/to/script (script)Knowledge Point 2: positional parameters:  /tmp/test.sh (script itself) 3 (script

Install Elasticsearch5.0 under Linux

Load ElasticsearchLogin Official website Https://www.elastic.co/cn/downloadsChoose Download Elasticsearch, select the corresponding installation package as required, here Choose 5.0 version, download and get elasticsearch-5.0.0.tar.gzUnzip the

Linux Add users and Groups

User:1. Only the root user or a user with root privileges can operateAdd User: Useradd XiaolSet Password: passwd xiaolDelete User: Userdel XiaolDelete User and home directory: Userdel-r Xiaol2. After the user is successfully added, a directory with

Linux build kernel/boot space insufficient?

/boot space is generally allocated 100M space, is sufficient, due to frequent updates caused by the old no longer used kernel files are also retained in the boot space, occupy the location, so the unused kernel files to download the boot space can

Linux under the VI command Daquan

command to enter VIVI FileName: Opens or creates a new file and places the cursor at the beginning of the firstVI +n FileName: Opens the file and places the cursor at the beginning of nthVI + FileName: Opens the file and places the cursor at the

Linux installation JDK steps

1. Unzip the file to the specified directoryTar-zxvf/root/soft/jdk-7u67-linux-x64.tar.gz-c/usr/local/2. Configure the environment variable to open the file editing contentVim/etc/profile3. At the end, add the following:Export

Linux installation Tomcat

1. first unzip TomcatTAR-ZXVF Apache-tomcat-7.0.47.tar.gz–c USER/LOCAL/SRC2. Start TomcatGo to the Tomcat/bin directory below to find startup.sh shStartup.sh (./startup.sh) Start Tomcat3. View process Commands JPSView processes for users under

Common commands for Linux 4

Zip compressed file (after compression, the original file will not disappear)Zip-r Compression DirectoryUnzip unpack the packagegzip Compressed files (the original file disappears after compression)Gzip-r Compressed directory (only sub-files in the

"Linux series" Vmware12pro installation Centos7

Installation reference: http://blog.csdn.net/guin_guo/article/details/49403889IP still fails to connect to the network after installation is complete:Enter/etc/sysconfig/network/network-scripts/Locate the network adapter profile name Ifcfg start

Linux Simple Command---permissions

1: File permission settingsusage of number: chmod 755 file name---------------------------------------------The following are the file permissions--------------------------------------------------------------Because when the directory is "W" can

Linux wildcard, linux

Linux wildcard, linux Common wildcard characters: *: Match any character in length ? : Match any character [List]: match any character in the list [! List]: match any character except list [C1-c2]: match any character in the c1-c2 {String1,

Total Pages: 5467 1 .... 4984 4985 4986 4987 4988 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.