the hard disk's 0 cylinders, 0 heads, and 1 sectors are calledMain boot Sector(also called the Master Boot Record MBR). It consists of three parts, the master boot program, the hard disk partition tableDPT (Disk Partition table) and partition
#################(i) User name - u # # # user ID, only one) - G # # user name -GN UID the default is/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin/usr/bin/ls(ii) # # # View the current user 's user environment, that is, display the
Haha, actually I'm not going to explain the file command! Just to introduce a small trick, is how to use the file command to see the current number of operating system bits.file/bin/arbitrary external commandssuch as: File/bin/ls650) this.width=650;
Ps-process statusPS is used to view the process, PS parameters are very many.Format: PS [options]PS-A List the processes usedPs-aux Show all processes that contain other usersPs-axi List of all sprite processesGrep--goobal Regular Expr ession Print,
Unit Five########################## User Action command #################(i) use of IDID User name # # View user Information ID - u # # user uid(userid) - G # # user gid(initial group ID, only one) -A # # users All information - G # # # User IDs
#### ##### #1 . Virtual Console ##### #######Ctrl+alt+f (1|7) into the graphCtrl+alt+f (2~6) into the Virtual ConsoleRed hat Enterprise Linux Server 7.0 (Maipo) # # system versionKernel 3.10.0-123.el7.x86_64 on a x86_64 # # kernel version , number
######### #1. Virtual Console ############Ctrl+alt+f (1|7) into the graphCtrl+alt+f (2~6) into the Virtual ConsoleRed hat Enterprise Linux Server 7.0 (Maipo) # #系统版本Kernel 3.10.0-123.el7.x86_64 on a x86_64 # #内核版本, number of system bitsDesktop45
ID # # #查看用户信息Id-u # # #查看用户uid-G # # #查看用户所在组id-A # # View all user information-G # # #查看用户所在所有组id (including all history groups)-un # # #查看用户名字-GN # # #查看用户初始组名称-GN # # #查看用户所有组名称su-username## #加杠会改变用户的环境, not only changed the user name, but also
Device_driver and device must be attached to the bus. The bus, drive, and equipment will eventually be implemented as a directory in Sysfs. Kobject corresponds to a directory of SYSFS.Attribute directly implement a file in the Sysfs, if attribute
1. What is the relationship between Unix and Linux? Answer:difference:1) UNIX systems are mostly hardware-related, hardware-demanding, and Linux can be run on a variety of hardware platforms.2) UNIX is a commercial software, the core is not public,
1,uptime View System is responsible for2,more Page view file, enter displays the next line, space shows the next page, F shows the next screen, and B displays the previous screen content.3,top command to view the system situation, press SHIF + H to
Configure IP address four ways to easily learn about Linux friends(1) Ifconfig commandThe first is to configure the IP address of the NIC using the Ifconfig command. This command is typically used to test for zero, and after the computer startsThe
du-sh Viewing the current folder sizeDu-sh * | Sort-n Statistics the current folder (directory)/file size and sort by file size--------------------------------------------------------------------------------------------------------------- -----------
Guide
Linux is a highly controllable, safe and efficient operating system. This article only discusses the Linux file read and write mechanism, does not involve different reading methods such as read,fread,cin, such as the comparison, these
1. Linux I/O multiplexingBefore: Our processing is, every arrival of a client, for it to open up a new thread, a one-off service to it, this is the VIP mode, in high concurrency, will cause resource consumption too large.Now, the corresponding high
//graphical operation of Linux#include #include#includestring.h>#include#include#include/*file link needs to load curses shared library file*/intMainintArgChar*args[]) { //Turn on Graphics modeINITSCR (); //do not echo (keyboard input is not
title Source:http://2358205.blog.51cto.com/2348205/1688557Most of them do it themselves, part of the original post of the blogger's answer1. How to detect the process occupied by a portLsof-i:p ORT2, for the CPU load use of Linux host, under what
Use of notification chains in Linux NetworksIn Linux Network kernel code, the Notification chain is used to make relevant subsystems respond to events of interest. The following describes the use of the notification chain from the beginning.Data
Use of vi, use of vi
1. Delete Columns
Case: Delete the first six columns of the first three rows. The content in the file is as follows:
123 aaabbbbb
234 ldfsdglkfd
Fskgfdlgfdh
Dsjkgdfgdlh
The procedure is as follows:
1.1 move the cursor to
Linux Command -- find, linux -- find
The Linux find command is used to find files in a specified directory.
Command composition: find [search directory] [parameter] [File Attribute]
Parameter description:
-Name: name of the file that matches 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