Linux-bash Environment variables

Remark: Blog Summary draw lessons from the Horse brother class notesDate: 2015.09.07Linux_bash Environment variablesBash explainedBash can be a command language interpreter /etc/profile.d/*.sh~/.bash_profileFunction:(1) Define environment variables,

Search and compression of files under Linux

Search for files1. Query--which for script file name 1.which This command is to query the file name of the "execute file" according to the path of the environment variable that the path is canonical to. 2 . File name of query--whereis, locate,

8-30 Bash Environment configuration and special permission descriptions on Linux

Bash Environment configuration:configuration file, the scope of effective, there are two categories:Global configuration:/etc/profile,/etc/profile.d/*.sh/etc/bashrcPersonal configuration:~/.bash_profile~/.bashrcBy function, there are two

Linux commands [1]:ls

ls [option] [directory name ...]Options-A,--all lists all files in the directory, including to hide.-L,--format=long,--format=verbose show more information-D View Directory properties-H Displays user-friendly size information (only the file size is

Linux File system-delete files

RM: Used to delete a corpus or folder 1. The RM command without parameters is used to delete files without prompting 650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/72/A6/wKioL1XqoibjjeRKAAAxOKCK2aU612.jpg "title=" Image 1.png "alt="

Linux File Special permissions

Special permissions on the Linux file system Security context for the process:Prerequisite: The process is owned by the owner (the process is running as the user's identity);(1) Whether the user can start an executable program file as a process,

Linux the next day

File permissions and user groupsGroupadd Group NameGroupadd PolicemanView GroupsVi/etc/groupCat/etc/groupCreate a user and specify which group to assign the user toUSERADD-G Group name User nameView all user information in

2015-08-31 Linux Add a physical disk and use LVM for capacity expansion

Linux adds a physical disk, using LVM for capacity expansionFirst, create a new partition:Fdisk/dev/sdbNP #选择逻辑分区, if not, first create an extended partition and then add the logical partition (hard disk: up to four partitions p-p-p-p or P-P-P-E)1

Linux Common named Memories

1. View the GCC version:GCC--version2. View the kernel version:Cat/proc/version3. Get host and PC basic information command: unameUname-a Show All informationUNAME-M Display host hardware (CPU) nameUname-o Display Operating system nameuname--help

Special permissions on the Linux file system

Special permissions for the Linux file system are Suid:set UID (LS L is displayed as s permission)Features are:SUID permissions are valid only for binary programsPerformers need to have executable permissions for the programThis permission

Analysis of Linux Interrupt processing principle

First you need to understand the concept of interrupts: an "interrupt" is just a signal that can be sent when the hardware needs to gain attention from the processor. The kernel maintains a registry of interrupt signal lines similar to the I/O port

Linux text row and column conversions

Use awk for row and column conversionsSuppose you have a file test that contains data that follows the following format:Same row of data, 1 spaces between words ""Each row has the same amount of data, the same numberProcessing commands:awk ' {for (i=

Linux Ethtool Commands

First, Introduction Ethtool is a command for querying and setting network card parameters. Second, common options ethtool ethx // query ETHX gateway basic settings, where x is the number of the corresponding network card, such as E Th0, eth1, and

Case study of slow Linux SSH Logon

Case study of slow Linux SSH LogonIt takes dozens of seconds to log on to a Linux server over ssh. No such problem occurs on other servers. At ordinary times, the login operation was intolerable. Today, I finally cannot help wondering why. I

Command Line usage

Command Line usageThe command line (1) $ symbol represents a reference variable in the command. You can set a variable in export. For example, to view the environment variable command: echo $ PATH, the PATH variable is referenced through $ (this is

Linux personal operation habits

Linux personal operation habitsEdit ~ /. Add the following content to the bashrc file and define the alias #. bashrc # User specific aliases and functions alias rm = 'rm-I 'alias cp = 'cp-I' alias mv = 'mv-I 'alias cls = 'clear' # under DOS command,

Linux ethtool command and linuxethtool command

Linux ethtool command and linuxethtool command I. Introduction Ethtool is a command used to query and SET network interface card parameters.   Ii. Common options Ethtool ethx // query the Basic settings of the ethx network port. x indicates the

How to query the IP address and dns of a Ubuntu Virtual Machine

How to query the IP address and dns of a Ubuntu Virtual Machine This is a very simple experience, but let's summarize it. Currently, several Ubuntu virtual machines are used, but the trouble is that the IP address of the virtual machine is DHCP,

Initial Tomcat configuration in Ubuntu

Initial Tomcat configuration in UbuntuTomcat initial configuration in Ubuntu 1. Download the tomcat installation package Download the installation package from the official tomcat website http://tomcat.apache.org, and then extract it to a directory,

Install, configure, and use PhoneGap3 +

Install, configure, and use PhoneGap3 + PhoneGap2 + has a maximum version of 2.9.1. Starting from Version 3 +, PhoneGap does not officially provide the download installation package. You need to download and install the package through the Node. js

Total Pages: 5467 1 .... 4566 4567 4568 4569 4570 .... 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.