User Switching commands under Linux

Su-#su-lyyExecuting this command means switching to the LYY user and re-reading the user environment-related configuration file, specifically executing the current user home directory. Bash_profile and. bashrc files, this we become full switch.Su#su

Linux operation and Maintenance combat practice

First, Iptables class workPremise: Input and output default policy is drop;1. The Web server that restricts the local host is not allowed to access in Monday; the rate of new requests cannot exceed 100 per second; The Web server contains the admin

Linux Essay II

1. View the entire fileCat mongo.sh View the contents of the script file: MONGO 172.60.0.203:27017/che001-uplatform-pplatformCat-n * *, view the contents of a file and give the number of upstream numbers, including blank linesCat-b * *, view the

(i) disk partitioning when installing Linux

Partitioning of disks in Linux installationsInstalls the version of Ctentos6.3, which uses the default file system type of EXT4.The installation of Linux must be divided into two partitions of the root partition/and swap partitions to be installed

The History of Linux

♦ 1 Simple Introduction to LinuxLinux is like Windows is a set of OS (operating system), Windows interface Beautiful, ordinary users are easy to use, a little mouse can do a lot of things, and Linux is born for programmers, so proficient in Linux is

Three ways to set environment variables under Linux

1, under the Windows system, many software installations need to configure environment variables, such as installing the JDK, if you do not configure environment variables, run the JAVAC command in a directory other than the software installation,

Linux command echo-e

ECHO-E What this parameter e means in the Linux command.Echo–e "I'll use the" touch "command to create 3 files." What's the role of the parameter E here?The man help explanation is to allow the subsequent output to be escaped, assuming that you are

Linux Script display progress bar

Environment CentOS 6.6[[email protected] ~]# cat jindutiao.sh #!/bin/shb= ' for ((i=0; $i :650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/75/7C/wKioL1Y6u7fg57gKAABM1W1BoFw657.jpg "style=" float: none; "title=" T1.png "alt=" Wkiol1y6u7fg57

Naming Linux partitions

Any content in Linux is a fileHard disk file users are filesHardware Device file nameIDE HDD/dev/hd[a-d]SCSI/SATA/USB HDD/dev/sd[a-p]Optical drive/dev/cdrom//DEV/HDCFloppy/dev/fd[0-1]Printer/dev/lp[0-2]Printer USB

Commands common to Linux

RPM-IVH jdk-7-linux-x64.rpm rpm way to install JDK JDK default installation location/usr/javaAdding environment variablesIn/etc/profile add the following:Java_home=/usr/java/jdk1.7.0_55jre_home=/usr/java/jdk1.7.0_55/jrepath= $PATH:

User management under Linux (ii)

To create an account:Manual creation,1. Add a record to/etc/passwd2. Create a user home directory3. Set the default configuration file in the user's home directory4. Set User initial passwordCommand creation,Useradd or AddUser command creationTo

Linux System modification System time description

Linux System modification System time1. Set the time[[email protected] ~]# date-s "2015/11/05 15:56:00"# Date command-S modified time "2015/10/4 21:15" specified[Email protected] ~]# Hwclock# Refresh the time to the BIOSFri 12:04:36 AM CST-0.651161

window to connect to the Linux share

Prerequisite Description:Windows host information: 192.168.1.100 account: ABC password: 123 shared folder: ShareLinux host information: 192.168.1.200 account: def password: 456 shared folder:/home/def/shareBecause the firewall and SELinux

Automatic partitioning, formatting, and mounting scripts

Automatic partitioning, formatting, and mounting scripts Function:Automatic detection of unpartitioned data disks, formatting and automatic mounting of new data disks What problems are solved:One-click detection of unpartitioned data disks and the

Use SHELL to import txt files of certain formats to the database through SQL LOAD

Use SHELL to import txt files of certain formats to the database through SQL LOAD1. Preparation: in Windows, you can directly import files through sqlload. in linux, you need software related to sqlload. 2. SQL script (MID_DFDZ.ctl) LOAD DATA INTO

Haproxy is integrated with nginx and zabbix

Haproxy is integrated with nginx and zabbix1. Due to business requirements, some directories on the server should be exposed so that other systems can call the exposed files, however, http Services on port 80 must be provided externally. Analysis:

Linux scheduled tasks

Linux scheduled tasksAt in windows, windows provides the task scheduling function. In the control panel- use the specified queue-f <> to read a task from a specified file instead of a standard input-t <> submit a task to be run in the form of a Time

How to view and modify PATH environment variables in linux

How to view and modify PATH environment variables in linuxView PATH: echo $ PATH and add mongodb server as the column. Method 1: export PATH =/usr/local/mongodb/bin: $ PATH // After configuration, you can view the configuration result through echo $

Let's Encrypt trial

Let's Encrypt trial In the morning, I received an email from Let's Encrypt, saying that I have already approved the application, so I will try it out immediately. Let's Encrypt is a new digital certificate authority that eliminates the complexity of

CentOS 6.6 installation of a simple desktop environment

CentOS 6.6 installation of a simple desktop environment Software environment: CentOS 6.6. Application scenarios: Use the vmwarevm to install CentOS 6.6 in the minimal mode and terminal mode. This method consumes a small amount of resources. This

Total Pages: 5467 1 .... 5010 5011 5012 5013 5014 .... 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.