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

Install tomcat as a system service

Tomcat is installed as a system service: cd/etc/init. dvitomcatBash code #! /Bin/bash # description: TomcatStartStopRestart # processname: tomcat # chkconfig: 2342080... tomcat is installed as a system service. tomcat is installed as a system

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...

The documentviewer text browser cannot be closed

The linuxdocumentviewer text browser cannot be closed. Today, the documentviewer text browser of the ubuntu system is used to view PDF files. at the same time, the terminal is updating the software source to make the documentviewer the most

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

Extended file systems under hp-unix11.31 systems (online and offline)

Before expanding a file system (online and offline) under a hp-unix11.31 system, first check the current file system capacity: dev/vg01/lvapp14336213135477278739017295 %/oradata before expansion: 14w.m to check whether the corresponding vg is idle...

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 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.

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

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

How does ubuntuVmware access the graphic interface?

How does ubuntuVmware access the graphic interface? enter startx directly and check whether or not your running of the WTI. if not, run sudo/etc/init. d/gdmstart all of the above prerequisites are that you have installed the graphics package and

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

Ubuntu12.04 use notes

Ubuntu12.04 use the note sudoapt-getupdatesudoapt-getinstallxxxx to call up the terminal: 1, ctrl + alt + t. 2, dash search: gnome-terminal3, user file system directory ctrl + f search: gnome-terminal display desktop shortcut: win + ctrl + d cut...

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

Nginx signal control command

Nginx signal control command signal function sbin/nginx-sstopTERM, INT fast close sbin/nginx-squitQUIT easy close sbin/nginx-sreloadHUP reload configuration file sbin/nginx-sreopenUSR1 re-open log file more... nginx signal control command signal

Use tcptump and wireshark to capture packets and view network packets

Tcptump and wireshark work together with packet capture to check the network package. some time ago, they have been debugging the MMS program of the telecom isag, causing many problems. Therefore, you need to capture packets and check the problem

Script: make sftp look like ftp

Script: make sftp look like ftp. the purpose of this script is to make the sftp command look exactly the same as ftp at startup. Is to enter the user, remote address and other content. 01 #! /Bin/sh0203 # mysftp. sh --

Total Pages: 2732 1 .... 2081 2082 2083 2084 2085 .... 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.