Modify the path configuration environment variable in linux

Modify the path configuration environment variable in linux. in the red hat system, $ vi. bash_profile is between PATH and export. Add the PATH you want to add, for example, PATH = $ PATH: $ HOME/abc/bin -www.2cto.com-the colons here are used to

Quota configuration in linux

Recently, many linux enthusiasts have said they do not know how to configure quota. Now I will share my experiences with you. First, check the disk's file system df-l to see if the system has enabled quota,1. mount-o remount, usrquota, or

Memory Usage Analysis of Linux Processes

How much memory does process XXX occupy? This is a frequently asked and often incorrect question. Memory Allocation for Linux processes is a complex topic. Linux tools tend to oversimplify this issue, which leads to many misunderstandings and

Tracking the number of files opened in Linux and Solutions

During the issue investigation of ccps too program open files of the O2 project, there were a lot of problems. I just did a test: 1, how to view the number of files opened by the current process (this number fluctuates in real time) the following

How to configure a Linux Nic

Nic configuration: 1. Nic configuration files configure Nic information, including IP addresses, subnet masks, and gateways. The NIC information is saved in the NIC configuration file. The NIC configuration file is located in

Common linux Account management commands

1 groups: list all groups to which the current user belongs. 2. Change the valid user group of the current user to groupname in newgrp groupname. A user can belong to multiple groups, but there is only one valid user group. When a new file is

Common centos users cannot log on to ssh

Check the/etc/ssh/sshd_config file and find that the root user can directly log on to SSH without any restrictions .. generally, the default centos can log on to SSH after setting up a new user, but I cannot log on to SSH. The reason is that UsePam

One linux Command per day read

The read command reads information from a line of the keyboard or file and assigns it to a variable. Read var1hello world puts hello world into the variable var1, which can be viewed through echo $ var1 output. When the variable after reading is a

The reason for Windows to disappear (hidden) is reduced in linux.

Symptom: in linux, why does the window disappear (hidden) when it is reduced? You can only press "ALT + TAB" to call it out and view it again?Solution:Right-click "Panel" (windows is called the taskbar, linux is called the Panel) -- add to the panel

In Linux, services such as apache mysql cannot be started properly after the default port is modified

In Linux, apache mysql and other services cannot be started normally after the default port is modified. Solution: Two webservers are installed on the server, and one is nginx on port 80, with no exception. The other is the port 8001 bound to apache,

Use Linux Command lines to deduplicate text by line and sort the text by repeated times

Using Linux Command lines for text deduplication and sorting by repetition linux Command lines provide a very powerful text processing function. Using linux commands in combination, you can implement many powerful functions. This document provides

Use vim to compare files

Use vim to compare files 1. use vim's comparison mode to open two files: vim-d file1 file2 or vimdiff file1 file2. if the file file1 has been opened, open another file file2 for comparison: vert diffsplit file2 if the vert command is not used,

Solve the problem of insufficient linux disk space

Solve the problem of insufficient linux disk space1. First, let linux be powered off. 2. Right-click your virtual machine name and select Settings;3. Select "add" on the displayed page. The following box appears.4. Select Hadr Hisk (add hard disk)5.

How to build Linux Kernel on VMware

There are a lot of articles about the Linux kernel build on VMware on the network of the Linux kernel build Method on vmware. The main problem is that the kernel cannot be started normally after buildc is successful. This is a bug of vmware and

About #! /Bin/bash and #! /Bin/sh

About #! /Bin/bash and #! /Bin/sh #! /Bin/bash indicates that the script is interpreted and executed using/bin/bash. Where ,#! Is a special identifier, followed by the shell path that explains the script. Bash is only a shell type, and there are

./Stdio. h: 477: 1: error: 'gets' undeclared here (not in a fun

. /Stdio. h: 477: 1: error: 'gets' undeclared here (not in a function) solves the following error when a bsp package is compiled today, it is reasonable to say that there is no question about the bsp package officially given, but the title error

Deep LINUX wide screen display

Deep LINUX wide screen displayBackground introduction after WINDOWS is installed on the new computer, a LD is installed, but the problem occurs, and the resolution is abnormal !! There are only 4-3 Resolutions of 800600 and 1024768, and my display

Linux shell programming ---- Regular Expressions

Linux shell programming ---- Regular Expression 1 Regular Expression 1 Regular Expression is a string consisting of a string of characters and meta characters, RE (Rugular Expression) 2. The characters in a regular expression are divided into two

Shell programming Test File Permissions

Shell programming test file permissions #! /Bin/bash # This script is used to test the file type. #6/20/11 function usage () {echo "Error: Must have a parameter. "echo" Usage: "$0" filename "exit 1} function permission () {if [! -E $1] then echo

Summary of delete commands in vim

Learn how to delete the word remaining after deleting the dw character under the current cursor. D $ Delete the remaining parts of the row after the cursor. Dd deletes the current row. Ndd deletes the current n rows. For example, if 5dd is used to

Total Pages: 5467 1 .... 4255 4256 4257 4258 4259 .... 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.