When using Linux for embedded development, in order to facilitate development, the development Board is usually mounted on the host's file system, then the code is placed in the directory shared to the Development Board, and then run through the
If and case two conditional statements in the shell
1. If Syntax 1:IfConditionsThenCommandsElseCommandsFi
Syntax 2 for if:Syntax: If conditionThenCommandsElif conditionsThenCommandsElif conditionsThenCommands....ElseCommandsFi
Description: Read
As most people know, Linux has the highest privilege of root account, so it is necessary to prevent root login.
1: Prohibit normal users through Su-switch to Superuser root
[Root@localhost ~]# Su-test[Test@localhost ~]$ su-#正常情况下, you can switch
Recently work to take some projects, are Linux under the Apache environment, originally wanted to run directly nginx, helpless, have used a lot of rewrite,apache and nginx in rewrite some grammar is not the same, do not want to change these rules,
SHIFT Command declaration format: shift [n]The shift command is used to move the position argument list of the script to the left by the specified number of digits (n), and to move the argument list to the left one bit if there is no argument for
First, view the process with PS by using the following method:
$ ps-ef ... smx 1822 1 0 11:38? 00:00:49 gnome-terminal smx 1823 1822 0 11:38? 00:00:00 gnome-pty-helper smx 1824 1822 0 11:38 pts/0
Adding new users to Linux, creating new users, creating new accounts
Add User Group
sudo groupadd groupnameAdd user
sudo useradd username-m-s/sbin/nologin-d/home/username-g groupname-s/sbin/nologin settings can not log-s/bin/false (old method)
Today, a co-worker has a problem with three 1T disks (SDB, SDC, SDD) added to several of the hosts he owns, but the new three partitions are added directly to a section using GPT partitioning. Because the previous MBR boot was used, and the LVM
When you run the FTP localhost prompt bash:ftp:command the not found command does not exist
This is mainly because the FTP package does not exist, just need to install it, here are several installation methods
RPM Installation Method
1, 5.X
Modify VSFTP The default user access directory is in the vsftpd.conf file under/etc/vsftpd/of the configuration file directory.
Locate and open the/etc/vsftpd/vsftpd.conf, and set the following code to add:
The code is as follows
I used to create a file that I normally use DD for example to create a 512M file:
The DD command makes it easy to create files of a specified size, such as
DD If=/dev/zero of=test bs=1m count=1000
Generates a 1000M test file with a total of 0
Method One, the most commonly used binding gateway
The general server gateway is not changed, and VPS also apply.First, view the current gateway
[Root@local@xiaohuai ~]# Arp-a? (218.65.22.122) at 80:fb:06:f2:4a:f4 [ether] on eth0
SSH executes the
Lilo (linux loader) is a Linux system core loader and provides the function of managing boot. Run the lilo command separately. It will read the lilo. conf configuration file in the/etc/directory and install lilo according to its content.SyntaxLilo [-
Run the testparm (test parameter) command to test the Samba configuration file. If the test result is correct, the Samba resident service can load the setting value correctly, however, it is not guaranteed that subsequent operations are as normal as
When the ping command is executed, the ICMP transmission protocol is used to send the request response message. If the network function of the remote host is normal, the system returns the response message, so that the host operates
Install myadmin and set security in the php Tutorial in linuxPhpmyadmin is a set of programs managed on the server side through the browser interface. Therefore, it is very important to ensure the security of its directories. Otherwise, data may be
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