Linux Basic Command Notes (iv)

Using the TAR Archive tool and the VI text editorgzip command, bzip2 commandPurpose: Make compressed files, unpack compressed filesCommon Command Options-9: Indicates a high compression ratio, which is used when creating a compressed package-D: Used

Positional parameter variables in Linux

Explain:The main is to pass the data to the script, the variable name cannot be customized, the variable function is fixed$n$10 represents the command itself, and $1-9 represents the accepted 第1-9个 parameter, which requires {} to be enclosed in {},

Common operations commands in Linux Linux

Introduction to Linux and Ubuntu InstallationCommon directivesSystem administration CommandsPackaging compression-related commandsShut down/Restart the machineLinux PipelinesLinux Package ManagementVim useUser and User group managementFile Rights

Environment variables in Linux

Explain:The main storage is data related to the operating environment of the system.Range:Code settings: The current shell and all child shells of the current shell are in effectConfig file: Effective in all shellsGrammar:Declaration

Conversion between common time and strings in Linux

In Linux, it is common to encounter time and string conversions, with two functions specifically corresponding conversions.1. Time-to-string function strftimeFunction prototypes: size_t strftime (char *s,size_t Maxsize,char *format,conststruct TM

[Linux] The Linux Command Line

Date: Displays the time and date of the current systemCal: Displays the calendar for the current monthDF: View the disk drive's current free spaceFree: Show available memoryExit: Close the terminal windowPWD: View current working directoryCD:

Linux Learning Record-grep-egrep-is being expressed

Grep-I ignores case--color Plus Color-V shows rows that are not matched to-O displays only the string that is matched toGrep-o ROOT/ETC/PASSWD | Wc-l find how many root strings there are-e Use extended regular expression egrep=grep-e-A # grep-a 2 ' ^

Common commands in Linux

There are a lot of commands in Linux, but people who have played Linux are never bothered by the fact that Linux commands are so many, we only need to master the common commands, we can find the man when we use it, and help you solve many problems.

The lsof of Linux commands

First, the basic introduction(1) The lsof command is used to view the files that you have opened, the process of opening the files, the ports that the process opened (TCP, UDP).(2) Retrieve/recover deleted files.Second, lsof GrammarLsof (optional)

Linux often uses commands-File Search command-File Search command find

Command name: FindCommand path:/bin/findSyntax: find "search scope" "Match criteria"Description of function: File searchDemo sampleFind/etc-name InitFind file init in folder/etc-iname does not distinguish between uppercase and lowercase* Represents

View Linux system load

Security code: There is no degree of loneliness is impossible to have inner peace.1. ConceptLoad information has 3 values, the first value represents the average load value of the system within 1 minutes , the second value represents the average

Paramiko module performs Linux under Nohup stuck problem.

When I was doing an automated deployment today, we found that the server was stuck with the Python Paramiko module pushing the command, not reflected. Into:My client side is executing a shell script that uses nohup to start a Python script (as well

Kill lui lei Dog---linux no:39 reverse proxy for Linux under Nginx

The reverse proxy diagram looks like this:From the visible, our server is actually divided into two, a dedicated to the source of PHP and other programs, and another is dedicated to store the image of the server, because the picture in server A does

Linux Important Directory detailed description

First-level directory:            /bin     Store system commands and tools, binary commands   (equivalent to C:\WINDOWS\system32)         /boot     contains boot boot files and grub        /dev     for Linux systems Store hardware device files and

A detailed description of the Hosts file under Linux

A detailed description of the Hosts file under Linux Host Name:Whether on the LAN or the Internet, each host has an IP address to differentiate between this host and its host, that is, the IP address is the host's number.Public network: The IP

Linux Build TFTP server

1. Apt Install xinetd apt Install tftp-hpa tftpd-hpawhere TFTPD-HPA is the server side, TFTP-HPA is the client (if the client does not need to be installed). 2.Configuring the/etc/xinetd.d/tftp filevim/etc/xinetd.d/tftpService tftp{Socket_type =

How to force kill process under Linux

General article:First, use PS to view the process as follows:$ ps-ef... smx 1822 1 0 11:38? 00:00:49 gnome-terminalsmx 1823 1822 0 11:38? 00:00:00 gnome-pty-helpersmx 1824 1822 0 11:38 pts/0 00:00:02 bashsmx 1827 1 4 11:38? 00:26:28/usr/lib/firefox-3

Startup items under Linux

fpm

/etc/profile This is also the startup script. And the priority is very high oh.The following are all online search(1) Edit File/etc/rc.localInput command: Vim/etc/rc.local will appear a text fragment similar to the following:#!/bin/sh## This script

Linux dual NIC Bindings

Taking mode=4 as an example1. Edit the Virtual network interface configuration file and specify the network card IPVi/etc/sysconfig/network-scripts/ifcfg-bond0[Email protected] root]# Cp/etc/sysconfig/network-scripts/ifcfg-eth0 ifcfg-bond02

Sorting interface--sort functions in the Linux kernel

The sort function in the Linux kernel is actually very much like what we call the Qsort function, so let's take a look at Qsort:the function prototype of Qsort isvoid Qsort (void*base,size_t num,size_t width,int (__cdecl*compare) (const void*,const

Total Pages: 5467 1 .... 2165 2166 2167 2168 2169 .... 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.