application installation directory, which used to be a popular part of the farm, is now basically under/user.Root; home directory for super usersSbin: A management class command that only the root user can executeSRV: Storage of various service data provided by the systemTMP: Temp file directory periodic cleanupUser; third-party program installation directory, second root of Linux/user/local: For compiling and installing third-party applications/USER
Copy the built-in cheat sheet to your local directory.
# CP/ usr/local/Lib/python2. 7/Dist-packages/cheat/cheatsheets/*/home/avi/.cheat/
ConclusionThis awesome tool in many cases serves as the "savior" role, giving you the information you need, information that is not redundant, not blurred, and, conversely, hitting the point. This is a tool that everyone will need, very simple to create, install, use and understand, the tool is promising.This git repository has adde
Beginners Linux generally need to close a few things1 firewall/etc/init.d/iptables stopTurn it off Chkconfig iptables off2 Temporarily close SELinuxGetenforce is the SELinux state.Setenforce 0 Setting SELinux to become permissive modeIf Setenforce 1 is set to SELinux becomes enforcing mode3 Changing the configuration file requires restartView and remove spaces and explanatory textCat/etc/selinux/config | Gr
Simple tips and commands for linux beginners (3) ctrl + c terminate the current process (entering the writing command status) ctrl + k delete the content from the cursor to the beginning of the line ctrl + u delete the content from the cursor to the End of the line Home key move the cursor to the End key move the cursor to the beginning of the line... information simple tips and commands for nbs
Correct some misunderstandings of ctime for Linux beginners in order to distinguish ctime from mtime when they first come into contact with ctime. The mistake is that ctime only changes when the file or directory permissions change, A big mistake! After my own experiments, I have made a lot of google documents, which are summarized as follows: 1) the article...
Correct some misunderstandings of ctime for
10 tips for Linux beginners 1. linux is a case-sensitive system. For example, Mozilla, MOZILLA, mOzilla, and mozilla are four different commands (but only the fourth mozilla command is actually valid ). Also, my_filE, my_file, and my_FILE are three different files. User login names and secrets are also case sensitive (this is because UNIX systems and C languages
packing and decompression, but the two processes are separate, and in general, the two processes are not separate, but instead they are packaged into a single compressed package in a single step with the TAR package. The following three compression methods are called using the TAR command respectively to complete a step to package multiple files into a single compressed package. 1. Invoke gzip with tar to generate a compressed package File1,file2,file3 TAR-CZVF file.tar.gz file{1,2,3} 2. Call b
For beginners of C Programming in linux, If You Want To compile a url Decoding program, you may encounter the following problems: Linux general technology-Linux programming and kernel information. Problem Background: fedora 10 is currently used. Every time a resource is downloaded from CSDN, if the file name of the res
# Realtek Semiconductor Co., Ltd. rtl8111/8168b PCI Express Gigabi T Ethernet controllerdevice=eth0bootproto=nonehwaddr=fe:ff:ff:ff:ff:ffonboot=yesnetmask=255.255.255.0ipaddr= 192.168.1.120gateway=192.168.1.1type=ethernetFive, if you have a complex problem or think for a long time there is no answer to the knowledge point, suggest you can go to see someone else's blog, learn others experiment and experience, and then digest, absorbed into their own, here is recommended that everyone must do a g
/directory: Create a user and then specify the user's home directoryDeleteUserdel User name: Just delete the user but do not delete the home directoryUserdel-r User name: Delete user with home directory deleteTo switch users:Ssh-l User name-P 22 HostExample: Ssh-l tom-p 22 192.168.17.131Su-user name Group ManagementAdd toGroupadd Group NameUseradd User name-G group nameDeleteGroupdel Group NameAttention:If there are users under the group, can not delete permissions for the file:Normal files: In
RW but no X, we have no way to access the files under the folder.So, does that mean that the X permission on the folder should be given? Of course not, when the folder has W and x permissions, we can delete any file under the folder, even if we do not have any permissions on the following files. Let's look at an example:1. We revise Jonathan's authority over Jonathantestfolder to make it rwx2. Use the root account to create a file rootfile.txt under Jonathantestfolder and set permissions so tha
, I have been stuck in these things do not know how to get started, let alone find a Linux-related work. After learning the management, and simple network services to build the time or only will read online search, and then a word does not fall out. Skillfully, it can be used normally. Unfortunately, for example, when building a service is not successful, whether reading, online search can not solve the problem. Or, the service has just been built up
[Original] Simple NFS configuration in linux-suitable for beginners-general Linux technology-Linux technology and application information. For more information, see the following. Simple NFS configuration in linux
Copyright www.itshanghai.net
First, let's take a look at wh
Ubuntu forgot password. Workaround:http://blog.topspeedsnail.com/archives/6042.Learn the Tutorial:Http://www.ee.surrey.ac.uk/Teaching/Unix/unix2.html.In addition, the Linux Learning Resources link, also only looked at two, the content is many:Https://linux.cn/article-2890-1.html.The command line appears there is stopped jobs problem, solution:http://blog.csdn.net/allen_infosys/article/details/51152045.Another record of some knocked-out commands, the n
configured
STR Not Configured
Str is an empty string
STR is configured not to be an empty string
VAR=${STR-EXPR}
var=expr
Var=
Var= $str
VAR=${STR:-EXPR}
var=expr
var=expr
Var= $str
VAR=${STR+EXPR}
Var=
var=expr
var=expr
VAR=${STR:+EXPR}
Var=
Var=
var=expr
VAR=${STR=EXPR}
str=exprvar=expr
STR does not changeVar=
STR does not changeVar= $
: Systemctl start service name. Service/service Service Name StartTo view the health status of a service: Systemctl status Service name. Service/service Service Name StatusUnzip the installation software: Tar xzvf *.tar.gz->./configure->make->make InstallCheck whether the software is installed: Rpm-qa|grep installed software nameSearch whether a specified process is running: Ps-aux|grep process nameUsing Yum to install software: Yum install software name (service name)Use RPM to install software
To partition large files in Linux, such as a 5GB log file, it is necessary to divide it into smaller files, which are segmented to facilitate reading by the normal text editor.Sometimes, you need to transfer large files of 20GB, Linux training tutorial pieces to another server, you also need to split it into multiple files, so as to facilitate the transfer of d
Linux Beginners should master 50 basic commands-general Linux technology-Linux technology and application information. The following is a detailed description. Author: Chao Hua Xi
Parameters and tips: Click man to close your eyes.
1. ls-a lists all files in the current directory, including hidden files with a. header
One-sentence UBUNTU tips-getting started with Linux (for beginners)-General Linux technology-Linux technology and application information. For details, refer to the following section. View the installation content of software xxx
Dpkg-L xxx
Search software
Apt-cache search Regular Expression
Find the package of
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.