Starting from a simple script

Clear from a simple script: Clear the log file 1 In/var/log # clear 2 # use the root identity to run this script. 34cd/var/log5cat/dev/null & gt; messages6cat/dev/null & gt; wtmp7echo... clear from a simple script: Clear the log file 1 In/var/log #

Powerful batch shell commands

Powerful batch shell command 1. first, rsh or ssh must be normal in the environment. 2. configure nodes (all managed node hostnames). 3. Script # catdsh #! /Bin/shcommand $ @; forIin 'cat. /nodes | grep-v ^ # 'do... powerful batch shell command 1.

/Etc/shells file usage

The usage of the/etc/shells file has never been too clear about the role of the/etc/shells file. I recently checked it and summarized it as follows. $ ManshellsSHELLS (5) LinuxProgrammer & amp; rsquo; sManualSHELLS (5) NAMEshells-pathnamesofvalid...

No public key solution in debian

There is no public key in debian to execute the command: apt-getupdate has the following error: Reading the package list... complete W: The following ID has no public key available: 8B48AD6246925553 execute the following command to solve the problem:

Tool commands related to SELinux

SELinux-related tool commands The following describes SELinux-related tools/usr/bin/setenforce modify the real-time running mode of SELinux setenforce1 set SELinux to enforcing mode setenforce0 set SELinux to permissive mode if thorough. ..

Unable to verify signature error because the debian/ubuntu Update source does not have a public key

Debian/ubuntu Update source unable to verify signature error because there is no public key issue today when updating the source in debian with the following error 1 W: GPG error: http://www.emdebian.orgwheezyRelease: because there is no public key,

Install custom fonts for Linux

Install a custom font for Linux and modify the font configuration file (Root permission required). add the font to the list sodugedit/etc/fonts. conf & lt ;! -- Fontdirectorylist -- & gt; & lt; dir & gt;/usr/share/fonts & lt;/dir & gt; & lt; dir &

Detailed description of chmod parameters and usage -- file folder permission setting command

Chmod parameters and usage details -- file folder permission setting command usage: chmod [-cfvR] [-- help] [-- version] modefile... note: file access permissions for Linux/Unix are classified into three levels: file owner, group, and others. You

Connect to sftp using FlashXP

FTP is a client software for one-pass file transfer or upload/download. SSH is a secure remote management protocol, including a file transfer function similar to FTP, that is, SFTP, winscp is the most convenient software to use, but if it is not

Non-interactive remote command execution script in Linux (better than ssh)

In Linux, non-interactive remote command execution scripts (better than ssh) are available on each machine. ssh and scp are often used in our daily life. However, as the number of machines to be managed grows, it is unrealistic to log on to the

Nmon for linux performance analysis tools

Linux performance analysis tool nmon1. Overview monitoring is an indispensable part in checking system problems or optimizing system performance. The operating system monitoring tool monitors the usage of operating system resources and indirectly

Solutions to the ugly mouse theme

The following is a solution to solve the ugly problem of the mouse theme in the Arch: create a default folder in/usr/share/icons/and create an index in the default folder. theme file, add the following content: [IconTheme] Inheritsxxxxxxx here xxxxx

Fedora18livecd hard disk installation (Dual System with win7)

Fedora18livecd hard disk installation (and win7 constitute a dual system) seems to be a lot of such articles on the Internet, but it should be clear, some posts talk about the installation of DVD. the fedora18 of iso is four or more GB, and I want

Commands for mounting the optical drive and iso to the aix system

Commands for mounting the optical drive and iso to the aix system 1. create a folder for loading the optical drive # mkdir/cdrom2. mount the/dev/cdo optical drive device to/cdrom in the format of the cdrfs file system. under the folder #

Modify the jenkins port number in Ubuntu

Modify the jenkins port number in Ubuntu and you will soon be able to use it. In addition, this method can be easily upgraded to the latest version. However, the port number is 8080, and another program of mine uses 8080. how can this problem be

Setting 301 redirection in lnmp environment and using IP address access to redirect to domain name

Problem Description: In the lnmp environment, a site is added and 301 redirection is set, then you can directly open the website with an IP address and jump to the jump domain name. solution: create a default site in the wdcp background. The

Perl obtains cpu usage

Perl obtains cpu usage. 1. First, the/proc/stat file information is displayed in Linux/Unix. the CPU usage is divided into user, system, and idle, the time when the CPU is in the user state, the time when the system kernel is executed, and the time

Ubuntu13.04 delete the annoying Amazonsuggestions

Ubuntu13.04 delete annoying versions? Well, that & amp;... Ubuntu 13.04 delete annoying Amazon suggestions Ever noticed suggestions of books and other stuff unrelated to your queries when using Ubuntu Dash with Unity Desktop? Well, that's because

Linuxsvnup Chinese display garbled solution

Linuxsvnup Chinese display garbled solution Java code vi/etc/sysconfig/i18n # LANG & quot; en_US.UTF-8 & quot; # LANGzh_CN.GB18030 # LC_ALLzh_CN.GB18030 # SYSFONT & quot; latarcyrheb-sun16 & quot; LANG & quot; Linux svn up Chinese display garbled

Solution to saving the read-only document edited by vi

Vi editing the read-only document cannot be saved. use a common user to edit nginx. conf and other configuration files: when saving, the system will prompt: no RootPermission can be solved using the following method: when saving, add: w! Sudotee % I

Total Pages: 2732 1 .... 713 714 715 716 717 .... 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.