-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
In the actual product service publishing environment, Linux servers generally prohibit the use of remote root account login, only allow the least privileged remote account using SSH login, and then switch accounts to achieve the purpose of
Previous section content:1. System and Directory Management2. PWD command3. ... and.. Directory4. Relative path and absolute pathJob: Enter the OPT path, using the relative path method and the absolute path method to enter into the actually any
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 (
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
Linux terminal usage tipsToday, I found that the Linux terminal has so many handy shortcuts.Shift+ctrl+t: New tab pageSHIFT+CTRL+W: Close tabCtrl+pageup: Previous tabCtrl+pagedown: Next tabShift+ctrl+pageup: Tab Shift leftShift+ctrl+pagedown: Tabs
Log on to your server with the root user to execute the following command, using it you can check whether your server is in a DDoS attack or not:NETSTAT-ANP |grep ' tcp\|udp ' | awk ' {print $} ' | Cut-d:-f1 | Sort | uniq-c | Sort–nThis command
SH file run:1. Modify to execute permissions:chmod u+x hello.sh2. Operation./hello.sh3, do not use executable permissions to modify, with SH direct operationSh./hello.shDesktop Environment Double-click Run sh file:Mac:1, modify the suffix sh to
Linux detects bad and bad blocks on the hard driveLet's start with the definition of bad and bad blocks, which are parts of a disk or flash memory that can no longer be read and written, typically due to specific physical damage on the disk surface
May be due to the problem of the power source of the computer yesterday, and then turn on, directly appear the following interface: I think, will not, the computer how the problem again (last week, the hands of the cheap, the installation of the
Semaphores are an inter-process communication mechanism used to solve inter-process synchronization and mutex problems, including a variable called semaphore and a waiting queue for the resource waiting on the semaphore, and two atomic operations on
Linux Kexec IntroductionThe function of Kexec is to run a new kernel with a running kernel, just like running an application. This mechanism enables a fast restart of the system because it skips the bootloader. In addition Kdump is based on the
Access to the character device is done through the device name in the file system. Those device names are simply nodes that are called file system trees, and they are typically located in the/dev folder.Device files for character device drivers can
In addition to having system-default monitoring items, SNMP provides a powerful feature to customize monitoring items.The EXEC option in the snmpd.conf configuration file (in the higher version of SNMP, extend instead of exec) provides a custom
Experimental project:Linux system files deleted by mistake recovery method;Host windows with Linux file sharingLab Environment:One: VMware virtual machine, Linux system RedHat6.5 (what version is not important);Two: Install the following 3 dependent
Suse dual Nic binding, suse dual Nic
Here we use two NICs, eth1 and eth2.
Edit the/etc/sysconfig/network/ifcfg-bond0 file (this file does not need to be created)
Device = 'bond0'BOOTPROTO = 'static'BROADCAST = '10. 10.2.255'IPADDR = '10. 10.
Explanation of CentOS7 firewall commands
The firewall in CentOS 7 is a very powerful function, but it has been upgraded in the firewall in CentOS 7. Let's take a look at the usage of the firewall in CentOS 7 in detail.
FirewallD provides dynamic
SAMBA service construction and samba Construction1. Introduction 1. Understanding Samba is a set of applications that use the SMB (Server Message Block) protocol. By supporting this protocol, Samba allows communication between Linux servers and
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