1.Linux View a folder size: Du-sh/home/yangkundu -sh /home/yangkun/164M /home/yangkun/2.Linux View the size of all files in a directory: Du-h/home/yangkundu -h/home/yangkun/4. 0K /home/yangkun/.config/abrt8. 0K /home/ yangkun/. config8. 0K
1. List Linux distributions by series and describe the connection and difference between different distributions.2, description of the use of the command on the Linux system format, details Ifconfig, Echo, TTY, STARTX, export, pwd, history, shutdown,
Method 1: Temporary configurationhostname NINGThe CRT is reconnected, and the server restart fails.Method 2: Permanently configureStep 1: Contains the most basic network information of the host for system startup.[Email protected] ~]#
Sender:/** FILE:MAIN.C* Author:tianshuai** Created on November 29, 2011, 10:34** Main implementation: Send 20 text messages, and then send a termination message*/#include #include #include #include #include #include #include int port=6789;int main
The first step: first install the Linux system on the VM, here does not introduce how to install Linux system, will not go to Baidu. But here's a reminder of how the virtual machine and the native are going to transfer data, and I'm using the
Toss for a long time, in accordance with the official website installation process installed more than 3 times, the discovery is still not successful, the final discovery is the Linux machine itself problem, because I use the company's virtual
.. /: Top level Directory | Cd.. Cut into/root's parent directory | PWD: Judging the user's current directory | . /: Indicates the current directory|Usage: Command 1 | Command 2 His function is to pass the result of the first command 1 execution
(1)/etc----Store the configuration files and subdirectories(2)/dev-----is a Linux peripheral file, Dev is the abbreviation of DEVXE (device), in this directory is stored in all Linux peripheral files. In Linux, devices and files are accessed in the
More : View file contents and split screen display1 , command formatMore [-d] [-num] [+/pattern] [+linenum] [File ...]2 , command functionsLinux Morecommand similarCat, but will be displayed as a page by page, more convenient for users to read
/********************************************************************** * Automatic startup after Linux process exits * Description: * In the system, we sometimes want the daemon to be able to run all the time, even if the program is wrong, * also
My development environment is the 64 version of ubuntu12.05, running on 11.00 of virtual machines. First, explain why you need to build a cross-compilation environment. We know that our development is generally on the PC, based on the X86
File name wildcard:*: Any character of any length?: any single character[]: matches any single character within the specified range[A-z],[a-z],[0-9],[a-za-z],[0-9a-za-z][: Space:]: white space character[:p UNCT:]: Punctuation[: Lower:]: lowercase
in order to reduce the complexity of Linux driver development caused by device diversity, as well as device hot-swap processing, power management, etc., the Linux kernel presents the concept of a device model (also known as driver Model). The device
1. How to use redirection[email protected] ~]# du-4. 0K test.txt~]# > test.txt~ ]# du-0 test.txt2. Use the true command to redirect the empty file[email protected] ~]# du-4. 0K true >~]# du-0 Test.txt3. Use CAT/CP/DD command
Briefly:PPTP: Point-to-Point Tunneling Protocol ( pptp: Point-to-Point tunneling Protocol) through this agreement, Remote userThe ability to pass Microsoft Windows NTWorkstationWindows 95 and Windows 98 operating systems, and other
Tomcat installation method under Linux system (java_home configured)1, download Tomcat, and unzip 2, directly edit the profile fileOpen the profile file on the command line, add the Tomcat environment variable, the red part below, and the local
Samba service, samba
Install sambaPs-e view ProcessPs-e | use of the grep file name pipe OperatorView the rpm-qa installation packageRpm-qa | grep samba grabs the Samba installation packageNote: There is a dependency between the package and the
Linux learning, linux
Linux permission management
Chgrp: Change the group to which the archive belongs
# Chgrp [-R] group dirname/filename...
Chown: Change the archive owner
# Chown [-R] account name file name or directory
#
High cpu solution and Linuxcpu solution in Linux
Yesterday, a 100,000 urgent issue was settled. The customer complained that the system would slow down after the product upgrade and the CPU usage was quite high. The customer had a bad temper and
Linux permission setting chmod and linux permission chmod
Set permissions in Linux. the chmod command is generally used.
1. Introduction
Permission setting chmod
Function: Change the permission command.Common parameters:
1 = x (execution right
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