First, the Linux main file system type①ext (2/3/4) XFS FFS UFS JFS vfat NTFS② swap file System swap③ Network File System NFS Smbfs④ Distributed File System Ceph⑤ Disc File System isso9660Linux is the most traditional file system is the use of ext,
Permission Settingschmod changing the permissions of a file or directoryFormat chmod parameter file nameR-Read W-write X-ExecuteU-user owner G-group belongs to group o-others others a-all everyone+ Add a permission-Cancel a permission= gives the
This article is a summary of their work encountered in the common Linux commands, will continue to update!1. File path switchGo to CDReturn to the previous level CD.2. CopyCP source file name destination folderCP Log.log TEST53. Edit File VIWhen
Problem: Write a program, try to listen on the 21 port, the result in the execution of bind failed.Sockaddr_in sock_addr;sock_addr.sin_family = af_inet;SOCK_ADDR.SIN_ADDR.S_ADDR = host_inet_addr;Sock_addr.sin_port = htons (port); Port=21ret = bind
Because the default is GB encoding under Windows, and my vim default is Utf-8 (gedit default is also Utf-8), so open will be garbled. Modified the configuration file, so that VI support GB encoding just fine. $vi ~/.VIMRC Let
Disks and partitionsHard disk partitions are divided into primary partitions, extended partitions, and logical partitions. A hard disk can have up to 4 primary partitions, where one primary partition can be replaced with an extended partition, and a
1. I/O redirection: Modify the default input and output devicesstdout/output Redirection, code 0: Change the sent data channel (STDOUT) to output to the specified file: Saves the output to the specified file by overwriting, such as saving the
a problem recently encountered by the author, the Samba service in virtual machine Linux is normally turned on and the host passes "\\192.168.229.200 "(The static address of the Linux system configuration in my virtual machine) cannot access the
Linux awk details and applications, linuxawk details
This article is from my personal blog: linux awk details and Applications
1. awk
Awk is a powerful text analysis tool that generates a data report by analyzing the text. The principle is to read
Litecoin mining in CentOS
Litecoin (LTC) is a point-to-point electronic currency and an open source software project under the MIT/X11 license. Litecoin (one of the most promising bitcoin counterfeits after bitcoin, miners all say that if Bitcoin is
Ubuntu vim configuration script and ubuntuvim configuration script
I personally think the vim configuration will be helpful to the novice, because I am also a newbie, please ignore it.
When we installed ubuntu, we may not have vim. We can only use
Cramfs and cramfs
First, go to the root user to ensure that cramfsprogs is installed in the LINUX system. If not, get-apt install cramfsprogs,
Find the. cramfs file, enter the cramfsck-x song xxx. cramfs command, and a file named song appears in the
About how to protect your Linux System
In this world, it is very important to ensure the security of Linux-based systems. But you have to know how to do it. A simple anti-malware software is far from enough. You need to take other measures to work
Linux Command learning Summary: reboot command, linuxreboot
Command introduction:
This command is used to restart the Linux system. It is equivalent to the restart command in Windows.
Command syntax:
/Sbin/reboot [-n] [-w] [-d] [-f]
One practical experience of adding a physical Nic to a Linux Server
Due to business needs, three Linux servers in the foreign data center need to add one physical Nic each. Previously, no Nic operation was performed on the physical server, which is
Enable wget in centos to support resumable data transfer and download speed limit.
Wget is not installed. If the network is connected, yum install wget is installed;
1. For resumable upload, you only need to add the-c parameter.
Wget-chttp: //
Quickly and securely change the MySQL database name in CentOS
MySQL does not seem to have a statement to change the Database Name (maybe I don't know). If you have the permission to manage the database server, you can directly change the directory
Enable MySQL to support Chinese Characters in CentOS7
In MySQL 4.1 and later versions, Character Set Support has two aspects: Character set and Collation ). The support for character sets is refined to four layers:Server(Server), Database(Database),
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