20 commands that are very useful to intermediate Linux users
Source: Tecmit Translation: Oschina
Perhaps you've found the first article very useful, and this article is an extension of the 20 commands that are very useful for primary Linux users.
The free command displays the idle, used physical memory and swap memory in the Linux system, and the buffer used by the kernel. In the Linux system Monitoring tool, the free command is one of the most frequently used commands.
1. Command
7.2. Learn the current time
The kernel code can always get a representation of the current time by viewing the value of the jifies. Often, this value represents only the time since the last boot, and this fact is irrelevant to the driver because its
Any operating system written in a high-level language, the kernel source code is always a small part of the code is written in assembly language. Readers who read the Unix Sys v source know that there are about 2000 lines of code written in assembly
1. Df-lh
2. Du-s/usr/* | Sort-rn
This is sorted by byte
3. du-sh/usr/* | Sort-rn
This is sorted by megabytes (M)
4. Select 10 of the preceding
Du-s/usr/* | Sort-rn | Head
5. Select the following 10
Du-s/usr/* | Sort-rn | Tail
in the Linux distribution, there is a/proc/directory, some also called it the proc file system. In this directory, there are special files that can be used not only to reflect the current state of the kernel and to view hardware information, but
For Example:
1. Create a connection to a file
[Root@a ~]# ln-s/home/kk/ss.sh ~ #如果不写目标地址, that is, in the current directory built link
[Root@a ~]# ls
Centos-base.repo.oldboy anaconda-ks.cfg install.log install.log.syslog ss.sh This command indicates
recommended: More Linux file Lookup and comparison commands attention: Linux commands DaquanThe strings command looks for printable strings in an object file or in a binary file. A string is any sequence of 4 or more printable characters, ending
Time synchronization is important when the Linux service needs time-stamping. Here is a synchronization command that I used recently.
# ntpdate s1a.time.edu.cn
Commonly used NTP addresses in China
210.72.145.44 (National Timing
Note:Nginx version must be greater than or equal to 1.9,linux I am using version 7.0, remember to turn off the firewallStart text:Here only to mention the two more error-prone configuration, Consul,upsync,pcre Library, SSL library, zlib library
Global ]strict init false1024x768= 2MB lock file= /tmp/zlog. Lock "%d.%us [%v][%f:%l]%m%n"[rules]asr_level. * "/home/test/asr.log"; normalNOTE: If you configure the Rotate lock file entry, in your own native test, be careful to
File default PermissionsFrom the Linux user group, file permissions detailed understanding of the file and directory of the basic Rights Management, when the file is created if you do not specify the specific permissions, then the system will assign
The following error occurs when you run make menuconfig to compile the Linux kernel:
Root @ Ubuntu:/mnt/HGFS/linuxshare/linux-3.10.5 # Make menuconfig
Hostcc scripts/basic/fixdepHostcc scripts/kconfig/CONF. o***Unable to find the ncurses
1. Brief Introduction
Every time windows is used to exit the system abnormally, Scandisk will be swept away. Linux is no exception, but it calls fsck.ProgramTo check the file system. As a system administrator, what do you do when you find that the
Now that Cisco Nat is flexible, Can Linux implement it? The answer is yes! Linux netfilter is super flexible, and Linux Nat is not flexible because the iptables program is not flexible. xtables-Addons rawnat has taken an important step towards
In the development of ARM-based embedded systems, there are usually two types of GCC tool chains that use cross-Compilation: Arm-Linux-* andArm-elf-*, the main difference between the two lies in the use of different C library files. Arm-Linux-* uses
Sina Weibo @ song Baohua Barry at @ micro disk share Prentice. Hall Press "essential. Linux. device. Drivers" Chinese version of the high definition electronic version "Baohua _essence linuxlinuxequipment driver development"
Official homepage: http://www.clamav.net/The latest version is 0.88. You must use the latest version to upgrade the virus database.
System Requirements: refer to the original official document below
Quote:RequirementsThe following elements are
1. Why CGI?
As we have seen above, any HTML is a static webpage, and it cannot implement some complex functions, while CGI can be implemented for us. For example,. list files in a directory on the server and operate on the files in the directory. B.
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.