Difference between su and su-Commands

Difference between su and su-commands I used to use root directly and seldom use su. Only a few days ago I found that su and su-commands are essentially different! The default account of most Linux distributions at www.2cto.com is a common user. To

View concurrent connections in Nginx

By viewing the Nginx concurrent connections, we can clear the load of the website. There are two ways to view Nginx concurrency (the reason is that I only know two ways), one is through the web interface, the other is through the command, web View

Nginx self-starting script in Centos

Nginx self-starting script 01 www.2cto.com # Under Centos #! /Bin/bash02 # ckconfig: 345 40 4003NGINX_PATH =/web/container/nginx-1.2.604NGINX_COMMAND = $ NGINX_PATH/sbin/nginx05NGINX_PID = $ NGINX_PATH/logs/nginx. pid06VERSION = 1.2.607CONF = $208 09

Rsync data synchronization between two hard disks

Data synchronization between two hard disks of rsync has been unlucky recently. The svn server has been broken twice, and both hard disks have been broken, so there is no data.Add two hard disks to the server and synchronize the data regularly every

Openswan is a Linux ipsec vpn Server (1)

  Section 1 Introduction and classification of VPN 1 PPTP-Based VPN PPTP (Point to Piont Tunneling Protocol) is a Protocol initiated by Microsoft that can work on multiple Microsoft operating systems, including Windows 95. although it has been used

Linux simple commands

System Environment Configuration: Setup Kill process: Kill xxxx (pid)   Change the current character set encoding: Vi/etc/sysconfig/i18n Change to LANG = "zh_CN.GB2312"   Current path: Pwd   Packaging: Tar-zcvf SMStatistic_old_20110505.tar.gz

User Management in Linux

1. Add a new user account1. Use useradd to add a user account# Useradd TOM1 # Useradd-d/home/guest# Useradd-s/sbin/nologin TOM2 2. Running useradd is equivalent to doing something (1) edit the passwd, shadow, group, and gshadow files in

Create multiple users by using the shell operation File

Functional requirements: 1. Create a new user, which is usually a subdirectory named by user name in/home.2. Add new user records in the/etc/passwd file.3. Add new user records to the/etc/shadow file.Code implementation:Use the while, chown, chgrp,

Vim language conversion

Convert the vim language to convert big5 encoding to utf8. What should I do at this time? Is it hard to convert each file to utf8? This is not required! Use the iconv command! In the terminal environment, you can use the "wget URL" to download the

Modify and compile the spawn-fcgi

Modify and compile spawn-fcgi because after spawn-fcgi is started, you cannot run the-u root command to start the FastCGI process. So modified the source code: Download the Code [plain] wget

Installation and simple configuration of archlinux

Installing archlinux and simple configuration partition cfdisk format mkfs. ext4/dev/sdaX... mount partition mount/dev/sdaX/mnt... modify the software source nano/etc/pacman. d/configure list Add Server = uninstall install the basic system

Install svn and apache in RHEL 6.4

RHEL 6.4 install svn and apache 1. install the software package (RHEL has been installed by default. rpm software package: postgresql-libsperl-URIsubversionmod_dav_svn 2, create svn folder and version library create svn folder mkdir/opt/svn create

Install sysstat and use iostat and sar.

Install sysstat using iostat and sar. The main Commands provided by the linux sysstat toolkit are as follows: the last two parameters of iostat mpstat sarsar are generally the statistical information of the CPU usage output by interval count1 and

View and delete processes in Linux

In Linux, view and delete processes 1. View and delete processes ps commands are used to view the currently running processes. Grep searches for ps-ef. | grep java indicates that CMD is java Process Information in all processes. ps-aux | grep

Dual GPT hard drive grub boot Centos + windows8

Dual GPT hard drive grub boot Centos + windows8 two hard disks, one is installed with Centos and one is installed with Windows8, both are installed with uefi. It is very troublesome to select the hard disk during startup. Modify the boot information

Functions of "set-e" in Unix/Linux scripts

Functions of "set-e" in Unix/Linux scripts -----------------------------------------------------------#! /Bin/bashset-ecommand 1 command 2... exit 0 ---------------------------------------------------------- Every script you write shocould include

Script for automatically connecting multiple machines and searching logs

The script for automatically connecting multiple machines and searching logs is deployed on 10 machines, and the corresponding log files are scattered on these 10 machines. If you want to search for these 10 log files, such as error messages, it is

Ubuntu12.04 dual-card configuration (N cards)

Ubuntu12.04 dual-graphics card configuration (N-card) The current notebook usually has two graphics cards, but NVIDIA dual-graphics card switching technology only supports indows, does not support linux, therefore, if you want to switch between two

Configuration file and password of ubuntu users

The configuration files/etc/passwd,/etc/shadow, and/etc/group are all text files used for system account management. They can be opened in text editors such as vim. /Etc/passwd is used to store user account information,/etc/shadow is used to store

Linux method 3

I believe many new users who want to learn linux are wondering what linux learning courses are good. The following small series will collect and organize several important tutorials for you to learn, if you want to learn more, go to the wdlinux

Total Pages: 5467 1 .... 4771 4772 4773 4774 4775 .... 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.