--Sort by file size shows the first 100 rows showing the last five columnsLl-sh|head-n 100|cut-d '-F 5-First, the basic grammarCut is a selection command that, in the unit of behavior, divides the rows into fields with the specified delimiter and
1.PWD commandThe pwd command represents ' Print working directory ' (print working directory). When you type PWD, you are asked to display your current location on your Linux system. For example:[Email protected] apache]# pwd/tmp/apacheIndicates
Linux timed task files in/etc/crontabJust open it straight vim/etc/crontab.How to enter the command and time to execute in the crontab file. Each row in the file contains six fields, the first five of which are the time the specified command was
Common directivesLS Display file or directory-l list File details L (list)-a lists all files and directories under the current directory, including Hidden A (all)mkdir Creating a Directory-P Create directory, if no parent directory, create p (parent)
1.VI Edit text file cursor movementh/j/k/lMove the cursor to the left/bottom/top/Right one pane, respectively(Add a number before the letter, you can move a multi-lattice effect)w/b/eThe beginning of the next word/the beginning of the previous word/
Only root or owner can delete and rename files when the sticky bit is set.Example:The user Apple Default group is fruit.[[email protected] ~]# ID appleuid=1001 (apple) gid=1001 (fruit) group =1001 (fruit)STEP1 Displays the Water folder information,
Work in, write a summary of the log.To create a new user:The first way:Create User: AddUser nameCreate Password: passwd name (prompt to change password after carriage return)The user directory created by this method is default under Home.The second
Cent OS 7 Server Restart found that the BBR kernel module is not loaded, and this module is introduced in the new version of the kernel, using Uname-a view, the system is loaded with the old kernel.View the Grub.cfg file and find that the system
1. Download the file64-bit download: wget http://dl.cnezsoft.com/zentao/9.0.1/zentaopms.9.0.1.zbox_64.tar.gz32-bit download: wget http: // dl.cnezsoft.com/zentao/9.0.1/zentaopms.9.0.1.zbox_32.tar.gz2.CP to/opt directory on the Zen Road website There
Setting Environment Variablesprofile and BASHRC files/etc/profile: The first file that is used when the operating system customizes the user environment at logon. This file sets the environment information for each user of the system, and the file
1. View command: Man 2 pipe2. header file: #include 3, function prototype: int pipe (int pipefd[2]);A, pipefd[2]: Nameless Pipe Two file descriptor, array of type int, size is 2,pipefd[0] read end, pipefd[1] is write end4. Return value:Success:
One, group operations1, create a groupGroupadd TestAdd a test group2, modify GroupGroupmod-n test2 Test changes the name of the test group to Test23, deleting a groupGroupdel test2 Delete Group Test24, viewing groupsA), view the group groups where
Compression and decompressionTar commandThe tar command can be used to create files and archives for Linux.With tar, you can create files for a specific file (a file), change files in a file, or add new files to the file. Tar was originally used to
Today, I found a situation where the NIC configuration file is missing a/etc/init.d/network status, see the network configuration is one lessHow to do it?Copy the other network card configuration file and go to/etc/sysconfig/network-scripts for
Variableprogram = instruction (read-only) + data (location variables, lists, arrays of data stores)Directives can be called through positional variables, and data passed to the scriptA variable name can refer to a "named Memory Space": The memory
Linux is a multi-user and multitasking OS. In Linux, you can create any number of the user account and groups. A user is the connected to a particular group and there can are any number of the groups as well.The user home directory by default is
Soft interrupts, Tasklet, and work queues are not mechanisms that persist in the Linux kernel, but are evolved from the "lower half" (bottom half) in earlier versions of the kernel. The bottom half of the mechanism actually consists of five, but in
How do I find the JDK installation path on a Linux server? Are there ways to find the installation path for locating the JDK? Are there some limitations? Here's a summary of how to find the JDK installation path.1:echo $JAVA _homeIf you use
Linux group configuration file (/etc/group), etcgroup
I. Overview
The Linux group configuration (/etc/group) file is divided into four fields:
Group name, group password, GID, and group member.
Ii. Example
[Root @ titan ~] # Cat/etc/group | grep
Linux sticky bit and stickybit
Only the root or owner can delete or rename the file when setting the stick position.
Example:
The default apple group is fruit.
[Root @ titan ~] # Id apple
Uid = 1001 (apple) gid = 1001 (fruit) group = 1001 (fruit)
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