1. When logging into the Linux system, the command line interface,[[email protected] Desktop] #Name of the directory where the user name hostname is locatedThere are two characters:#: Indicates the current user entered the root userWhen configuring
But many people know Deepin, on the one hand very want to experience deepin, on the other hand do not want to partition installation or experience installation, so look at the virtual machine, but Deepin Linux has not been optimized for the virtual
1. How to delete the file name with "-"Use--(2 bars)#touch---%f-%t#rm---%f-%tRm:remove regular empty file '-%f-%t '?Use absolute Path and tab special file name#rm/root/-%f-%tRm:remove regular empty file '/root/-%f-%t '?2. Delete files that contain
1. Pwdprint working directory Print current path 2.cdchange directory change path, switch path cd/home (no option, parameter) Cd/home/book in order to simplify input: CD/switch to root directory CD ~ Switch to the current user's home directory
Command name: grepCommand function:Text Lookup or search toolDetailed Description:You can also search for text with regular expressions and print out the matching rowscan also be used to filter and search specific strings, using very flexibleCommon
Recently attended a friend's wedding. Far away, without taking the computer. So it hasn't been updated. Very ashamed, starting from today to formally update the study content.First, VIMVim is the upgrade version of VI, the biggest difference is that
vim/etc/security/limits.conf Add the following content* Soft Nofile 65535* Hard Nofile 65535and add boot bootVim/etc/rc.localUlimit-shn 65535Under Nginx process Check maximum file open number script#!/bin/bashFor PID in ' PS aux | grep Nginx |
/etc/passwd:User name: Password: uid:gid: Comments: Home directory: Default Shell/etc/group:Group name: Password: GID: List of users with this group attached to the group/etc/shadow:User name: Password: Last time the password was modified: Minimum
1, installation vsftpd Yum-y Install VSFTPD2. Start/stop/restart Start: Service vsftpd startSTOP: Service vsftpd stopRestart: Service vsftpd restart3. Configuration modification To make a backup before modifying the configuration
Network model of the container:Closed container:There is only one interface: LoopbackNot participate in network communication, only for applications without network communication, such as backup, program debugging, etc.--net NoneBridged
1, Environment:FTP for VSFTP. The user named Test is restricted. The restricted path is/home/test2, build the User: under the root user:useradd-d/home/test Test//Add user test and make test user's home directory as/home/testIf the directory already
[Ctrl] + [ALT] + F7 open the graphical interface.[Ctrl] + [ALT] + T open terminal[Ctrl] + D = Exit exits terminal[Ctrl] + L = Clear Empty terminaltab is an important hotkey, be skilled in usingShutdown-h now immediately shuts down the
Search commands in Linux
I. Search commands1. which: Find the absolute path of the executable file
2. whereis searches for files. It searches for files related to the given file name through a pre-generated file list library.Syntax: whereis [-bmsu]
Build svn on Linux and build Linuxsvn
Yum-y install subversion
2. Create a version Library
Svnadmin create/home/svn/test
3. Configure the user
Vim/home/svn/test/conf/passwd
Username = Password
4. Configure permissions
Linux Command learning and linux Command Learning
Everything in Linux corresponds to a file.
Root:/Sbin/Usr/sbin
All users:/Bin/Usr/bin
Bin: binary
Usr: user
Sbin: super binary
-A: all
-L: long:
Drwxr-xr-x
File Type: d directory
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