First write the backup script (copy of the command)#bash//finance/tomcat8-finance/-czf/finance/webapp_backup/**.finance.web. ' Date + '%y%m%d-%h%m% S '. tar.gz liyedai.finance.webThe backed-up files are named at the current time.Scripts must be
Background: Every language will have an introductory HelloWorldContent: Read the basic knowledge of network programming, know that the original network programming also has a little practiceOverview: Echo,chat,proxyThere are specialized exercises on
1. Linux User base
User
Related documents
View logged-on users
Add user
Modify user Information
Delete User
Group
2. Linux Permissions mechanism
Permissions
UGO
Modify
I. OverviewThe wildcards regular of the Linux wildcard is not the same, so the meaning of the representation is also very different. Wildcard characters are typically used for user command-line bash environments, while Linux regular expressions are
Linux system Boot ProcessThe boot process for Linux is not as complex as you might think, and the process can be divided into 5 phases:
Boot of the kernel.
Run init.
System initialization.
Set up the terminal.
The user logs
PS command: View StaticThe process statistics informationP s : will show only the processes that are open in the current user session without any parameters 、P s aux : All process information will be displayed as a simple list Comments:U ser: The
Linux Basic command format:-rw- r-- r--- file Type (-: File D: Directory L: Soft link file) (Block device file, character device file, socket file and pipe file)rw- : U owner. r-- : G belongs to group r--: o other person. R: Read x: Write x:
Linux compiler install Nginx, configure self-startup scriptThis article to the students to introduce a Linux compiler installation Nginx, configure the Self-startup script tutorial, I hope you need to know a friend can learn to learn OH.In the
Linux can be set to login before and after the welcome information, although there is no technical content, but it is very useful a small trick. The ability to implement a login message allows you to modify 3 files.1,/etc/issue Local login display
1, SWP partition: Replace memory with SWP partition when memory is insufficient2, language environment Check Locale–a: can understand what language the system supports3, install the software:Apt-cache Search (software): Searching softwareApt-cache
1. Using this method is less efficient and is not aware of possible errorsFind. -name "*.pc" |xargs wc-lView total is not the correct value directly.Reason:There is a problem in this way, if the total number of PCs to millions of, will be
1 displays all files or directories that start with 1, end with a lowercase letter, and have at least one number in the middle of the/var directory ls-d/var/l*[0-9]*[[:lower:]] 2 displays files or directories that start with any digit in the/etc
Study Note one: Compress February 5, 2015 10:23 compress commandThe zip file extension is mostly *.tar,*. tar.gz,*.tgz,*.gz,*. Z,*.bz2 Common compression commands gzip with bzip2, where bzip2 compression is better than gziptar can be
Useradd command for creating user accountsUseradd can be used to create user accounts. After the account is built, then use passwd to set the password of the account. You can delete an account by using Userdel. The account number created by using
One, Linux and Windows inter-pass files
There are two ways that I can learn Linux and Windows to pass files.
yum install -y lrzszEnter SZ + fileYou can transfer your Linux files to WindowsRZ can choose to transfer Windows files to
Add a swap partition file in linux and a swap partition in linux
To add a swap partition file in inux, follow these steps:
1. Check the current swap (use free-h, cat/proc/swaps or swapon-s ):
[root@compute ~]# free -h total used
Linux General linked list instances and linuxlist instancesLinux/list. h
The linked list used in the Linux kernel is reusable without repeated wheel creation. it is easy to think of a linked list using the following method: struct list {strucu list
3 time in linux atime; mtime; ctime introduction, atimemtime
The stat command can view detailed information about the file.
Atime indicates the last access time of the file (change cat, head, more, less, tail when viewing the command in the file)
Install the standalone spark tutorial in linux (not necessarily hadoop), sparkhadoop
Big Data continues to heat up and is not familiar with several big data components. At the very least, you need to talk about hadoop, hdfs, mapreduce, yarn, kafka,
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