First, the Linux directory structure
Do you want to know why some programs are located under/bin, or/sbin, or/usr/bin, or/usr/sbin directories? For example, the less command is located in the/usr/bin directory. Why not in/bin, or/sbin, or/usr/sbin directory? What is the difference between all these directories?In this article, let's review the file system architecture of Linux and understand the meanings of the top-level directories.Blue: indicates directoryCyan: indicates a linkBlack: Indicate
1,/-rootEach file and directory starts with the root directory.Only the root user has write permissions to the directory. Please note that/root is the root user's home directory, which is not the same as/.2,/bin-user binary filesContains a binary executable file.In single-user mode, the common Linux commands you need to use are located in this directory. The commands used by all users of the system are set here.For example: PS, ls, ping, grep, CP3./ho
1.MySQL binary compilation deployment, we are creating a user mysqladmin, how to set the/usr/local/mysql directory to home directoryUseradd-u 514-g dba-g root-d/usr/local/mysql mysqladmin2. What are the different ways to make a new home directory with a. bash_profile file? (jumping thinking)cp/etc/skel/.*/usr/local/mysqlor VI CP3. Where is the global environment variable file? How to take effect/etc/profile Source/etc/profile Effective4. What is the l
#把文件拷贝到别的路径上Touch AACP aa/tmp#把目录拷贝到别的路径, add-rv option, there are two cases1. The first case, if the copy to the existing directory will be stored in its directoryCp-r 11/22/CD 22/LS 22/112. The second case, if you copy to a directory that does not exist, specify a directory nameCp-r 11/11/LS 11/Exercises:What options do we need to add to the 1.CP catalogue?Cp-r2.CP a file, if the target already exists, will ask if we want to overwrite, how do we not let it ask?The first method:/BIN/CPSecond me
OutputRoute 1CP1: (1.026, 1.051) CP2: (1.684, 2.368) CP3: (2.342, 3.684)Test instructions: I can't read the game ... The English is so rotten ... The origin is the starting point (CP0), from the starting point to the end point (Pn), the way P1,p2,p3...pn, on this road to set up checkpoints. The distances between adjacent checkpoints are equal. The origin point is the first checkpoint location given.Difficulty: The first use of the slope formula DX, b
communication and must be kept up-to-date.
CP3 binding model and implementation
MDD (model-driven design): To analyze a model, you must grasp the basic concepts in the field and describe it in a way that is easy to understand and express. each part of the software should be designed to faithfully reflect the model.Software development is a constantly refined model, a unified iteration process of design and code. The consistency between design and
Client
Configure server and client Parameters
Check Configuration
Verify backup
Test recovery
The following list shows the network and machine configurations of the test environment.
Machine name
File to be backed up
OS
Compression or not
Description
Cp1.domain.com
-
Ubuntu 8.10
Yes
Amanda Server
Cp2.domain.com
/Web/websites
Asianux 3.0
Yes
Client, running a large number of websites
, you can solve the above two problems.
Subdirs = Foo bar Baz. Phony: subdirs $ (subdirs)Subdirs: $ (subdirs)$ (Subdirs ):$ (Make)-C $ @
Generally, a pseudo-target is not dependent on another target. When a pseudo-target is not dependent on any target, we can only use the make command to specify it as the ultimate goal of make and execute the command defined by its rule.
There is also a special pseudo-target -- all. If we create multiple executable programs in a directory, we can describe t
parameter is valid only for systems such as UNIX.
-Z Adds a comment for the compressed file.
-$ the volume name of the disk on which the first compressed file is stored.
-
Instance
Compress files
# zip-v Cp.zip a.c B.C c.c e.c adding:a.c (in=0) (out=0) (stored 0) adding:b.c (in=0 ) (out=0) (stored 0%) adding:c.c (in=0) (out=0) (stored 0) adding:e.c (in=0) (out=0) (stored 0) total bytes=0, compress Ed=0-> 0% Savings
Compress files
# [Root@ubuntu a]# zip-v Cp2.zip *
Compressed dir
"Oldboy" test.txtTestLiyao]16.sed Stream Editor Editor Linux The Three Musketeers are good at fetching.'/oldboy/d ' Find the row containing the Oldboy, and then delete the lineDelete-N Cancel the default output-n '//p '-I modify the file#查找替换' S#oldboy#oldgirl#g 's## #g[Email Protected]@@gS///g17.awk Linux Three Musketeers boss is good at fetching columnsNR line number and18.alias setting aliases, aliases for commandsAlias rm= ' echo do not use RM command. 'Ways to cancel Aliases1. \CP2./bin/
First, the Linux directory structureDo you want to know why some programs are located under/bin, or/sbin, or/usr/bin, or/usr/sbin directories? For example, the less command is located in the/usr/bin directory. Why not in/bin, or/sbin, or/usr/sbin directory? What is the difference between all these directories?In this article, let's review the file system architecture of Linux and understand the meanings of the top-level directories.Blue : Indicates directoryCyan : Indicates a linkBlack: Indicate
Transferred from: http://www.cnblogs.com/JCSU/articles/2770249.htmlDo you want to know why some programs are located under/bin, or/sbin, or/usr/bin, or/usr/sbin directories? For example, the less command is located in the/usr/bin directory. Why not in/bin, or/sbin, or/usr/sbin directory? What is the difference between all these directories?In this article, let's review the file system architecture of Linux and understand the meanings of the top-level directories.Blue: Indicates directoryCyan: In
After the installation of the Linux system, it is found that Firefox video is not playing and always prompt to install Flash. And according to the Firefox browser prompts Flash plugin installation always failed, wood can only manually install Flash plugin.To flash official website: http://get.adobe.com/cn/flashplayer/download system corresponding Flash plugin, my Computer download is install_flash_player_11_ Linux.i386.tar.gzUnzip the *.tar.gz file: tar-zxvf filename. tar.gz1, after the flash af
-level cache, if not found, create proxy objects, and so on when necessary to query the level two cache and database.
What the merge means:
What the merge means:
If an instance of the same persistence identity (identifier) exists in the session, overwriting the old persisted instance with the state of the object given by the user
If the session does not have a corresponding persistent instance , try to load from the database, or create a new persisted instance, a
1. What is the command to move a file or folder?Mv2. What are the command parameters for copying a file or folder?Cp3. Forcing the deletion of a file's command parametersRm-r4. Force delete a folder's command parametersRm-rf5. Is the production capable of performing RM-RF/No6. Switch User's command parameters with execution environment variable file and into home directorySu-xxx7. Ordinary users want to temporarily get root maximum permissions, modify
subdirectory executes make;
2. When using this shell loop method, the directory parallel processing function of make is not used.
With a pseudo-target, you can solve the above two problems.
Subdirs = Foo bar Baz. Phony: subdirs $ (subdirs)Subdirs: $ (subdirs)$ (Subdirs ):$ (Make)-C $ @
Generally, a pseudo-target is not dependent on another target. When a pseudo-target is not dependent on any target, we can only use the make command to specify it as the ultimate goal of make and execute the comm
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.