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
Under virtual machine, switch the image interface and the command interface shortcut:Switch to Command box: CTRL+ALT+FN+F2 (F2~f6 all Can)Switch to the graphical interface box: CTRL+ALT+FN+F7File backup and file compression related commands1. The
The Linux partition differs from the Windows,linux under the hard drive device name (IDE hard disk is HDX (x is from a-d) because the IDE hard disk is up to four, the SCSI,SATA,USB hard disk is SDX (x is a-Z), the hard disk primary partition is up
linux:redhat6.5 when you use Yum to prompt for registration problem Resolution one, the problemThe newly installed redhat6.5. After installation, log in to the system, using Yum. Tips:This system isn't registered to Red Hat Subscription Management.
The SCP is secure copy, a command that is used to remotely copy files under Linux.Windows to Linux:Note: the path to the file in Windows is separated by ' \ ', while in Linux it is separated by '/'.Windows:Linux:When you open git bash under windows
First, the default encoding GBK under Windows. CPP files written under Windows are GBK encoded by default. If there is a constant string in the code, the encoding format of the string is consistent with the encoding format of the code file.Second,
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:
The command MV for renaming files or folders under Linux can be renamed, and files or folders can be moved.Example: Renaming directory A to BMV A BExample: Move the/a directory to/b and rename to Cmv/a/b/cLinux copies all files in the specified
/bin/: The directory where the system commands are stored, which can be performed by both ordinary and super users. However, commands placed under/bin can also be executed in single-user mode./sbin/: Save the commands associated with the system
Manage users and commands for setting up permissions1.chmod: Change Permissions2.chown: Change file Owner3.charp: Change file OwnerThese three commands come together to learnChange the chmod of permissionsThere are three types of permissions: R-Read
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
will beWindowsin theF:\sadocfolder Right click Set as shared directory, share user asAdministrator# yum-y Install cifs-utils # installing the Mount.cifs package# mkdir/windows # Create mount directory windows# mount.cifs//10.0.0.1/sadoc/windows/-o
Configure nodejs in linux, run vue tutorial, nodejsvue
1. Download nodejs (linux64) vuedemo
2. Put nodejs somewhere for decompression, for example, put it under/usr/local/nodejs? /Usr/local/nodejs/node-v8.9.3-linux-x64
3. go to the decompressed
3 minutes to learn the basic usage of git commands, 3 minutes to learn git commands
Preface nonsense
Some time ago, I took a driver's license and registered for more than a year before I got on the bus to study subject 2. On the 5th, I took the test.
Linux crontab: scheduled task execution command explanation, linuxcrontab
In LINUX, The cron Daemon Processes tasks in a periodic manner [ps-ef | grep cron]. Cron reads one or more configuration files that contain the command line and the call time.
The role and implementation principle of RPM-GPG-KEY in package installation, rpm-gpg-key principle
In Linux, GPG is mainly used to sign officially released packages.
GPG is divided into public and private keys.
Public Key: A shared key. It is
Linux soft links, hard links, and linux links
Detailed description of soft links and hard links in linux
Soft link: in general, it is equivalent to a shortcut in windows. We recommend that you use an absolute path to create a soft link. If you
In linux, the find command uses instances and the linuxfind command instances.
In linux, the following search commands are available: which whereis locate find. The first three commands can be used to understand them.
Find command
Find [directory
Linux File Attribute users, groups, permissions, linux Permissions
Users in Linux are divided into roles, and their roles are identified by UID and GID (that is, the system recognizes the UID, GID, rather than the user name ), a uid is unique (the
LINUX vi editor command and LINUXvi editor command
Note: This article source https://www.cnblogs.com/jiayongji/p/5771444.html
(1) What is vi/vim?In Linux, almost all configuration files exist in plain text, and the vi editor is available in all
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