Linux system has 7 operating levelsLevel 0: System shutdown status, the system default operation level cannot be 0, otherwise it will not start normally; for example: init0= shutdownLevel 1: Single user working status, root privileges for system
The command we use when using Linux is nothing more than command + options + parameterssuch as the common shutdown-h nowWe can see clearly that the shutdown is a shutdown command-H is the option now is the parameterFor example, let's have a ll
1. PhenomenonIn Linux, remote connection with SSH often occurs after a long period of disconnection, or is unresponsive, like the feeling of stuck (keyboard input not in).2. SolutionLinux settings on the SSH client# sudo vim/etc/ssh/ssh_configAdd
Two methods of synchronizing time:1) Synchronize with a known time server (Shanghai), then delete local time, set to Shanghai time. #date# ntpdate Time.nist.gov# Rm-fr/etc/localtime#ln-S/usr/share/zoneinfo/asia/shanghai/etc/localtime#date2)
PS A shows all programs under the current terminal, including other users ' programs.2) ps-a Show All Programs.3) PS C lists the program, displays the actual instruction name of each program, and does not include the path, parameter or the
SCP command:1. Copy Local files to remote: SCP filename user name @ computer IP or computer name : remote path2. Copy the file back to local from remote: SCP username @ computer IP or computer name : File name Local path3. Copy the local directory
When we use the Linux command too much, we may forget the command we have just executed, and we can view the history commandThe usage of history is as follows:So we can see what commands we've just executed on the server ...!! The two exclamation
1. Press up and DOWN ARROW keys2. History|more pagination Display3, Vi/etc/profile find histsize=1000, indicating that you can save up to 1000 history records.4 、!! Execute the most recently executed command5, History|head or history |tail see the
Linux Services and processesHttp://www.cnblogs.com/jamesbd/p/3567654.htmlLinux Services and processes1.Application2.Service Scripts3.configuration file4.View Process5.View Ports6.crontab Mission Planning requirements: Build a Web server, with Apache
The less tool is also a tool for paging through files or other output, which is a very powerful tool for Linux to view the contents of a file. Less uses more flexibility than more. The more command can only be flipped down and the end will
2017/6/21The concept of time is vital in life, and is equally important in the operating system, its function in the system is not only to provide users with time so simple, the kernel of many mechanisms are dependent on the time subsystem. However,
CharacterRange of characters in a single character: [] [A-z]Inverse character ^: [^ 0-9] not a numberAny character: '. ‘Kinsoku characters: ^ $, ^root//note differs from [^], empty line represents ^$Metacharacters and repeat settings:character
Overview function of kernel: process Management, file system, network function, memory management, driver, security function process-Related: process creation (FORK-EXEC)--Process priority (PRI (0-139), Nice)--process memory (Page frame)-->IPC
Daily work, you will encounter a bunch of directories, how to check the size of each directory, we all know the du commandFirst 10 listed[email protected]/scripts] #du-sh * | head120k2017031510248k201703151423m2017031515664k2017031516656k20170315172.
When using Ipython under Centos7, a warning was found, prompting that the history could not be saved[Email protected] pip-9.0.1]# Ipython/usr/local/lib/python3.6/site-packages/ipython/core/history.py:226: Userwarning:ipython history requires SQLite,
http://blog.csdn.net/clare504/article/details/174106431, Windows under the scheduled start program can take the system's plans and tasks, scheduled start the service can add a Start service batch program in the scheduled task.For example, when you
Windows configuration:Open the remote Connection service for Windows first, allowing users to connect remotely to the machine:Right---My Computer, properties, remote--allow users to connect remotely to this computerLinux configuration:Here we need
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