Display and setting of variables

Display variables and set the display format of variables: # echo $... # echo $ variable # echo $ PATH or echo $ {PATH} # mynametian # In the echo $ myname variable, double quotation marks or single quotation marks can be used if there is a blank

Solaris10 enable root remote ssh login

Solaris10 enables root remote logon to ssh1. enable root logon, modify the/etc/default/login file, and comment out CONSOLE/dev/console; 2. modify the file/etc/ssh/sshd_config and find the following line # change PermitRootLoginno to PermitRo...

Ubuntu12.4 tftp settings

In ubuntu12.4, tftp settings are excellent. due to debugging the 6410 development board, you need to build a tftp server under ubuntu12.04. after searching for multiple ubuntu files, you can find more or less problems, the following is my

Grouping matching in awk

In awk, grouping matches many times. when awk is used, it is called grouping in a regular expression. the content to be matched is placed in parentheses () for example, if you want to find three contents in the angle brackets & lt; & gt;, such as

Linux_Shell programming learning

The following is a summary of linux_Shell programming. if you need it, you can check it out. Why is shell programming in Linux? although there are various graphical interface tools, kernel is still a very flexible tool. Shell does not... linux_Shell

Use sed for log time calculation

When using sed to calculate log time, some netizens encountered the following problem: log time is recorded incorrectly, and each log is slowed down by 12 hours, so the time to restore each log. Of course, it is easier to use more advanced languages

VNCServer configuration in CentOS6.4

In CentOS6.4, the simplest VNCServer configuration environment is CentOS6.4Final. all components except KDE are installed on the desktop. 1. the installation service yuminstalltigervnc-server name is a bit strange, centOS5 called vnc-server2, run

Linux: Access the CD command

Linux: Command for accessing a CD. when using a CD, floppy disk, or USB flash disk, the Linux system must first execute the mount command. The Mount command will specify these storage media as a directory in the system, and then directly access the

Related configuration optimization after LNMP is installed in Linux

Related configuration optimization after LNMP is installed in Linux: 1. enable Nginx + PHPvim/etc/rc upon startup. local/home/mysql/mysqlstartulimit-SHn65535/usr/local/webserver/php/sbin/php-fpmstart/usr/local/webserver/n... related configuration

Linux Packaging and decompression

Only one source file can be used to package and decompress inux compression commands in linux. This means that before compression, you have to package all the files to be compressed into one package, and then compress the package, to compress

Detailed description on how to customize and save the top output information

For more information about the importance and usage of top commands, see how to save the output information of top commands. The method for saving the output of the top command to a file is: top-n1b>topinfo.txt. this is not curious, but the

Linux cluster lvs practice

Linux cluster lvs Linux cluster-LVS (DR) + HeartbeatLVS + HeartbeatLVS1 and LVS2 perform the same job, so the configuration script is the same. The only difference is that the heartbeat configuration file ha. cf has different heartbeat addresses.

Functions of Linux/etc/services files

Linux/etc/services File function 1) The/etc/services file records the network service names and their corresponding port numbers and protocols. 2) Each row in a format file corresponds to a service. it consists of four fields separated by tabs or

How to mount an optical drive in Linux

How to mount the optical drive Linux Mount method of mount the optical drive command line code # mkdir/mnt/cdrom // create a directory for mounting the optical drive # mount-tiso9660/dev/cdrom/mnt/cdrom/mount the optical drive it must be noted that,

Uninstalling ubuntu with winXp and ubuntu

WinXp + ubuntu unmount ubuntu because the startup item after xp and ubuntu are installed is started by grub, if you directly format ubuntu, xp cannot be started. You can choose to repair xpMBR and then delete the linux partition. Step 1: repair MBR

Introduction to Mtr (Mytraceroute)

Introduction to Mtr (Mytraceroute) usage: mtr [-hvrctglspni46] [-- help] [-- version] [-- report] [-- report-cyclesCOUNT] [-- curses] [-- gtk] [-- raw] [-- split] [-- no-dns] [-- addressinterface] Mtr (My traceroute) usage: mtr [-hvrctglspni46] [--

Centos6.3 installation problem summary

Centos6.3 installation problem summary 1. after the USB flash drive is started, it will be stuck in the following interface: Pressthe & lt; Enter & gt; keytobegintheinstallationprocess. cause: syslinux \ syslinux under the root directory of the USB

E: unable to obtain the lock/var/lib/dpkg/lock-open ??? Solution

E: unable to obtain the lock/var/lib/dpkg/lock-open ??? Solve ERROR: E: unable to obtain lock/var/lib/dpkg/lock-open (11: Resource temporarily unavailable) E: unable to lock the Management Directory (/var/lib/dpkg/). Is there any other process

Install the lamp environment in ubuntu12.04

Ubuntu12.04 install lamp environment 1) install LAMP & gt; sudoapt-getinstallapache2mysql-servermysql-clientphp5php5-gdphp5-mysql to configure the MYSQL-SERVER password. 1.1 After the installation is complete, configure APACHE... install lamp

Steps for deleting a vi Section

Step: Delete a vi Section delete a section is a common operation for editing and analyzing lengthy configuration files or log files. Briefly describe the key points for deleting the vi section. The vi overview citation does not list the last row

Total Pages: 2732 1 .... 2163 2164 2165 2166 2167 .... 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.