The following is a list of the main system catalogs for Red Hat Linux and their brief descriptions. For additional directory information, refer to the Red Hat Linux customization Guide and the Red Hat Linux reference guide.
/bin/ -Used to store
ExamplesCP File1.txt NewdirCopies the file1.txt in the current directory to the newdir subdirectory.Cp/home/public_html/mylog.txt/home/public_html/backup/mylog.bakCopies the file mylog.txt in the public_html directory into the
Installation system: ubuntu12.04 i386 DVDUSB stick Start 12.04live system wiring, setting up Connectionsinstalling the system to the hard disk "Language support", update Installing the Gnome Classic interfacesudo apt-get install Gnome-shell
1, sort the file each line as a unit, compared to each other, the comparison principle is from the first character backward, followed by the ASCII value of the comparison, and finally they are output in ascending order.?
1 2 3 4 5 6 7
1. Classic Tree-shaped catalogueOne of the best features of Linux system design is to represent everything as a file, and to manage and organize these files in a single tree structure. The entire file system has root roots, and then a lot of forks
Command one:-R parameter in RMThe first is the creation of the temp file, which belongs to the Xulinux user, and the Xulinux group, the permission through the following 3 sentences so that no one should write, read, not access to the
Command:Who
Common options
Significance
-A
Show all information for all users
-M
Show the user running the program
-P
Show only the user's login account and the number
http://www.cnblogs.com/tcjiaan/p/3754811.html "Small Talk" to the graduates of some words-East evil solitary-blog Parkhttp://news.cnblogs.com/n/209236/Homeless learned to program to earn 10,000 dollars but still be homeless _it News _ Blog
1.RPC service is supported by Rsh, in general, RSH is installed. Rpm-qa rsh view.2. Right-click Save As http://heanet.dl.sourceforge.net/sourceforge/rstatd/rpc.rstatd-4.0.1.tar.gz download rpc.rstatd-4.0.1.tar.gz.3. Perform the following command to
This article originates from: Http://blog.csdn.net/svitterCitation: http://www.2cto.com/os/201305/209285.html{Ubuntu views the program that occupies a port to view port usage, using the netstat command. To view the connected service ports
1, judge is not a large area of server problems. If that is the computer room problem.2, if the only one is not connected, ping if it does not pass. Connect to the terminal via the remote control card to see the ScreenTip. or let the computer room
Install QQ under LinuxToday tried for a long time finally hit the countless south wall ah, so write this blog let everyone is want to Linux system installed QQ comrades a reminder. Comrades, Linux installed under the QQ are rotten goods AH. Either
3.1Linux and hardware collocation:3.1.1 Know the hardware configuration of the computer:3.1.2 Choose a host configuration that matches Linux:Because of the early hardware configuration may be due to the problem of storage or electronic parts aging
Refer to the source code of ss
And netlink related information: http://blog.csdn.net/scdxmoe/article/details/27711205
Implementation result:
Gcc netlink_dig_530_7.c-o netlink_dig_530_7./Netlink_dig_530_7
State family l. addr l. port r.
[Tar details:]
-C: Create a compressed file-x: extract-t: View content-r: append the file to the end of the compressed archive file-u: update the five files in the original compressed package as independent commands. One of them is required for
Test code running time
In linux, the function can obtain the current time, accurate to microseconds ----> gettimeofday ()
1 # include // Int gettimeofday (struct timeval * TV, struct timezone * tz ); 2 /************************************** * *****
The rpm package creation does not include the compilation part:
First, write a script. This script is what you want to do. useradd. sh is the script I wrote and 20 users are added in batches. Create a directory and put the script in:
Compress this
Fd_set is a collection of file descriptors (fd, file descriptor). It uses one bit to represent an fd.
The system provides four macros to operate the descriptor set:
# Include # Include
// Set the BIT (1) corresponding to the file descriptor fd in
#! /Bin/bash
TEST = 'df | grep "boot" | awk '{print $5}' | cut-f1-d "% "'
If [$ TEST-lt 80] // determines if the output is smaller than 80,
Then echo "disk is safe !! "// The output disk is safe fi.
Segmented explanation: df views disk partition
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