Compress a folder (folder packaging) under Linux

Tar-zcvf/home/xahot.tar.gz/xahotTAR-ZCVF the directory to be packaged when the file name full path is generated after packagingExample: Package the/xahot folder into a/home/xahot.tar.gz file.Zip compression method:Compresses the current folder Zip-r.

Linux Watch command-real-time monitoring of command run results

Linux Watch command-real-time monitoring of command run results Watch is a very useful command, like a name, watch can help you monitor the results of a command, save you to run manually over and over again. Usage:Immediately after the watch you

Introduction to Linux Kernel Engineering--process

Summary of process process schedulingLinux is a multi-process environment, not only user space can have multiple processes, and the kernel can also have kernel processes inside. The threads in the Linux kernel are no different from the process, so

Linux Network Programming _1

This article belongs to reprint, slightly changes, to facilitate learning.A Linux Network Programming--Introduction to network knowledgeLinux Network Programming--Introduction to network knowledgeClient and service sideOne of the biggest differences

Zabbix Client Installation and configuration (Linux)

Zabbix Source Installation Client# TAR-XVF zabbix-2.4. 6 . tar.gz # mv Zabbix-2.4. 6 zabbix# cd zabbix#. /configure--prefix=/usr/local/zabbix/--enable-agent# make# make installAdd Zabbix Users and Groups# groupadd Zabbix -G Zabbix-s/sbin/nologin

"Linux Command detailed" 2, file and directory operations management

2. File and directory Operations managementThis section focuses on how to use commands to manipulate files and directories under Linux, such as PWD, CDs, LS, and so on.2.1 pwd: Show working directory pathUse the PWD command to display the absolute

Directory management class commands for Linux commands: mkdir, rmdir, tree, DirName, basename

Directory management class commands for Linux commands: mkdir, rmdir, tree, DirName, basenamemkdir command: Create a new directorySyntax: mkdir [OPTION]/path/to/somewhereCommon parameter options:-P: Create parent Directory-V: Show creation

Linux Network Programming--File space mapping mmap function

/ * Use Mmap to operate the file * /#include #include #include #include /*mmap*/#include /*memset warning*/#include #define FILELENGTHintMainvoid){intFD =-1;/ * The string that will be written to the file * / Charbuf[]="Quick brown fox jumps over

20 Linux Command Interview quiz

Q: 1 How do I check the current operating level of a Linux server?A: The ' who-r ' and ' runlevel ' commands can be used to view the running level of the current Linux server.Q: 2 How do I see the default gateway for Linux?A: With the "Route-n" and "

Linux commands-Compression commands gzip bzip2

Compression in. gz formatGzip Source files#压缩为. GZ-formatted compressed file, the source file disappearsGzip-c original files > Compressed files (not recommended)#压缩为. gz format for compressed files, source files reservedExample: Gzip-c Cangls >

Linux--CHCP

MySQL in the console, insert data into a table in the database, insert the data in Chinese, the results always show error incorrect string ..., cannot be inserted successfullyGuessing is an inconsistent encoding format. Console encoding format can

Socket learning notes-get Domain name and IP (Linux)

Gethostbyname.c1#include 2#include 3#include 4#include 5#include 6#include 7 8 intMainintargcChar*argv[])9 {Ten inti; One structhostent*host; A if(ARGC! =2) - { -printf"Usage:%s \n", argv[0]); theExit1); - } - -Host =

Linux Learning Notes: System boot boot process

Linux system boot Boot processRecently found himself in just mastering a few more hard wounds: First, knowledge system fragments, such as Linux, this learning point that learning point, the result is not a system, string up; Second, the

Linux Command--df Command &du command

The DF command is used to view the disk usage of the Linux file system, and to see how much space is currently occupied by the disk and how much space is left.Several of the commonly used commands areCommand 1 DF The default display size is in

Linux Network card Driver Learning (vii) (MAC and IP)

The IP address is the service provider to you, the MAC address is the physical address of your network card.1. MAC AddressIn the OSI (Open System interconnection, open systems interconnect) 7-Layer Network Protocol (physical layer, Data link layer,

Linux LAN Driver Learning (eight) (forwarding data based on MAC address)

1. Build MAC Address TableSwitch technology must know the MAC address of the host to which each port is connected before forwarding the data, and build a MAC address table. When the switch receives a data frame from a port, it reads the destination

Linux changes the root password and forgets the root password

To change the root password:$ passwd root or sudo passwd root$password: (requires an old password)$new Password: (enter two times new password)What if I forget the root password? You do not need to reinstall to log in in single-player maintenance

Linux Fundamentals-Basic concepts and simple commands

Linux Fundamentals-Basic concepts and simple commandsBefore learning Linux, in order to better understand Linux and master Linux individuals think should have the condition:1. Computer introduction and hardware related knowledge.2. Establishment of

Linux upgrade python2.7, install Pip,setuptools,zlib

1, python2.7 and Pip in 192.168.0.65#ssh 192.168.0.65 Upgrade to python2.7 #cd/usr/local#wget https://www.python.org/ftp/python/2.7.10/Python-2.7.10.tgz     # tar ZXVF python-2.7.10.tgz# CD Python-2.7.10#

How do I convert a project under Linux to a project under Windows VS2010?

How do I convert a project under Linux to a project under Windows VS2010? Do not show delete repliesShow All repliesShow star replyShow score ReplyOnly show landlordCollection

Total Pages: 5467 1 .... 855 856 857 858 859 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.