Learn a few days under the Linux FTP and SSH construction and use, so record. The primary purpose of learning FTP and SSH is to connect to a remote host and file transfer. No more nonsense, just talk!FTP server 1. Environment constructionMy system
Calculates the MD5 for a file with the extension. ASSET,.MANIFEST,.WEM,.BNK under the specified directory and summarizes it into the specified file.MD5 file Content format: file name, MD5Similar:AUDIO_KNIVES_SKILL_1_43_9E69E797.WEM,BC87EC6BCE97E93824
1. InstallationYum install Svnserver, for the source code installation is more complex, it is recommended that Yum to install itYum-y Install SubversionI executed this command, did not install successfully, Yum Search subversion did not, all
First, the problem introduced1. header Files and librariesWhen we are in a PC host Linux environment (such as Ubuntu), write a Linux application and then use GCC to compile. The header file is written at the beginning of the source code because we
I. Buffer and the role of the cachebuffer: Something in memory that has not yet been written to the disk.Role: In order to solve the CPU to the disk storage something when the speed difference, will accumulate a large wave of something again to disk
1. Using the cat command to merge files vertically1) Master the vertical merging of files using the cat command:A) For example: Use the cat command to vertically merge the three files of Baby.age, baby.kg, and baby.sex into a baby file:Cat Baby.age
Manage Service CommandsIn RHEL7, the operation of the service command is not the same as CENTOS7 and Rhel6, RHEL6 uses the service, Chkconfig, and so on, while the RHEL7 command is systemctl.650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M00
Compile the. A library file used by LinuxThe first is the source file that needs to be compiled into. Ahello.h :#ifndef __include_hello_h__#define __include_hello_h__void HELLO (const char *name); #endif//End __include_hello_h__hello.c#include
Create directory under folder: My, new file in my directory 123.txtmkdir my Touch my/123. txtTo establish a soft connection:Ln my haha-sRM-RF delete hahaRM -123. txt still existsRM-RF Delete haha/rm -rf haha/#haha, my is still there, my is
When Linux is installed through VMware, the Linux system needs to be online or remotely operated via SSH, so network configuration is required, there are three modes: 1. Bridging modeThis way to share the host's real network card, you need to set
The system saved the three time, respectively accesstime ( access time ) , Modify Time (modification time) and Change Times ( status Time ) . An explanation given in the official documentation:St_atimetime when file Datawas last accessed. Changed by
Here's the advice on learning Linux .1. Don't be a "missionary"A lot of people in the discussion area constantly led to the "Linux vs. Windows" discussion, and even the heated debate, it is not necessary. This argument is a waste of time without any
1. Find usage" Text.txt "/tmp/text.txt/root/text.txt#找到文件后, give it to the pipe to delete[Email protected] tmp]# Find/-type f-name "Text.txt" | Xargs rm-fInterview title: Delete all files in a directory, but keep a specified file (keep File10)[email
Mount the Mirror[[email protected] ~]# cd/mnt[[email protected] mnt]# mkdir/mnt/cdrom[[email protected] mnt]# mount-t Iso9660/dev/cdro M/mnt/cdromCopy the files in the mirror to the local[Email protected] ~]# mkdir/opt/localbase[[email protected] ~]#
1,man help Eg:man LS view command assistance2,ls--help Help for easy access3,help CD view Linux built-in commandsFile and Directory Operations commands4,ls view current directory and specified directory ll ll-a5,CD Switching directories6,pwd View
The array definition in the shell:You can define an array as a whole:Array_name= (value0 value1 value2 value3 ...)Or:Array_name= (Value0value1value2value3 ...)At this point the array's subscript defaults to 0, and the individual components of the
1 Thread-to-process comparisonHere is a detailed description of the noteshttp://blog.csdn.net/laviolette/article/details/515069532 Creating a thread functionint Pthread_create (pthread_t *thread, const pthread_attr_t *attr,void * (*start_routine)
Introduction to the programming language and C Language
1. What is a program?
Command the computer to execute the action we want it to do, and execute a group of commands in sequence
2. What is the role of the program?
Command computer work
3.
Xargs command details, linuxxargs command details
The xargs Command Re-formats the received data and provides it as a parameter to other commands. The following describes the xargs command usage techniques.
1. Convert multiple rows into single rows:
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