Linux compression/decompression/packaging commands

Compression: TAR-ZCVF path + filename Original file path + file nameCompression: TAR-JCVF path + filename Original file path + file nameDecompression: TAR-ZXVF path + filename Decompression locationDecompression: TAR-JXVF path + filename

The interception of strings under Linux

First method: Use the #$% between three keys on the keyboard${varible##*string} The string after the last string is truncated from left to right${varible#*string} A string after the first string is truncated from left to right${varible%%string*} to

One of the Linux system planning tasks: AT command

There are two ways to work with Linux system tasks:1. One is a specific point in the future and is no longer executed when the task is completed. For example, what time of day next week reminds you to go out for a visa.2. One is routine, which is

Three ways to set environment variables under Linux

1, under the Windows system, many software installations need to configure environment variables, such as installing the JDK, if you do not configure environment variables, run the JAVAC command in a directory other than the software installation,

Linux defines environment variables

The current terminal is valid:Export Path=/home/roger/shell: $PATHAll terminals are valid:[Email protected] ~]# vim/etc/profileexport Path=/home/roger/shell: $PATH [[email protected] ~]# Source/etc/profileThe current user is valid:[Email protected] ~

The meaning of digital permissions for Linux

Three groups each have three permissions R W x each permission is marked with binary 0 and 1 for 1 that has this permission 0 indicates no permissionsOwer Group OtherR W x R W x r W xEach group can be set to the following permissions:All permissions

Linux commands (1)-grep

1. grepfunction : Find the string that matches the condition in the file.syntax :grep [-abcefghhillnqrsvvwxy][-a][-B][-C][-d ][-e][-f][--help][template style [file or directory ...]Supplemental Note : Thegrep directive is used to find the file

Linux commands (2)-MV

Mvfunction : Can be used to move files or rename files.format : MV [option] source file or directory destination file or directorydescription : The MV command renames the file or moves it to a new directory. When the second parameter type is a file ,

Common compression packaging commands for Linux systems

Common compression commands for Linux systems1 Common compressed file extensions *.tar, *.tar.gz, *.tgz, *.gz, *. Z, *.bz2*. Z Compress program compressed files, obsolete;*.gz gzip program compressed files;*.BZ2 bzip2 program compressed files;*.tar

Enterprise-Class Linux security management

1 . Operating conditions: (1) a virtual machine with Cent OS Linux operating system2 . Background: An enterprise has a server with the following information: (1There is administrator root on the server, the password is root, and there are other

Linux Common Commands

View ServicesService--status-allService Iptables StatusService Iptables StartService Iptables StopSoft linksLn-s A B is the source file B is the link nameSome file operationsScp/usr/1.txt [email protected]:/.home/remotely copy a single fileScp-r/usr/

Linux command line shortcut keys

CTRL + A: Moves the cursor to the beginning of the line.Ctrl+e: Moves the cursor to the end of the line.ctrl+l: Clears the terminal. This shortcut works the same as typing clear at the command line.Ctrl+d: Delete a character after the cursor;ctrl+u:

The Crond command in Linux

Crond is a command that Linux uses to execute programs on a regular basis. This task dispatch command is started by default when the operating system is installed. The Crond command periodically checks to see if there is any work to be done and the

1. Linux Directory

Linux system downloadhttp://vault.centos.org/http://archive.kernel.org/centos-vault/5.10/isos/x86_64/http://mirror.symnds.com/distributions/CentOS-vault/5.10/isos/x86_64/#下载系统URLRPM Package

Linux Security Applications 1

Prevent normal users from shutting downConsole helper Mechanism/usr/bin/consolehelperConfiguration directory/etc/security/console.apps/Cd/etc/security/console.appsMkdir-m lockedMV Poweroff LockedClean up non-login account/sbin/nologin Prohibit login

Automatic configuration of the tab key in Python

Automatic configuration of the tab key in Python When a beginner learns Python, how can he not have the tab key completion function? I feel like it is a nightmare. For cainiao like us, I just got started with python and didn't know everything,

How to enter rescue mode when CentOS cannot be started

How to enter rescue mode when CentOS cannot be started When CentOS cannot be started, how to enter the rescue mode, prepare a system CD, and put it into the optical drive, set BIOS to the first startup of the optical drive, and restart the server?

Ten tricks make Ubuntu 16.04 more handy

Ten tricks make Ubuntu 16.04 more handy Ubuntu 16.04 is a long-term supported version (LTS), which is a new version that Canonical promises to release for five years. That is to say, you can have this version run on your computer for five years! In

Memcache Memory Management Mechanism

Memcache Memory Management Mechanism Memcache uses the memory allocation mechanism of Slab Allocator: according to the pre-defined size, the allocated memory is divided into blocks of a specific length to completely solve the problem of memory

How to hide the version number of Apache, Nginx, and PHP

How to hide the version number of Apache, Nginx, and PHP Recently, it was reported that Apache, Nginx, and PHP versions were exposed due to vulnerabilities. The method is as follows: Apache Add the following two lines to the http. conf file. The

Total Pages: 5467 1 .... 3093 3094 3095 3096 3097 .... 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.