/binBin is the abbreviation for binary. This directory inherits the structure of the UNIX system and stores the commands most often used by the user. such as CP, LS, cat, and so on./bootHere are some of the core files used when starting
-----------Crontab Scheduled Tasks----------------------Check if the Crontab tool is installed crontab-l Check if the crontab service is starting services Crond status writes the current time to Log.txt per minute on the log file crontab-e*/1* * * *
modification and login of SSH port under Linuxfirst modify the configuration fileVi/etc/ssh/sshd_configFind the #port 221 segment, here is the identity by default using 22 port, add the following line:Port 50000and then save the exit1. Port
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
1. Applications are composed of code snippets, data segments, BSS segments, and heap space, stack space.2. Layout method:(1) Code snippets at the lowest address, usually starting from 0x8048000, this is the virtual address, every application is like
We often need to debug our own dynamic library, but cannot trace to the library function inside, according to the following method can solve this problem.1, gcc-c-fpic src.c -g-rdynamic2, Gcc-shared-o libtest.so SRC.OIn this way, other projects can
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-
Ln-s source target Establish symbolic linkHistory 5 shows the 5 most recently used commands!5 perform a command with a history number of 5Date Mmddhhmmccyy. SS [Day and Day of the month are divided annually. seconds seconds]Cal 4 2015 View calendar
Linux Process View and management ( 2 )HtopInteractive commands:u: FilterS: a system call initiated by a process that tracks the selectionL: Show files opened by the selected processT: show the number of levels of a processA: of the Set process CPU (
Today we introduce the use of the Htop tool, which is a useful tool to see the system process, CPU utilization, memory usage and so on. For our ops, it can be used to quickly locate which process is causing the system to clog up, which processes
A linux system poisoning recordOn the company's linux server, we found that the cpu load was too high. Use top to see the abnormal process: ijcfwyjoqkThe parent process is init.Run: ps-l 10854. The cmd column is displayed as uptime.Run: whereis
Vim plug-in Manager Vundle and vimvundle
I. Introduction
Vundle (Vim bundle) is a Vim plug-in manager. It integrates git operations. All you need to do is to find the desired plug-in name on GitHub. vundle can be used for installation, update, and
Spf13-vim installation and use, spf13-vim Installation and Use
I. Introduction
The spf13-vim is a release of Vim plug-ins and configurations, including a set of carefully selected Vim plug-ins, using Vundle for plug-in management, and can be
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
Usage of sed Parameters
Use sed to copy/etc/passwd to/root/test.txt and print all rows with sed.Print 3 to 10 lines of test.txtPrint the row test.txt contains 'root'Delete 15 rows of test.txt and all subsequent rowsDelete the line containing 'bash
Linux Command (use of-a,-o, not in find)
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 that
Linux-Common commands (4) compression and decompression commands
Compressed and decompressed command: gzip
Command name: gzip
Command: GNU zip
Command path strength:/bin/gzip
Execution permission: All Users
Function Description: compress a
As a DBA, you must learn 11 basic Linux commands that will not die
Most databases run on Linux and UNIX platforms. As the computing power of the X86 platform approaches or even exceeds that of minicomputers, and with the tide of IOE removal, more
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