Linux SSH terminal color change to 256 color

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

-Bash: wget: command not found

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.

CentOS network settings Modification

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

How to Use the mv command in linux

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

About the nproc restrictions of ulimit in RHEL6

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 Linux memory address randomization

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

Linux shell export command details

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

Linux touch command usage

Linux touch command usage explanation command name: touch permission: All Users usage: www.2cto.com touch [-acfm] [-r reference-file] [-- file = reference-file] [-t MMDDhhmm [[CC] YY] [. ss] [-d time] [-- date = time] [-- time = {atime, access, use,

Linux MTD System Level

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

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

Set multiple IP addresses for the NIC under RHEL5

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 files and updates them to the database (awk assigns values to external variables)

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 to storage

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 Desktop shortcut key settings

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

Do not forget to open the port when installing samb

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

Linux Command-View File Content

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,

Linux Network Programming: producer and consumer problems

From:Http://www.linuxidc.com/Linux/2011-08/41792.htm# Include # Include # Include  Void * producter_f (void * arg );Void * consumer_f (void * arg );Int buffer_has_item = 0;Sem_t sem;Int running = 1; Int main (void){Pthread_t consumer_t;Pthread_t

Linux allows common users to execute shutdown

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

What are the meanings of linux4-bit permissions?

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

Linux User Experience

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

Total Pages: 5467 1 .... 4683 4684 4685 4686 4687 .... 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.