Linux Common commands

1. ls command: (list) List Directory contentsformat ls [parameter] [file or directory] -A displays all files, including hidden files, special files, and so on. -l Use a list of detailed formats, abbreviated LL-H friendly display

Deploying the Awstats Log Analysis system on Linux systems

Awstats is an open-source log analysis system developed in the Perl language that can be used not only to analyze the access logs of Apache Web servers, but also to analyze log information for services such as Samba Vsftpd IIS. Integrated Crond and

Linux Partition Management

The previous introduction of disk storage this time to implement how to manage the disk, how to partition, create file system and other administrative partition commands1. LSBLK list all currently mounted devices[[email protected] ~]#lsblk NAME

Linux rookie take-off road "VII" file merging, archiving, and compression

One, file merge operation1. Overlay symbols and append symbolsA) ">" means to overwrite the contents of the left file with the contents of the right file, and create this file if the right file does not exist.b) ">>" represents the contents of the

Linux find files and file contents

When using Linux, file lookups are often required. The commands you find are primarily find and grep. Two commands are of a district.  The Difference : (1) The Find command is based on the attributes of the file , such as file name, file size, owner,

Linux SSH alias Login

ssh

First, SSH alias login 1、切入到自己home目录下,ls -lhtra 可查看到.ssh隐藏目录 2、编辑.ssh/config Host test1 # 快捷登录host Hostname 192.168.1.86 #服务器地址 User test # 登录用户名 Port 22 # 登录端口 3、在终端输入 ssh test1 输入密码即可登录

06-linux Text Processing-grep

ssh

The grep command finds a character pattern in one or more files. If the pattern contains spaces, you must enclose it in quotation marks. grep Tom /etc/passwd grep will look in the file for/etc/passwd in Find mode Tom.

Linux Performance Check Common commands

# # # #消耗CPU最多的进程 [[email protected]~]#PSAux|Head-1;PSAux|grep-V pid|Sort-rn-k +3|Head# #拼接进程号 [[email protected]~]#PS-eo PID,%CPU--Sort=-%cpu |grep-V pid|grep-Vgrep|Head-Ten|awk '{print $}'|awkBegin{rs=eof}'{gsub (/\n/, ",");p rint "(" $ ")"}'(16143

Detecting IP address conflicts and resolving methods under Linux

Detecting IP address conflicts and resolving methods under LinuxProblem Description:A Linux system (IP:192.168.9.120) was installed on a physical machine A in the company's office network, and a JENKINS,REDMINE,SVN program was deployed on it.

Match the correct IP address in Linux

Tag: just regular match style sed resolve record result code complete1. Assuming that the IP address is canonical, there is no error in thesed -n "/[0-9]\{1,3\}.[ 0-9]\{1,3\}\. [0-9]\{1,3\}\. [0-9]\{1,3\}/p] testThere are obvious problems with this

Linux-----Disk Management

DFDF Command:View the file system space usage information.Use this command to see how much space the hard disk has been using, how much space is left, and to view all mounted devices (file systems) and mount points on the current disk.The results

The role of Linux directories and related files (confusing edition) for beginners

/etc/profile fileWhen a user logs on to a Linux system or uses the SU command to switch to another user, that is, the login shell starts with a guarantee that the startup script executed is/etc/profile??/etc/profile.dNow you know the effect is OK

Linux Script Basics-chicken and rabbit cage problem

OverviewChicken rabbit with Cage, is one of the famous classic fun, recorded in the grandson of the book, the title of "There are several chickens and rabbits in a cage, from the top number, there are 35 heads, from the following number, there are 94

Linux 18th Day Self-study network management

Linux 18th Day Self-study network managementTime: 20180804DirectoryIfconfigIpGUI Configuration NetworkConfiguration file Modify NIC parametersRouting Management IP, routeCommon network detection Tools ping, traceroute, SS, Netstat, Iftop, MTR,

Application of Snat and Dnat strategy in Linux system

SNAT (source address translation) is an address translation operation of the Linux firewall and a type of packet in the iptables command that modifies the source IP address of the packet according to the specified conditionsDNAT (Destination address

Research on rescue mode in Linux environment-repairing deleted library files or commands

Say is alert alert, but accidentally or the important library or instructions mistakenly deleted, if mistakenly deleted, how should be restored?First, the mistaken deletion of the library libc.so.6Take Centos7 as an example, first enter the rescue

Linux (6), Funnel Family & pipelines

Funnel Family output redirectionEnter the correct command result into the file.Notice:echo -- display a line of text>>Append redirect, append to last row.[[email protected] fangqihan]# cat 1.txt haha[[email protected] fangqihan]# echo 'hello linux' >

Linux Delete garbled files

Do not know if you have encountered this kind of file, because it is garbled, the file cannot be deleted, then we can consider using the following command to delete files or directoriesLs-i//List file nodesFind./-inum XXX (node number)-print-exec Rm-

Parentheses usage in Linux

First, the parentheses in Linux (also called parentheses) "()" Usage 1. Single parenthesis ()1) Array assignment or initialization of arrays;2) Child Shell assignment: The contents of the parentheses open a child shell to run independently, the

Installing Vm-tools for Linux in VMware

1. Select Install Vmware-tools in the virtual machine, or reinstall2. Create the CDROM folder in the/MNT directoryMkdir/mnt.cdrom3. Attach the/dev/cdrom optical drive to the folder you just builtMount/dev/cdrom/mnt/cdromCheck the/mnt/cdrom directory

Total Pages: 5467 1 .... 2099 2100 2101 2102 2103 .... 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.