Bash shell variable configuration rules

The bash shell variable configuration code variables and variable content are connected by an equal sign "=", as shown below: "myname = VBird" and other signs cannot be directly followed by space characters, as shown below is an error: the variable

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

Solution for Nvidia graphics card failure when the Fedora19 kernel is upgraded to 3.10

When the Fedora19 kernel is upgraded to 3.10, the Nvidia graphics card cannot work. Today, after the Fedroa19 kernel is upgraded to 3.10, the graphic interface still cannot be accessed. You need to install the Nviida graphics card again. The strange

Linux virtual host management system-wdcp

The WDCP virtual host management system is the second Linux virtual host management system used by xiaobian. It is quite simple to use. WDCP features are complete and basically all functions are required, such as online download, decompression,

Linux performance optimization: module management and kernel Compilation

Talking about linux Performance Tuning 20: module management and Kernel Compiling 19: linux Performance Tuning 19: lvm advanced use of http://www.bkjia.com/ OS /201307/232320.html module is a program with independent functions, it can be compiled

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

Linux automatic backup of websites and databases

Linux automatic backup of websites and databasesThe two servers are 111 and 117, and the website and database on the 111 server are automatically backed up to the 117 server every day.1: The current user is on my 111 server: sxA: view the scheduled

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

Show grub boot menu

The grub boot menu is displayed. Sometimes, after linux is installed, the boot menu cannot be displayed when it is started, because the menu is hidden in the system settings. The following describes how to display the menu: 1. edit

Summary of linux efficient shell commands

Linux efficient shell command summary cat 9.c | awk 'nr = 21 {gsub (/t09/, "ruiy"); printf $0} '1, comm [2 file row comparison] 1 [root @ localhost ruiy] #2 usage: comm [Option]... file 1 file 2 3 compare sorted files 1 and file 2 row by row. 4 5 if

Awk file processing practices

The awk file processing small practice file contains three fields (sorted): Example: news news_1 1234556 news news_1 1234557 news news_2 1234558 news news_2 1234559 sport sport_1 2234555 sport sprot_1 2234558 sport sport_2 2234556 sport sport_2 22345

How to change the host name in linux

In linux, how does one modify the linux host name to take effect? Many people use the hostname to modify the host name. In fact, this is only for the moment. After restarting, it will be restored to the original name. many people say that the host

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 System Study Notes: BASH Programming

Linux system learning notes: BASH programming using var = (element...) to create an array variable. When referencing elements in an array, use $ {var [I]}, I as the subscript, subscript @ to copy the original array, and subscript * to copy the

My personal understanding about switching between Linux graphics and character interfaces and startx

Personal Understanding about Linux graphics and character interface switching methods and startx linux provides six terminal by default to allow users to log on, switching to Ctrl + Alt + (F1-F6 ). These six terminal systems are named tty1 ~ The

Sudo cannot be used

Sudo cannot be used. After installing the system today, I found that my sudo command is not working properly. The general situation is as follows :....... we trust you have got ed the usual lecture from the local System Administrator. it usually

Questions about multiple login names in ubuntu

Have you solved the problem of multiple login names in ubuntu? This morning, I found a solution, which is very simple. The following figure shows Li Si's administrator permissions. delete them one by one. I hope to help you. Li Si @ Li Si :~ $ Sudo

Display certain lines in the file in ubuntu

In ubuntu, a few lines of the file are displayed. 1. The cat command is as follows: the command lines 200th to 240 in file_name are available in two ways: [plain] cat file_name | head-n 240 | tail-n 40 cat file_name | tail-n + 200 | head-n 40 Note: 1

Create a folder in linux that is only available to a user group

In linux, create a folder named su root mkdir testdir ll drwxr-xr-x 2 root 4096 July 31 23:51 testdir/chmod g + w, o-rx testdir ---------- to modify permissions, the owner and group have the rwx permission, others do not have any permissions ll

Linux records commands executed by users

For commands executed by linux record system users, add [plain] export HISTSIZE = 50000 export HISTORY_FILE =/var/log/CommandHistory in the/etc/profile file. log export PROMPT_COMMAND = '{thisHistID = 'History 1 | awk "{print \ $1 }"'; lastCommand =

Total Pages: 5467 1 .... 4686 4687 4688 4689 4690 .... 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.