The most important thing in a Linux system is the root password, as long as you know the root password, you have all the permissions, and even kill yourself.For normal users, root can directly modify the gas password, usually passwd username[Email
(1) Enter the NIC configuration directory[Email protected] ~ #]cd/etc/sysconfig/network-scripts/Comments:CD indicates which level of directory to enterCD behind and directory to add a space, otherwise will be reported no such file or directory
Explain the output of the free command on Linux.Here is the result of the free run, with a total of 4 rows. For convenience, I added a column number. This can be seen as a two-dimensional array fo (free output). For example:
FO[2][1] = 24677
1. What is SELinuxSELinux, kernel-level enhanced firewallElinux provides a flexible, mandatory access control (MAC) system embedded in the Linux kernel. SELinux defines the access and transformation permissions for each user, process, application,
Sync Synchronizes data from memory to the hard disk.shutdown Shutdown instructions, you canMans shutdown Take a look at the help documentation. For example, you can run the following command to shut down:shutdown–hTen ' Thisserver would shutdown
1. Environment:Lsb_release-a[Email protected]:~$ lsb_release-aNo LSB modules is available.Distributor Id:ubuntuDescription:ubuntu 16.04.3 LTSrelease:16.04Codename:xenial2. Install Docker first and run it (already written and not repeat)3. Pull the
Variableprogram = instruction (read-only) + data (location variables, lists, arrays of data stores)Directives can be called through positional variables, and data passed to the scriptA variable name can refer to a "named Memory Space": The memory
Linux for each user, the system limits its maximum number of processes. To improve performance, the maximum number of processes per Linux user can be set according to the device resource situationYou can use Ulimit-a to display the current various
Users, groups, and permissionsSecurity context:1. PermissionsExamples of permission definitions:File:Tom and Jerry Run/tmp/inittab.new Tom (owner) Tom (group)TOM:Ls/tmp/inittab.newJerry:Ls/tmp/inittab.newWill only run Tom because the owner of the
I believe everyone has heard of the Linux system, but for this system, always make the novice feel dazed, huge system. Here is a section of Baidu Introduction:Linuxis a set of free-to-use and free-spread classesUnixoperating system, is based on
1, first check which version of VNC you have installed#rpm-qa |grep VNC---------------------------------------------------------------------Tigervnc-1.1.0-5.el6.x86_64Tigervnc-server-1.1.0-5.el6.x86_64If not installed, you can use the following
Today we learned about the process scheduling of Linux systems, and the process scheduling is to allow the system to automate the list of commands or scripts we have written in the future at some point in time, so that the task can be completed on
If the machine has Python2 installed, try not to control him, use Python3 to run the Python script is good, because there may be a program dependent on the current python2 environment,Like yum!!!!!.Do not move the existing PYTHON2 environment!Do not
It is said that Professor Li of a 211 university in Dalian is getting more and more serious. Not only does it continue to require every undergraduate class he brings. All have to write a copy of the thread and the tradition of copying programs, and
Shell Process Control and shell Process
Unlike Java, PHP, and other languages, sh process control cannot be blankIf elseif statement syntax format:
if conditionthen command1 command2 ... commandN fiWrite a line (applicable to terminal
Unable to obtain lock/var/lib/dpkg/lock, vardpkgProblem
When you use apt-get install, the following message is displayed:
E: unable to obtain the lock/var/lib/dpkg/lock-open (11: The resource is temporarily unavailable)E: The management directory (
Docker ~ Relationship between docker-compose and VS solutions, and docker Network Solutions
Back to directory
Generally, after adding a solution to VS, We will update the module or business to add multiple APIs and web projects. This is similar to
Rsync: a very practical file synchronization command, rsync is very practical
Sync is a file synchronization and data transmission tool in Linux. It can be used to synchronize files and release code.
1. install.
Yum install-y xinetdYum insatll-y
Linux debug tool and linuxdebug Tool
Development in linux will inevitably encounter bugs, but debugging becomes difficult because there is no graphical IDE. In fact, as long as you master some common debug tools, some errors can be quickly solved,
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