command Aliases and command calls :
Alias alias= ' COMMAND ' when referencing with options need to quote only valid for current bash
Unalias alias Cancellation
\command: Use its own commands, not the commands defined in the
CP:CP src[...] Dst
SRC is a file
SRC is the directory prompt
MV:MV src[...] Dst
RM:RM [file| DIR]
Nano:nano FILENAME
WC:WC [option] ... [FILE] ...
-C: Number of bytes in the statistics file
-L:
Linux commands a lot, but usually use more often so many, here to tidy up what I think commonly used, or say practical commands."1" Appetizer: The difference between extracting file formats:*.tar Decompression with TAR–XVF*.gz extract with gzip-d or
I. Installation of VSFTPD and related dependency packages# VSFTPD installation program Yum Install vsftpd # VSFTPD Virtual login account must be dependent on package yum install pam* db4*After installation, VSFTPD defaults to the/ETC/VSFTPD
After bootloader copies the Linux kernel image to RAM, you can start the Linux kernel with the following example code:Call_linux (0, Machine_type, kernel_params_base).Where Machine_tpye is the processor type detected by bootloader,
To enable the sharing of resources between Windows hosts and Linux servers, the Linux operating system provides samba services, and the Samba service bridges two different operating systems, enabling communication between Linux systems and Windows
Dns:domain Name SserviceDomain name resolution. Software-based bind. is a distributed database.Fqdn:full qualifide Domain name is fully qualified.Domain structure:. Root domainTLD (Top level domain):Organizational domain:. com. org. Net. ccCountry
Add the following routing entry in the systemRoute add-net 192.168.10.0/24 GW 172.16.15.254Route add-net 192.168.177.0/24 GW 172.16.15.254Add a permanent static route (method one):[Email protected] ~]# vi/etc/sysconfig/static-routesAny net 192.168.10
command to enter VI VI FileName: Opens or creates a new file and places the cursor at the beginning of the firstVI +n FileName: Opens the file and places the cursor at the beginning of nthVI + FileName: Opens the file and places the cursor at the
The Arp:arp cache contains one or more tables that are used to store IP addresses and their resolved MAC addressesExtract IP information and mac information for all BOUND0Arp-n-I. BOND0 | awk ' $5== ' bond0 ' {print $1,$3} 'SED: Used to pass text
Work requires that a port of a server with an external IP address be mapped to the same port on the server of an intranet IP.First think of using NAT, the command is as followsecho "1" >/proc/sys/net/ipv4/ip_forwardiptables-t nat-i prerouting-d
Batch.sh content:Su-C "Using administrator privilegesService Tomcat6 stop;Stop TOMCA6T Servicemkdir/home/jnfwzftp/bushubackup/' Date +%y%m%d ';Create a backup directory with today's dateCp-r/var/lib/mysql/jishengwei/home/jnfwzftp/bushubackup/' Date +
In Linux, the kernel print statement PRINTK () outputs the kernel information to the kernel information buffer. The kernel information buffer is a ringBuffer, so if you insert too much information, the previous information is flushed out.PRINTK ()
1. Automatically run the program when booting upAfter Linux is loaded, it initializes hardware and device drivers and then runs the first process init. Init continues the boot process based on the configuration file, starting other processes.
Tomcat installation in Linux and Linuxtomcat Installation
--Download apache-tomcat-6.0.33.zip
-- Upload the file to the/www directory to get:/www/tomcat-weiduan
-- Decompress and rename tomcat-weiduan.
Cd/www/tomcat-weiduan/bin/
Examples of four common lvcreate commandsExamples of four common lvcreate commands
Logical volume Management (LVM) is a widely used technology with extremely flexible disk management solutions. It mainly includes three basic commands:
Create a
LinSSID: A graphical WI-Fi scanner in LinuxIntroduction
As you may know, LinSSID is a graphical software that can be used to find available wireless networks. It is fully open-source, written in C ++, using Linux wireless tools, Qt5, Qwt6.1, it
How to use a Conky weather plug-in similar to a smartphone in Linux
Smart phones all have some small Weather plug-ins that smoothly integrate the appearance of mobile phones. Thanks to the Flair Weather Conky, you can have the same weather
Linuxshell commands and execution scripts
Cut all subfolders in the current folder to the current folder
For dir in $ (ls)Do# Echo $ dirIf [-d $ dir-a "$ (ls-A $ dir)"]; thenMv./$ dir /*.FiDoneNote:
1. There must be spaces between each component
Restart Tomcat in Linux
In Linux, restart Tomcat and run the command!
First, go to the bin directory under Tomcat
cd /usr/local/tomcat/bin
Use Tomcat to close the command
./shutdown.sh
Check whether Tomcat is disabled
ps -ef|grep java
If the
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