Linux command--head

Command format:head [options] File (option is not writable) Command function:Displays the contents of the number of lines before the beginning of the file Common functions:- g hidden file name- v Displays the file name simultaneously- n

Linux commands —-— Cat

Command format:Cat [Options] File Command function:Display the entire file at once, create a new file from the keyboard, combine several files into one file Common options:- b numbering of output non-empty lines- e displays the $ symbol at the

Some things about the systemd of Linux

1. Output the unit that failed to run:Systemctl--failed2. All the unit files are stored in both the/usr/lib/systemd/system/and/etc/systemd/system/directories, but the latter are of higher priority. Systemctl List-unit-files can list all the units.3.

Linux Permissions and Rights Management

Rights Management:R: ReadW: WriteX: ExecuteThree types of users:U: Users themselves (User/owner)G: Genus (Group)O: Other person (other)Chown: Change file owner (administrator can use)Chown USERNAME file, ...-R: Modify directory and internal file

Linux Learning Private notes-basic commands for directories and files

ls: View files and directoriesCD: Switch directoriesPWD: Show current directorymkdir: Creating a DirectoryRmkdir: Delete an empty directoryRM-RF: Delete the directory and delete all files in the directoryEcho: Display, printMV source file path after

Linux system startup process

Kernel level startup process :Post-->bootsequence (BIOS)->bootloader (MBR)-->kernel650) this.width=650; "Style=" Float:none;border-top-width:0px;border-bottom-width:0px;margin-left:auto; Border-left-width:0px;margin-right:auto; "title=" program

Linux Learning-environment variable settings

In general, you need to specify the path of the compilation tool when configuring the cross-compilation tool chain, and you need to set the environment variables. For example, my MIPS-LINUX-GCC compiler is in the "/opt/au1200_rm/build_tools/bin

Using SSH to access Linux under ITerm2

Typically, ITERM2 accesses remote Linux using SSH, as is the case with Termial, as follows:SSH @Then enter the access password. Of course, there are times when you need to specify access ports.Ssh-p @If the operation under ITerm2 is the same as the

Set up LNMP and centos6.5lnmp in CentOS6.5

Set up LNMP and centos6.5lnmp in CentOS6.5    1: view the environment:? 12 [root@10-4-14-168 html]# cat /etc/redhat-release CentOS release 6.5 (Final) 2. Disable the firewall.? 1 [root@10-4-14-168 html]# chkconfig

Install Gnome GUI on CentOS7

Install Gnome GUI on CentOS7 I changed my computer today and started to install CentOS 7 on the Virtual Machine vmware in the evening. I'm so excited. All devices have been set. When you choose to install the system version, something goes away,

Centos6.5 install python27 + easy_install27 + pip27

Centos6.5 install python27 + easy_install27 + pip27yumgroupinstall"DevelopmentTools"yuminstall-yopenssl-develzlib-devsqlite-develbzip2-develIf openssl-devel is installed, the following error occurs:Protectedmultilibversions:libselinux-2.0.94-5.3.el6_

Install Remote Desktop XRDP in CentOS 7

Install Remote Desktop XRDP in CentOS 7 1: Install the extension Source 2: install the software packageYum-y install xrdp tigervnc-server 3: Configure SELinuxChcon -- type = bin_t/usr/sbin/ xrdp Chcon -- type = bin_t/usr/sbin/ xrdp -sesman 4:

Add static routes to Centos7

Add static routes to Centos7 1. ip route display and set Routing 1. display the route table [root@centos7 ~]# ip route showdefault via 192.168.150.254 dev enp0s3 proto static metric 1024192.168.150.0/24 dev enp0s3 proto kernel scope link src 192

Enable graphical interface using Systemd in CentOS

Enable graphical interface using Systemd in CentOS1 startup command Systemctl isolate graphical.tar get2. startup process: File:/etc/systemd/system/graphical.tar getFrom: systemd packageContent: [Unit]Description = Graphical InterfaceDocumentation =

CentOS SSH password-less logon Principle

CentOS SSH password-less logon PrinciplePrinciples For ease of understanding, it is assumed that the hadoop148 host can be connected to hadoop107 without a password. Generate a key pair on hadoop148, including a public key and a private key, and

Use the nmcli command to manage the network in CentOS 7

Use the nmcli command to manage the network in CentOS 7 Network management is actually the management of NetworkManager. You can use the nmcli command to control the network. The following describes how RedHat/CentOS 7 uses the nmcli command to

DNS address failure after CentOS6 restarts the network service

DNS address failure after CentOS6 restarts the network service In the previous CentOS release (4, 5), you only need to set the DNS address in/etc/resolv. add "nameserver 1.1.1.1" in the conf file, although CentOS6 is in resolv. adding this line in

Nginx. conf Optimization

Nginx. conf Optimization The problem is that the nginx. conf file is too long, too large, and inconvenient to maintain. Therefore, you can split the file so that it is easy to read and maintain. 1. Remove all weixin configurations in nginxAs shown

Nginx Load Balancing (Master/Slave) + Keepalived

Nginx Load Balancing (Master/Slave) + Keepalived Advantages of Nginx Load balancer: Implement a flexible operating architecture. When the pressure increases, you can temporarily add backend Web servers; Upstream is capable of Load Balancing

LINUX server for CISCO log events

LINUX server for CISCO log eventsBuild a LINUX server that records CISCO log events. 2. cisco switch address: 10.0.0.71 Linux address: 192.168.80.633. the test procedure is mainly divided into two major parts. 1) the switch first sets the switch to

Total Pages: 5467 1 .... 3006 3007 3008 3009 3010 .... 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.