---restore content starts---1. Redirect: Copy the contents of one file to another file' > '--On behalf of redirectionEg: write the contents of file A into the B fileCat A.txt > B.txtecho 111 > B.txt---REDIRECT 111 to b.txt---will overwrite the
Shell> fdisk/dev/XVDB # # # Select Disk command (M forhelp): M # # # # # # # helps command action a toggle a bootable flag B edit BSD Disklabel c Toggle the DOS compatibility flag D Delete a partition L list known partition types m print this menu
This blog content will not be a lot, mainly to the driver for a bit of optimization, each time to cat/proc/devices to see what the main device number can be too troublesome, Linux is so hot, obviously we do not have to do this every time.In fact,
Count the number of files in a folderLs-l |grep "^-" |wc-lCount the number of directories under a folderLs-l |grep "^d" |wc-lThe number of files under the statistics folder, including subfoldersLs-lr|grep "^-" |wc-lAll txt files in the
The following Linux commands are commonly used in my daily work:
sudo su-: Switch to temporary root privileges;
chmod +x *: Used to change the access rights of Linux system files or directories;
Ps-ef |grep dubbo-account: View process;
The following Linux commands are commonly used in my daily work:
sudo su-: Switch to temporary root privileges;
chmod +x *: Used to change the access rights of Linux system files or directories;
Ps-ef |grep dubbo-account: View process;
This blog content will not be a lot, mainly to the driver for a bit of optimization, each time to cat/proc/devices to see what the main device number can be too troublesome, Linux is so hot, obviously we do not have to do this every time.In fact,
Linux Package Management1. Package classification1) Source PackageAdvantages:· Open source, you can read and modify the original code· Software features can be customized· Software is compiled and installed, can be more suitable for your system,
/etc/inittab detailedAfter the BIOS self-test is completed, the BIOS will start the computer's operating system based on the user's set boot order, which is usually a hard drive.That is, into the MBR area of the hard disk (boot sector), the region
First, check the time:[[Email protected] ~]# DateSaturday, November 19, 2016 12:46:37 CSTSecond, modify the time, modify the system time[root@localhost ~]# date 111912472016.30 Saturday, November 19, 2016 12:47:30 CSTThird, write the current system
Because today the company matters more, today basic no self-study. Learn about the type command: mainly commands that display command types. Linux commands are divided into two types: built-in commands and external commands. Built-in commands for
Network card bond is to realize the redundancy, bandwidth expansion and load balance of the local NIC by binding the multi-net cards into a logical network card. In the application deployment is a commonly used technology, our company basic all the
Set the system environment variable 1.1 Open the terminal and type: sudo gedit/etc/environment. 2.2 Enter the user password. The password entered is not visible at this time. 3.3, at the end of path= "..." Add:/opt/embedsky/4.3.3/bin
Interrupt mode under Linux Read key driver//include external interrupt hibernate join poll mechanism//Use asynchronous notification method //driver---> App receive (via Kill_fasync ()// To enable the device to support the asynchronous notification
1. What is FTP2. Install FTPYum Install Vsftpd-ySystemctl Start VSFTPDSystemctl Stop FirewalldSystemctl Enable VSFTPDSetenforce 0LFTP IP can be logged in and displayed, indicating that the installation method succeeds3.VSFTPD File
Configuration of the Linux network environmentIn the Linux server system we are all using a text terminal to operate, so the connection network is not as simple as the Windows platform. We need to modify the relevant file configuration to enable the
1 Click the VMware shortcut, right-click to open the file, double-tap Vmnetcfg.exe, VMnet1 host-only, modify subnet IP settings network segment: 192.168.1.0 Subnet mask: 255.255.255.0, apply, OKBack to Windows--open network and Sharing Center,
How to build a git server and a git Server
I. Preface
More and more companies are using git for version control, but git is open-source by default. If you are private, you need to pay for it. If you do not want to pay for it, you can build a git
Linux introduction and Common commands use 3 -- vi Editor, linux3 -- vi1. Access the vi command
Vi filename: open or create a file, and place the cursor at the beginning of the line [new file]Vi + n filename: open the file and place the cursor at
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