hostname command to view the hostname of this machine,#hostnameHostname command to set the hostname of the system#hostname newnameNewName is the new hostname to be set, which takes effect immediately after the run (restarting the shell), but changes
chmod----Changing the access mode of one or more files (mode) chmod [options] mode files can only be used by a file owner or a privileged user to change the file access mode. Mode can be expressed in digital form or in the form of who opcode
ddCommands can be easily implemented to create files of the specified size, such as DD If=/dev/zero of=test bs=1m count=1000 Generates a 1000M test file with full file content 0 ( /dev/zero /dev/zero 0 source for read from)However, to actually write
RecentlyLinux official built-in bash new found a very seriousVulnerability reference https://access.redhat.com/security/cve/CVE-2014-6271, which hackers can use to fully control the target system and initiate an attack,to prevent your Linux server
This article is based on the ArchLinux (https://www.archlinux.org/) current release:2013.08.01 ISO written installation Tutorial!Iso:http://mirrors.163.com/archlinux/iso/2013.08.01/archlinux-2013.08.01-dual.iso1. PartitioningCfdisk• Novice can not
The concept of Linux librariesA library is a software-building technique that encapsulates data and functions that are made available to user program calls. Using the library can make the program modular, improve the speed of compiling, implement
When we apply a period of time, Linux may become bloated, then, how to find a "path" under the largest file?You can use the Du command, such as:Du-sh [Dirname|filename]such as: the size of the current directory:Du-sh.The size of the next file or
Storage Information Display:Total space and free space display[Email protected] ~]# df-hFile system capacity has been used with available% mount points/dev/mapper/volgroup00-logvol0037G 15G 20G 43%//DEV/SDA1 99M 23M 71M 25%/bootTmpfs 3.0G 0 3.0G 0%/
Lab environment: Ubuntu 12.04 LTS1 Disconnecting a virtual machine add a hard driveRecommended SCSI2 View New drive:Fdisk-l including U disk floppy disk drive [Email protected]:~$ sudo fdisk-ldisk/dev/sda:42.9 GB, 42949672960 bytes
255 heads,
client:mini2440SERVER:PC UbuntuThe network socket data transmission is a special i/o,socket is also a kind of file descriptor. The socket also has a function similar to open file: socket (), call socket (), the function returns an integer socket
Centos7/rhel7 reset the root password
(Unlike the previous, when the root password is forgotten and GRUB2 is used as the starter, the root password cannot be reset in single-user mode. The following describes how to reset the root password of
Detailed description of at commands for linux/centos scheduled tasksCommand:Scheduled task. You can only execute one task at a time.Syntax: # at [parameter] [time]At> executed commandExit at command ctrl + dCommand prerequisites:You need to enable
Configure local YUM source in CentOSCentOS local YUM source configuration-CentOS-6.4 as an Example
1. Place the image CD in Centos or find the image file and mount it to the system.
Mount/dev/cdrom/mnt/cdrom #/mnt/cdrom directory must be created
Install spin and user interface ispin and fedora20ispin on fedora20
(Blog-original tomato sauce)
1. First, download the spin source file: http://spinroot.com/spin/src/index.html.
2. decompress it, cd it to the downloaded directory, and then
Create a
Install qBittorrent in Ubuntu
QBitTorrent is one of the most popular P2P software in Ubuntu Linux. QBitTorrent, a French college student, has powerful functions, exquisite interfaces, and intuitive operations. QBitTorrent is one of the most popular
Shell scripts for copying files to multiple servers
In a multi-host cluster environment, it is often difficult to copy the configuration file to multiple servers after it is modified. Therefore, the following shell script is written, you can copy a
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