-rwxr-xr-x 1 root root 1904 Apr startup.shThe first character,-Represents file D for folder L for: Soft connection file (similar to a shortcut under Windows)From the second character, each character represents a permission,In turn (read r=4) (write
Linux is an excellent open-source operating system, can run in large-to-small to the palm of a variety of computer systems, with the growing maturity and stability of Linux systems and its unique advantages of open source code, Linux in the world
Implementation of Linux under OD-TX-TC xxx function one, od command (1) functionThe OD command is used to display the specified file contents in eight-, decimal, 16-, floating-point, or ASCII-encoded characters, and is typically used to display or
Ettercap is a tool for performing ARP spoofing sniffing, which is commonly used for man-in-the-middle attacks.I'm using Kali Linux 2.0; Before you start using Ettercap, configure it first:To edit a configuration file/etc/ettercap/etter.conf:# vim
It seems that there is a bad superblock. To fix this:Firstly, boot into a live CD or USBFind out your partition number by usingsudo fdisk -l|grep Linux|grep -Ev ‘swap‘Then, list all superblocks by using the command:sudo dumpe2fs /dev/sda2 | grep
The. Sock file is also a special kind of file, which is usually used to connect data between networks, such as: We can start a program to listen to the client's requirements, the client can communicate through the socket:Linuxthe file types inFile
The previous day learned that the at command is for routine scheduled tasks that run only once, and that the Linux system is controlled by the cron (Crond) system service. Linux systems have a lot of planned work on them, so this system service is
The ping command of a Linux system is a common network command, which is often used to test connectivity with the target host, and we often say "ping a machine, see if it is open," or "you ping the gateway address 192.168.1.1" Before you open the
First, Introduction1, dirname command to remove the non-directory part of the file name, delete the last "\" After the path, display the parent directory. Syntax: dirname [options] Parameter2. The basename command is used to print the directory or
In front of a vectorcoredump example, contact with the vector iterator, can know that the vector iterator only one member _m_current point to a vector element.First look at the example:1 #include 2 3 void init (std::vector& vec) 4 { 5 for (
Transferred from: https://www.cnblogs.com/cocowool/p/6409643.htmlThis article mainly records the learning situation of two commands: diff and Patch. Diff and Patch are a pair of tools that use this tool to get the difference between an update file
I. Types of files in LinuxIn a Linux system, it can be said that everything (including directories, ordinary files, device files, etc.) are files. The file type contains common files, directories, character device files, device files, symbolic link
Example 1: Add a file or directory to a compressed archive, using the a command. For example, add the file files1 to Abc.rar, use the A or M command, a command to add the File1 file to the Abc.rar file to keep the original file1 files unchanged, M
Input/Output redirection, two-way redirection tee, and input/output redirection tee
In a simple sentence: "using input redirection can import the file to the command, while output redirection can write the data information originally to be output to
Set network, IP address, and CentOS network IP address
1. log on to CentOS.
2. # dhclient automatically obtains the IP address
3. # ip addr
1). the first address 127.0.0.1 is the loopback address, and the NIC name is lo. This address is also
Install and uninstall the rpm package in linux, the yum method, and the rpmyum
There are three methods for installing software in linux:
Install the rpm package, use the rpm tool to install the software package yum, use the yum command to
[Linux] install Nginx on Linux and nginx on linux
This article describes how to install Nginx in Linux. the Linux system is CentOS 7.2.
1. Download Nginx from the official Nginx website. The version used here is 1.13.6.
2. Upload the downloaded
Linux Command sharing: lsof command, linux Command sharing lsof
Lsof (listopenfiles) is a tool used to list open files in the current system. In linux, everything exists in the form of a file. Through a file, you can not only access common data,
Help commands for common linux commands and common linux commands
1.TypeThe difference between built-in and external commands
2.BashEnter bash to use help in bash.
3.Help lsLs is an external command, help can only view the built-in command
After Ngxin forcibly redirects http to https, the POST request of the interface changes to GET
If the company wants to change http to https in the Ngxin environment, it needs to force redirect http to https. I searched it online and summarized
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.