Change the default file opening mode in linux

Change the default file opening mode in linux. in the Gnome file manager (nautilus), when you double-click a file, the system will automatically call the corresponding program to open the file. In Nautilus, you can modify the default open mode by

Linux important system folders

Important linux system folders 1. management folder:/boot this directory stores Linux startup files and kernels by default, such as LILO or GRUB files. /Initrd its English meaning is bootloaderinitializedRAMdisk, which is initiated by bootloader...

Install. rmp software in ubuntu

Ubuntu installation. rmp software ubuntu installation software RPMredhat system file installation software in rpm format, debian series file installation software in deb format. for ubuntu file installation in rpm format, first convert the file in

Time when shell scripts are used for debugging

When using shell scripts for debugging, the company recently tested the server and often needed to adjust the system time. if one or two servers were better than half and a little bit more, there was a variety of confusions. I was so crazy about

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

Remote modification of Nrpe scripts

Remote modification of the Nrpe script Preface: as an O & M personnel, frequent modification of monitoring is inevitable. it is better to change a small number of machines, if the amount is too large, it will not be easy. As the boss said, it would

Solve Chinese garbled characters in KDE of archlinux

The KDE of archlinux solves the problem of garbled Chinese characters in the newly installed archlinux. The Chinese files on the hard disk are garbled in doldolphin. In addition, many systems are not garbled or English. The ls in the console is

Enable linux routing

When you enable the linux routing function, high-level routers can connect different hardware devices and translate many different packet formats. Generally, the prices are not cheap! In this chapter, we do not want to discuss such high-level things.

Returns any value from the bash function.

Return any value from the bash function. unlike other programming languages, a Bash function is more like a subprogram, that is, its return value. it can only be a number and 0 indicates success, if the value is not 0, the operation fails. If you

Simple Linux command line notes: mkfs

Simple Linux command line Note: mkfs creates the file system mkfs [options] device parameter www.2cto. comdevice on the device as the name of the device on which the file system is to be created. If the device name is in/etc/fstab, you can use the

Add ubuntu software to the starter

Ubuntu software is added to the starter to establish its own starter, and added to the system application for unified management, the system does not provide this function (it is obvious that the current design is only a half-product, such a common

Squid implements reverse proxy

Squid reverse proxy working principle when a user's browser sends an HTTP request, the request is directed to the reverse proxy server through domain name resolution (if you want to implement reverse proxy for multiple WEB servers, you need to

Linuxntp time server and client installation configuration

Linuxntp time server and client installation and configuration 1. main file and Command:/etc/ntp. conf server configuration file/etc/sysconfig/clock time zone configuration file/bin/date display and set the time command/sbin/hwclock for BIOS clock...

Thunderbird sets the automatic signature and reference location for email replies.

Thunderbird sets the automatic signature at email reply and the location referenced by the email. by default, Thunderbird replies or replies to emails. the reply content and signature are at the bottom of the email content, this is different from

The ubuntu installation software prompts "the lock file cannot be opened/var/lib/dpkg/lock ".

Ubuntu installation software prompts that the lock file cannot be opened/var/lib/dpkg/lock. solve the problem by installing make with apt-get. prompt that the lock file cannot be opened/var/lib/dpkg/lock # apt- getinstallvimE: unable to open the

Incorrect Gentoo time display solution

The solution for incorrect Gentoo time display is different from that for other Linux distributions. Gentoo displays everything based on its own settings, such as png images and jpeg images. Www.2cto.com has a problem: the time display is incorrect.

Example of using getopt in Shellscript

The example of using getopt in Shellscript to use getopt has the following format options and corresponding parameters: www.2cto. comShell code #! /Bin/bashset -- 'getopt-qab: c & quot ;@ @ & quot; 'While [-n & quot; $1 & quot;] docase & quot ;...

Remote debugging in linux

For remote debugging in linux, if the remote port 8000 is not enabled, you can use the following method to perform remote debugging: Download a plink.exewww.2cto.comand then enter the command line, jump to the directory where plink.exe is located,

Linux automatically switches IP addresses using shell programming

Linux uses shell programming to automatically switch the IPUbuntu system. because the IP addresses used in commuting are different, it is very troublesome to manually modify each time. Www.2cto.com made a batch processing by referring to the network

Shell script programming: "The simplest endless loop"

The simplest endless loop of shell script programming programs in linux all know shell scripts. even if you are not familiar with them, you should have heard of them! So how to write an endless loop in a shell script? Www.2cto.com for those familiar

Total Pages: 2732 1 .... 2074 2075 2076 2077 2078 .... 2732 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.