Original URL: http://www.cnblogs.com/peida/archive/2012/12/11/2812294.htmlLN is another very important command in Linux, Its function is to create a synchronized link for a file in another location. When we need to use the same file in different
#
Administrator
$
Normal User
Drwxrw-rwx
d (Directory, file "-") rwx (owner) rw-(group) rwx (others)
Pwd
Print working directory prints the current working directory
CD [~] [
Linux commands:An instruction or program used to implement a certain type of function.The execution of the command depends on the interpreterShell (interpreter) system default interpreter for/bin/bashExecution process:User Send
Command summary:mkdir Create directory make Directorys (full name)-P (Recursive)Ls-l (Long) d (dieectory) displays the directory or file name list. -A (can show hidden files)Ls-f=ls-p (to view the file with different symbols at the end of the
Linux's soft connection is equivalent to the window system shortcuts, such as our desktop QQ and so on.A hard connection is equivalent to copying a file, but the difference is two file content synchronization. If you create a hard connection b for
Linux Basics | file directory Operations
This article for the author to learn the contents of Linux notes. Reference is made to the following articles: Linux files and directory management
In a Linux system, the directory structure is a tree
PHP is currently the most widely used web-based programming language, driving millions of web sites, including some large sites such as Facebook. This collection of 21 practical and convenient snippets of PHP code is helpful for each type of PHP
/* Creates a compressed zip file */ function create_zip ($files = Array (), $destination = ', $overwrite = False) {//if the zip file already exists and overwrite is false, return false if (file_exists ($destination) &&! $overwrite) {return false;} /
The structure of the 1:linux system is the inverted tree with/as the beginning
2:/directory of some of the basic directory and stored content:
/bin # #一些二进制可执行文件即系统命令, written scripts can also be stored in the use of the TAB key to make up.
/sbin # #
One uses the FSO class, the previous article also mentioned. Here are a few more examples.
Dim MyfilefolderSet Myfilefolder = New filefoldercls' Response.Write myfilefolder.moveafile ("F:\123\4561.exe", "F:\123\4562.txt")' Response.Write
Soft Connect ln-s source file destination file
Hard Connect ln Source file destination file cannot create hard connection to folder hard links cannot connect files on two different file systems
A hard connection records the inode of the
1. Create a new user accountUseradd-The user name of the new parameterParameter description:-C remarks > Add note text. Note text is saved in the remarks field of the passwd. -D login directory > Specify the start directory for user login. -eDate >
Files and directories Common command target
View Catalog Contents
ls
Switch directories
cd
Create and delete operations
touch
rm
mkdir
Copying and moving files
CyanobacteriaDate: 2018.7.3Foreword this article characteristic
to teach the fishing : Learn the command learning method, use: No longer rote, refuse to aimless;
accurate : All commands are executed through (environment for CENTOS7),
1.head-n file to view the first n rows of a fileTail-n file to view the following n rows of a fileTail-f files can be viewed in real time, such as the log is updated to display the last few lines in real time2. ln Source file destination file hard
Touch File # Create a blank file rm-RF Directory Name # does not prompt to delete a non-empty directory (-r: Recursive Delete-f Force) Dos2unix # Windows text to Linux text Unix2dos # Linux text to Windows text eNCA filename # View coded install Yum
1. Build the configuration that disconf needs to be installed.Installing LINUX:CENTOS7Installing zookeeper:zookeeper-3.4.6Installing redis:redis-3.0.0Installing nginx:nginx-1.8.0Installing mysql:mysql-community-release-el6-5.noarch.rpmInstalling
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.