Linux Test Detailed Usage Introduction

Test syntaxVarious kinds of tests are usually performed in Bash's various process controls, and then different actions are performed based on the test results, sometimes in combination with conditional statements such as ifSyntax descriptionFormat-1:

Linux User Management

User account Management:User account management, add, delete, modifyUser Password ManagementUser Group ManagementFirst, user account management1. Add User, Useradd#useradd option User Name-C Comment Specifies a descriptive description of the

Linux common directives (to be added)

1.CD entering the catalogue2../shuntdown.sh Stop Tomcat 3.ps-ef |grep + process name View process status 4. Kill+ process name strong kill kill-9 + process5./startup.sh & Background Launch6.tail-f catalina.out Console viewing logs7. output file:

Linux Performance Tools

Brendan Gregg is currently the senior performance architect for Netflix, where he performs large-scale computer performance design, analysis, and tuning. He is the author of technical books such as "Systems performance", and has been awarded the 2013

Linux command-ID: Displays the user's identity

Command formatID [OPTION] ... [USERNAME]Command parameters-AIgnored and designed only for compatibility with other versions.-Z,--contextDisplays only the security environment for the current user.-G,--groupOnly valid user group IDs are displayed.-G,-

Linux system optimization and condition monitoring

1. View System process commandsTopAfter entering can press s plus time, specify how long time to refresh2. View CPU InformationCat/proc/cpuinfo3. View memory InformationCat/proc/meminfo4. Clean up Memory: active garbage

Recently used Linux commands

Scp-r/home/space/music/[Email protected]:/home/root/others/remote server copy fileCopy from remote to localSCP [Email protected]/172.19.2.75:/home/root/full.tar.gz/home/daisy/full.tar.gzLS-LHT will list the size of all files in the current directory

Linux Command--ps command

The PS command is used to list the processes currently running on the system. Use this command to determine which processes are running and running, whether the process is complete, if the process is dead, which processes are consuming too many

Chapped Linux Rootpassword (mode: Reset Rootpassword)

Chapped Linux Rootpassword:After the boot. Click "E" to enter maintenance mode. Select "Kernel Options", for example, to see the following

Linux startup process

650) this.width=650; "src=" http://blog.chinaunix.net/attachment/201209/23/26495963_1348382510SRUx.png "border=" 0 " height= "402" width= "474" style= "border:0px;" alt= "26495963_1348382510srux.png"/>Start the first step --load the BIOSwhen you

"Source" self-learning Hadoop from zero: Linux preparation

Read Catalogue Order Check List Common Linux Commands Build the Environment Series Index This article is copyright Mephisto and Blog Park is shared, welcome reprint, but must retain this paragraph statement, and give

Linux Regular expressions

Regular Expressions Reguler expression , REGEXPBasic REGEXP: base Regular ExpressionExtended REGEXP: extending regular Expressions1.grep [options] mode [files] commands for filtering text using the basic regular expression pattern-I ignores

Linux file Markers

When you use Ls-l, you can see[[email protected]/]# ls-ltotal 28drwxr-xr-x 3 root root Sep 11:29 applrwxrwxrwx. 1 root root 7 Sep 16:25 bin--usr/bindr-xr-xr-x. 4 root root 4096 Sep 16:29 bootdrwxr-xr-x root root 3180 Sep 15:06 devdrwxr-xr-x.

Linux view command termination process

Linux view command termination process[Email protected]:~$ PS PID TTY time CMD 2576 pts/0 00:00:00 bash 2742 pts/0 00:00:00 ps[email protected ] : ~$ kill-9 [2742]bash:kill: [2742]: The parameter must be a process or a task ID-9

How to organize disk fragments in Linux

How to organize disk fragments in Linux One myth is that Linux disks never need to be fragmented. In most cases, this is true, mostly because it uses excellent log systems (ext2, 3, 4, etc.) to process file systems. However, in some special cases,

Install JDK 8 in Ubuntu 15.04

Install JDK 8 in Ubuntu 15.04 I deleted the Java that comes with Ubuntu a few days ago, and finally encountered the problem of Picked up JAVA_TOOL_OPTIONS during installation. After searching for it online, I finally succeeded. Download the

How to install and configure KVM and Open vSwitch on the Linux release edition?

How to install and configure KVM and Open vSwitch on the Linux release edition? In today's multi-tenant data center environment, virtualization technology is expanding from traditional Virtual Machine Management Program-based server virtualization

Install Ubuntu 15.04 on a hard drive in Windows 7

Install Ubuntu 15.04 on a hard drive in Windows 7 This article describes how to install Ubuntu 15.04 on a hard disk in Windows. It is also applicable to other versions. Now we will talk about the simplest Ubuntu installation method. 1. Software

Github inventory object Algorithm

Github inventory object Algorithm $ Git clone https://github.com/torvalds/linuxCloning into 'linux '...Remote: Counting objects: 4350078, done.Remote: Compressing objects: 100% (4677/4677), done.Grouping objects: 4% (191786/4350078), 78.19 MiB | 8.70

7 bond modes for linux NICs

7 bond modes for linux NICsNow the storage product CSS uses the multi-nic bond6 mode. Here we will share with you the seven bond mode principles of the Multi-NIC: there are seven types of Linux multi-nic binding modes (0 ~ 6) bond0, bond1, bond2,

Total Pages: 5467 1 .... 3673 3674 3675 3676 3677 .... 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.