Generally, Xshell is used to connect to and manage the Centos/Debina server terminal through SSH. By setting the terminal type, 256 colors can be enabled to display more colorful colors. View Current terminal type: echo $ TERM xterm-color view
When I installed a new LNMP environment on the server today, the system prompts-bash: wget command not found during wget. It is obvious that the wget package is not installed. Generally, wget will not be installed by default when linux is minimized.
1. Modify the IP address of CentOSModify the configuration file of the corresponding Nic IP Address# Vi/etc/sysconfig/network-scripts/ifcfg-eth0Modify the following contentDEVICE = eth0 # describe the DEVICE alias for the NIC, for example, it is eth0
1. Use the mv command to rename a file or directory or move the file from one directory to another. This command is equivalent to the combination of the ren and move commands in the DOS system. The permission is granted to all users. 2. The format
The nproc limit of ulimit in RHEL6 is used to limit the resources occupied by shell startup processes. The following restrictions are supported: the size of the created Kernel File, the size of the process data block, the size of the file created by
Disable the Linux memory address randomization mechanism and disable process address space randomization. you can fix the base address, stack, and vdso page addresses of the mmap process. you can set kernel. randomize_va_space kernel parameters are
Function Description: sets or displays environment variables. Syntax: export [-fnp] [variable name] = [variable setting value] Supplementary Note: When executing a program in shell, shell provides a set of environment variables. Export allows you to
The role of MTD in Linux (Memory Technology Device, Memory Technology Device): 1. Establish a unified abstract interface for Linux Flash. 2. The file system is isolated from the underlying Flash memory. 3. Do not pay attention to character devices
Use grub and grub2 to create dual-system boot USB flash drives. After I plug in the USB flash drive, fdisk-l will view the USB flash drive information and learn that it is/dev/sdb www.2cto.com. Fdisk/dev/sdb run the p command to check that there is
In Linux, you can set multiple IP addresses for NICs under RHEL5. To solve some network access problems, you sometimes need to configure multiple IP addresses for one Nic. In some documents, it is called "Adds aliases for Device! ". The following
Shell reads the file and updates it to the database (awk assigns an external variable) www.2cto.com #! /Bin/bashfile='221224_finaldatapm.csv 'mysql = '/usr/local/MYSQL/bin/mysql 'user = 'root' PASSWD = 'root' DB = 'itims' while read ido eval $ (echo
RHEL6 configures multipath software to connect storage RHEL6 and 5. There are some minor differences in multi-path configuration. Some parameters of the scsi_id command are not supported. You can use the-whitelist parameter to obtain the wwid of a
Linux display desktop shortcut key set Ubuntu display desktop Indicator IN: LINUX :-) HOT: 1,246 deg C 18 ten 2011 www.2cto.com you generally use the shortcut key Ctrl + Alt + D to display the desktop. Some children's shoes retain the habit of
1. Install samb# Yum install samba2. Configuration[Dev]Comment = zhoucy work dirPath =/home/devWritable = yesWrite list = dev3. Add a user# Smbpasswd-a dev4. Start# Service smb start
The first time samb is installed, the samb port has not been
When a user creates a file:-rw-r --When creating a directory: drwxr-xr-x
How to modify umask, for example, to change to 002Run the umask 002 command.File hiding PropertiesChattr (set file hiding attributes)Common ParametersChattr-a: After setting,
Take Fedora5 as an example. It is similar to other types such as Ubuntu.The current user name is test, which is a common user. When you enter the shutdown command, the message must be superuser is displayed. The superuser is required to execute this
I have been in touch with linux for a while, and a permission problem keeps me depressed. It cannot be found on the Internet (it is estimated that the keyword is incorrect). This is the 0777. What does the first 0 mean. I recently read a book (Linux
It has been more than a week since I started to learn linux, and I have made a lot of edits to shell scripts. Many scripts contain various commands that prompt the user to read and display the command echo.Many people simply abbreviated the subjects
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