ZipWe can compress a directory with the following commands:# zip-r Archive_name.zip directory_to_compressThe following is if you unzip a zip document:# Unzip Archive_name.zipTARTar is a very extensive document packaging format used in Linux. The
Open TerminalCd/java/tomcat#执行Bin/startup.sh #启动tomcatBin/shutdown.sh #停止tomcatTail-f Logs/catalina.out #看tomcat的控制台输出;#看是否已经有tomcat在运行了Ps-ef |grep Tomcat#如果有, use kill;Kill-9 pid #pid for the corresponding process numberFor example Pe-ef |grep
one of the Linux interrupt (interrupt) Subsystems: Interrupt System Fundamentals Linux Interrupt (interrupt) Subsystem II: Arch-related hardware encapsulation layer Linux Interrupt (interrupt) subsystem Three: medium-stop control processing layer
In the company's Linux server found the CPU load high with top to see the abnormal process: ijcfwyjoqkParent process is initExecution: ps-l 10854 shows the cmd column uptimeExecution: Whereis ijcfwyjoqk shown under:/usr/bin and found in/ETC/INIT.D
Linux's IP commands are similar to ifconfig , but the former is more powerful and intended to replace the latter. With the IP command, you can easily perform some network administration tasks with just one command. Ifconfig is a command that has
First, IntroductionGNU Screen is a free software developed by the GNU Program for command-line terminal switching. The software allows the user to connect multiple local or remote command lines simultaneously and freely switch between them.GNU
1. View Existing configurationsIptables-l-N2. Clear the original rules.Iptables-f to clear all rule chains in the preset table filterIptables-x Clear Preset table rules in user-defined chains in filter3. Set preset rulesiptables-p INPUT DROPiptables-
Advanced Linux commands and linux commandsEstablish a symbolic link for the ln-s source objectHistory 5 displays the five most recently used commands! 5. execute commands numbered 5Date MMDDHHMMCCYY. SS [month, month, day, hour, minute, year, year,
Linux Command (use of-a,-o, not in find),-a-o
Sudo find/etc-size + 1 M-exec echo {}\; # find and display files of a size greater than 1 MB in the/etc directory. The files are separated by line breaks. Sudo find/etc-size + 1 M | xargs echo # files
Git installation and configuration (network proxy settings)
Install gitSudo apt-get install git
View git configurationsGit config -- listOr ~ /Gedit. gitconfig
Git sets proxy (usually used in the company's internal network. If the Internet access is
Use lsof to restore accidentally deleted log files or databases
Find out who is using the file system
When detaching a file system, if the file system contains any open files, the operation usually fails. Then, you can use lsof to find out which
How to upgrade to Ubuntu 15.04 (Beta)
Ubuntu 15.04 Vivid Vervet will be officially released on April 9, April 23, 2015. This version uses the Kernel 3.19.3 by default. Many may want to use Kernel 4.0 in the new version, because Linux Kernel 4.0
Linux Regular Expressions grep and egrep
Regular Expression: it refers to a single string used to describe or match a series of strings that conform to a certain syntax rule. In many text editors or other tools, regular expressions are usually used
Advanced Linux commandsEstablish a symbolic link for the ln-s source objectHistory 5 displays the five most recently used commands! 5. execute commands numbered 5Date MMDDHHMMCCYY. SS [month, month, day, hour, minute, year, year, second, second]Cal 4
Linux text editor Vim/Vi
Ii. Text Editor Vim/Vi (later called the upgraded version of Vi) Vim/vi is a powerful full-screen text editor and the most common text editor on linux/unix, it is used to create, edit, and display text files. Vim/vi has no
Linuxshell application skills
-------------------------------------- Shell application tips ------------------------------------------ one command completion: tab key completion shell command 2: clear or ctrl + l clear screen ctrl + u clear all the
Analysis of linux boot process
Iii. linux boot process parsing date the current system hardware clock hwclock firmware (between hardware and software) clock ----> the general system clock and firmware clock are synchronized hwclock -- hctosys
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