1. Display timeThe date command displays dates in the specified format, and only date displays the current time in the default format. As follows:If you need to display the date in the specified format, you can use a string that begins with "+" to
Deadlock: In general, if the same thread calls lock two times, on the second call, because the lock is already occupied, the thread suspends waiting for the other thread to release the lock, but the lock is occupied by itself, and the thread is
Common commands related to file systems under Linux are mainly Df,du,fdisk,partprobe,partx,mkfs,blkid,mke2fs,e2label,tune2fs,dumpe2fs,mount,umount,free, Mkswap,swapon,swapoff,fuser1.df displaying information about the current file system-H to GB,KB
When extracting a file#tar-ZXVF xxxxx.tar.gzThe following error message appears:Gzip:stdin:not in gzip formatTar:child returned status 1Tar:error exit delayed from previous errorsYou used ' TAR-ZXVF ' for the second command. The ' z ' option tells
The tar command, "This is just packing, not compression," is the compression. Unpacking: Tar zxvf FileName. TarPackage: Tar czvf FileName. TarDirnamegz Command Decompression1: Gunzip FileName. GZExtract2: gzip-d FileName. GZCompression: gzip
Linux User ManagementUser: UID,/etc/passwdUser group: GID,/etc/groupShadow Password:User password:/etc/shadowUser group Password:/etc/gshadowUser Category:Admin: 0Normal Users: 1-66535System users: 1-499General Users: 500-6000User Group
Detailed use of Find:Find/-name httpd.confFind/-name Access_log 2>/dev/nullFind/etc-name ' *srm* 'Find/-amin-10 # finds files accessed in the last ten minutes of the systemFind/-atime-2 # finds files accessed in the last hour of the
About the Find commandBecause find has powerful features, it has a lot of options, most of which are worth taking the time to look at. Even if the system contains a network file system (NFS), the Find command works equally well in the file system,
To view disk space remaining: df-th
Usage:df [Options] ... [File] ...Displays the information for each file system that is located, by default showing all file systems.The parameters that must be used for the long option are also required
Change the color theme for Linux system endpointsListen to the Voice
|
Browse:1129
|
Updated: 2014-11-22 01:05
|
Tags: changing linux
1
2
3
4
5
6
7
Step through the master
1.Nfs: NFS (Network File system), which is one of the file systems supported by FreeBSD, allows computers in a network to share resources across TCP/IP networks.In an NFS application, a local NFS client application can transparently read and write
The Linux shell/terminal command is very powerful, even though a simple command can cause folders, files, or path folders to be deleted.In some cases, Linux does not even ask you to execute commands directly, causing you to lose a variety of data
Shift+g//End of textGG//To file header98GG//to the specified lineDD//Delete when moving forwardYY//Copy as ForwardP//PasteU//Cancel Last action///Down Search? Search upTime//Calculate a task execution timesLast//view current who is logged inLastlog//
The value of the mutex mutex variable is not 0, or 1, and can only be used to represent critical resources in both states. And the semaphore is similar to that used to indicate the available resources, the difference is that the semaphore can
[Reprinted] socket error codes in Linux: errno, socketerrno
Http://blog.chinaunix.net/xmlrpc.php? R = blog/article & uid = 116213 & id = 3376727
Recently, in network programming, errno is often used. Therefore, we decided to keep it for future use.
CentOS Grub, BASH fault, Solution
Introduction:
Two common faults of Grub: Grub. conf file loss and MBR damage (no matter what the recovery is, back up the file first)
1. Grub. conf file loss
Shell> rm-rf/boot/grub. conf # delete files, simulate
Deployment, installation, and simple use of the MooseFS Distributed File System
Brief Introduction:
MooseFS is a distributed network file system. It distributes data across multiple servers, but for users, only a source is seen. Like other unix-like
Install iSCSI in CentOS 6.6
I. Introduction to ISCSI
ISCSI, internet SCSI, also known as IP-SAN, is a standard developed by IETF to map SCSI data blocks into Ethernet packets. ISCSI is a TCP/IP-based protocol used to establish and manage the
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