How to disable file descriptors in Bash scripts

In the Bash script, how does one close the file descriptor and encounter A problem when writing A Bash script tonight? This script is used to start A program B, which is called by another program, the result shows that many file descriptors opened

Resume terminal content after vim exits

After vim exits, terminal content is restored. Some terminals can be restored to the status of the terminal before vim is enabled after vim exits, similar to the following: www.2cto.com $ vim/etc/sysconfig/#### open vim ##### sdskk here, some file

Linux Volume management downtime repair tour

The Linux Volume management downtime recovery company recently recruited a DBA, which is definitely called a rare one in a hundred years. Let's refer to it as a wonderful one! The director is very keen on and looks forward to him, so he specified

Ubuntu becomes an English language

Sudo nano/var/lib/locales/supported. d/local change to en_US.UTF-8 UTF-8 sudo vim/etc/default/locale change LANG = "zh_CN.UTF-8" LANGUAGE = "zh_CN: zh" to: LANG = "en_US.UTF-8" LANGUAGE = "en_US: after sudo locale-gen www.2cto.com reboot restarts

Linux samba configuration problems (unknown user name or Password error)

Linux samba configuration problems (unknown user name or Password error) I will not talk about samba configuration here. baidu and google will check a lot of problems that may occur during the configuration process, after configuring the linux samba

Keep CT command in shell

The trusted CT command in shell often needs to jump to different machines, but it is very complicated to input the password every time. Naturally, I thought of the trusted CT command in shell. This command is just a little bit of knowledge, probably

Xmind workspace conflicts in ubuntu

Recently, xmind workspace conflicts in ubuntu were discovered. After xmind is used in ubuntu, the eclipse perspective is changed to xmind. This made me very depressed. I manually restored the eclipse perspective every time. Www.2cto.com studied it

Ubuntu12.04 the Pinyin and five-stroke input methods are perfectly installed

Ubuntu12.04 the full name of Intelligent Input Bus for Linux/Unix OS is the next-generation Input Method Framework (or "Platform "), the project is now available in Google Code-http://code.google.com/p/ibus/, which includes text input requirements

Install and use make on Solaris

10 is built-in. If it is to maximize installation, it should be available. # Pkginfo | grep gccSystem SFWgcc GNU compilersSystem SUNWgcc gcc-The gnu c compilerSystem SUNWgccruntime GCC Runtime libraries # Pkginfo | grep makeSystem SUNWgm4

Shell records Dangerous commands executed by the alarm system

#! /Bin/bash Cd/u1/Operation_log/ # Format logFor I in 'LS-l | awk' {if (NR = 1) next; print $ NF }''DoCat $ I | perl-pe's/\ e ([^ \ [\] | \[.*? [A-zA-Z] | \]. *? \ A) // G' | col-B>/home/Operation_filter_log/clean/$ IDone ###------------------------

Basic network configuration in linux

First, use the command to modify the changes (the changes take effect immediately and the restart fails)# Ifconfig eth0 192.168.0.1 netmask 255.255.255.0 upNote:Eth0 is the first Nic, and the others are eth1, eth *192.168.0.1 is the IP address

How to Build and use samba servers

On windows, you can use a virtual machine to build the samba service for linux as follows:1. Install samba first;2. Configure the server;3. Start the server;4. Access in windows; Procedure:Install samba:1. First, use rpm-qa | grep samba to check

Comparison between UC/OS and uClinux

With the rapid development of modern computer technology and the wide application of Internet technology, the transition from the PC era to the 3C (computer, communication, and consumer electronics) era, represented by personal digital assistants,

DOS and linux line breaks

When configuring the linux dns server today, it is very troublesome to modify the configuration file in linux, so I want to take the configuration file to windows and apply it to linux. When I modified the configuration file in linux through a text

Vim custom commands and shortcut keys

Five mappings exist.-For normal mode: when you enter a command.-For visual mode: When the visible area is highlighted and a command is entered.-Used for operator waiting mode: The operator is waiting ("d", "y", "c", etc ).See: | omap-info |.-For

Test the Linux DHCP server

As a DHCP server, it can be configured in many systems and methods. We implement it in a virtual machine environment. Generally, when a virtual machine is opened, it will slow down. We only use one 2003 Server for customer service machine

Application of DHCP and dhcpd packages in Linux

For DHCP, a common method is to set it as a DHCP server, sometimes configured based on routes and switches. Today, we mainly talk about the use of DHCP and dhcpd packages in Linux. So the test environment: RH linux 9.0 uses the common dhcpd package

Setting up a DHCP server in Linux

Linux systems have been applied in many enterprises. For this part of the network structure, let's talk about the server construction. Today, we will mainly explain how to build DHCP servers in Linux. Setup of a preliminary test environment 1.

Linux DHCP service settings

Many users are very concerned about the configuration of the Linux DHCP service. Here we will give a detailed explanation of this aspect. Here we will mainly explain DHCP backup and Linux DHCP services. I hope this will help you. DHCP backup In a

How to Understand linux network protocols

Linux network protocolThe stack is divided into four layers based on the layered design concept. The layers are physical layer, link layer, network layer, and application layer. The Linux network protocol stack is actually originated from the

Total Pages: 5467 1 .... 5372 5373 5374 5375 5376 .... 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.