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)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] ~]
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
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
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
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
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
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="
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 systemsCobbler can deploy Linux systems in batches and implement unattended installations.Cobbler-dependent services: Dhcp,tftp,http,pxe,kickstartThe port number of the service
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:
" 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
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 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-------------
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?
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
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,
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).
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