Linux terminal settings display only the current directory and the terminal beautification

1. Show only Current directoryVim ~/.BASHRCFind Location:if " $color _prompt " Then PS1= ' Else PS1 = ' ' fiReplace the two lowercase w with the upper case W, then source ~/.BASHRC2. Terminal color beautificationVim ~/.BASHRC then this

Linux CentOS7 Two machines with password-free login (key pair authentication)

Linux CentOS7 Two machines with password-free login (key pair authentication)The two machines are:Host Name: fxq-1,ip:192.168.42.181Host name: Fxq-2, ip:192.168.42.182W command to view information for the currently logged on user[[email protected] ~]

Linux OS Network kernel optimization

Server do Web application (http/nginx) Linux kernel parameter optimizationUnder Linux systems, when a TCP connection disconnects, it retains a certain amount of time in the TIME_WAIT state before the port is released. When there are too many

"Linux Driver" device drivers understand again

Learning device driver Programming also has a period of time, also wrote a few drivers, so there are some new understanding and understanding of the device driver, summed up. Learning device-driven programming has also been a while, and several

Linux SFTP user creation does not allow users to log on, and connections are only allowed in the established directory to operate

1. Create a userGroupadd SFTP2. add user and set as SFTP groupUseradd-g sftp-s/sbin/nologin-m sftp (/sbin/nologin for users who are not allowed to log in to the shell)3. Set User passwordpasswd SFTP4. Create a user directory. and set

Generate configure files using Automake, autoconf under Linux

First, the diagram of each file in the process of generating configureSecond, Detailed introductionAutoScan: Scan the source code to search for common portability issues, such as checking compilers, libraries, header files, etc., generating file

Linux File System 1---The introduction of VFS

1. IntroductionThe series of articles on document management is mainly about the Chen Li of the Document System management Knowledge lecture by teacher June.Linux can support different file systems, which originate from UNIX file systems and are a

Introduction to the composition of computers and distribution of Linux

The composition of the computer and the distribution of Linux introduces the composition and function of the computer The five major components of the computer are as follows; 650) this.width=650; "src="

Linux system Boot process (CENTOS5/6/7 as an example)

What are the steps required for an operating system to start up completely? Today, take CentOS as an example to explore the Linux startup process;First, the composition of the Linux system-kernel+rootfs (root file system)Kernel: Kernel for process

Install cobbler2.6 on CentOS6.9 for automated installation of Linux systems

Install cobbler2.6 on CentOS6.9 for automated installation of Linux systemsCobbler can deploy Linux systems in batches and implement unattended installations.Cobbler-dependent services: Dhcp,tftp,http,pxe,kickstartThe port number of the service

CPU, hard disk, memory utilization under Linux system

Install SNMP Service on 1.linuxFirst step: Install the SNMP service on the company 192.168.100.171 Linux virtual machine.The second step: get the corresponding value through the nodes in the Host-resources-mib library.Step three: You can only pass:

How to get the current flow of a process in GNU Linux

/********************************************************************* * Author:samson * date:11/19/2014 * Test PL Atform: * 3.13.0-24-generic * GNU bash, 4.3.11 (1)-release * *********************************** ********************************/The

Linux system users and user group management

" know /etc/passwd and the /etc/shadow "These two files can be said to be one of the most important files in a Linux system. If you don't have the two files or the two files, you won't be able to log on to the Linux system properly./ETC/PASSWD is

Linux Cloud Automation Operations Basics 2 (Basic operation of the system)

Switch users: Enter su-username at the command prompt Note: Advanced users switch to low-level users do not require a password, low-level users need a password to switch identities. 650) this.width=650; "Src="

SSH no password login under Linux setup

SSH configurationHost a:10.0.5.199Host b:10.0.5.198Need to configure host a without password logon host A, Host BFirst make sure that all hosts ' firewalls are turned off.On host A, perform the following:1. $CD ~/.ssh2. $ssh-keygen-t RSA-------------

Linux Cloud Automation Basics 3 (basic commands for the system)

1 Datewatch-n 1 Date # # #让date命令每秒执行一次, CTRL +C launch monitoring mode 650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M00/9C/5E/wKiom1lvXw7QMUIUAAAhCWlmSq8457.png "title=" Screenshot from 2017-07-17 23-41-47.png "alt="

Linux Getting Started _2-basic commands

Getting Started with Linux-basic commandsCatalogue? date commands date? Modify time zone? Calendar command cal? Shutdown Start command Halt,reboot,poweroff? WhoAmI, who, who am I, W screen echo? How do I use it? How do I use the {}? TAB completion?

Linux wildcard characters, metacharacters, and special characters

Features that are useful in bash environments: wildcards, escape characters, and special characters are described belowOne, wildcard characters A wildcard is a special statement that has an asterisk (*), a question mark (?). And so on, used to

Linux sed command

Introduction to CommandsBasic command formatsed [Common options] Command text inputCommon options-N (--quiet,--silent): Quiet mode. In the basic usage of SED, all information from the standard output is listed on the terminal. With the-n parameter,

Configuration file analysis in Linux environment variable settings (/ETC/PROFILE,~/.BASHRC, etc.)

When you start the shell, it runs the startup file to initialize itself. Which file to run depends on how the shell interacts with a login shell or a non-landing shell (for example, through bash) or a non-interactive shell (to execute shell scripts).

Total Pages: 5467 1 .... 1085 1086 1087 1088 1089 .... 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.