1th. Where is awk? 1.1 awk built-in variables
Fs
Input field (column) separator
-F:
Equivalent to-VFS:
Nr
Number of record line (record number)
Nf
Number of filed columns per row
1.locateThe locate command is a file search command that searches faster than the find command because it does not search for a specific directory.Instead, it searches for a database that contains all the local file information. The Linux system
1. Command Prompt[email protected] ~]# Root: User namelocalhost: host name~: Represents the path, which represents the home path of the current userHome path for Super admin:/root/home path for normal users:/home/user name/#: Identity, Super
One: File directory Operations Command(i) Create a fileVim file name Press I enter insert mode after writing the file, press ESC, and then enter: Wq The file is saved after hitting enter / And . The difference / Indicates that the root
One, the management of file permissions1, the existence of the meaning of permissionsFor security2, the recognition of rightsLs-l Permissions for file filesLs-ld permissions for the dir directory3. View and understanding of permissions
rw-r--r--1
DeleteRM-RF Directory name RM filename (delete file directly)-R: Recursive down, no matter how many levels of directory, delete-F: Directly forcibly delete, do not do any hint
View Instructions HelpMan instruction NameFor example: Man RM
chmod:
The associated files are as follows:/etc/passwd/etc/shadow/etc/group================================="Create new user" sudo useradd ayee"Modify root account password" sudo passwd root"Delete users and folders" Userdel-r user name"View occupied
When the size of the disk exceeds the standard, there will be alarm prompts, if you know the DF and du command is a very wise choice.DF can view the first-level folder size, usage scale, file system and its hang-in points, but there is nothing to
I. INPUT and OUTPUT redirectionInput redirection refers to importing a file into a command, while output redirection refers to writing data that is intended to be output to the screen to the specified file.In everyday learning and work, we use
User-related commands1.1 useradd command to create a userSyntax format: useradd [options] [login]useradd [Options] [user name]Options:-N Do not create a group with the name of the user-C Add personal information when creating a user-u User ID value,
View historical operationsHistory 10 (List the last 10 actions)!105 (Repeat 105th command)!! (Repeat the previous command)!last (executes the last command that starts with the end)History | More (historical instructions itemized)History-c (Clear all
1, the firewall shallow solutionThe biggest advantage of iptables is that stateful firewalls can be configured, and firewalls with connection tracking are known as stateful firewalls, which are more secure than non-stateful firewalls because of the
In our daily work, the server disk is full of a common problem, then how can we logically have a way to deal with this matter?First, when our server disk is full we generally think of the larger and less important files are deleted, thus freeing up
1. Download the installation package: Https://pan.baidu.com/s/18xzjBAchjWqsHNA1HuYvTg2. Configuring the EnvironmentJDK 1.7 & JDK 1.8 installedPS: Download JDK 1.8:① View Name-a View Linux version number "x86_64 for 64-bit systems-32-bit
Key words: RT, preempt_count, RT patch.In addition to the CFS scheduler, there are important real-time schedulers, with two RR and FIFO scheduling policies. This chapter is just a simple introduction.A more detailed introduction to the Linux process
First, Introduction1. mkdir is used to create a directory. Syntax: mkdir [options] [parameters]2. Touch is used to create files. Syntax: Touch [options] [parameters]Second, common options1, mkdir-Z: Sets the security context, which is valid with
---restore content starts---1. Directories and files1.1 Show current directory pwdFunction: Displays the directory under which it is locatedSpecial: Although bash displays the current directory, not all shells are displayed, and in the OS such as
In general, we migrate the home directory to other partitions in the Linux environment, nothing more than the size of the space, after the migration can do the expansion effect, so here do a migration process. This is illustrated by the method of
routing Table Information interpretation# #名词解释:Active Routes: Active routingNetwork Destination: Destination network segmentNetmask: Subnet MaskGateway: Gateways, also known as next-hop routers. When an IP packet is sent, the gateway defines 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