Find is a commonly used Linux command, but we generally look for it not only, but also further operations. at this time, the role of exec becomes apparent. Example: find. /-name & quot ;*. txt & quot;-execls-l & quot ;{}& quot ;\; search for the txt
In console mode, you cannot use "right-click & gt; about" to obtain information about the operating system. In Linux, you can use the uname command to help you complete these tasks. Uname is the abbreviation of unixname. In the console, you only
CentOS is the product of source code re-compilation of RHEL (RedHatEnterpriseLinux), and many known bugs have been fixed on the basis of RHEL. compared with other Linux releases, CentOS has reliable stability. During system maintenance, you may need
Linux command line? Are you sure you want to know? ?? How can I bits in the baking environment? What is the lesser? When about when? Which of the following keywords can be used to bake U images? Are you angry? Z Leng? Inux or linux command line
As we all know, linux devices are very special. The system always reads the device in the same way, and the difference between devices is done by the device driver. Because of this, it is very easy to manage devices. Linux also provides virtual
In fact, I have also written a blog post about bind dual NICs in Linux. Today, I conducted another binding experiment and found that it is much simpler than the original binding. It may be caused by different system or system versions. A series of
A long time ago, an ftp server was installed with vsftpd, but the user data source was not modified. by default, users in the system were used. The ssh port is enabled without any restrictions. after a user logs on to the server, most of the content
Linux ssh logon restriction ip method vi/etc/hosts. allowsshd: 192.168.0.100: allow // allow IP192.168.0.100 to log on to sshd: 192.168.0.: allow // allow IP192.168.0
How to restrict ip addresses for ssh logon in linux
Vi/etc/hosts. allowSshd: 192.16
Yesterday, we encountered a situation where we wanted to delete a large number of files in Linux. we needed to delete several 100,000 files. This is the log written by the previous program, which is growing fast and useless. At this time, the common
Tail name: tail-outputthelastpartoffiles function description of the last part of the output file: The tail command writes the file to the standard output from a specified point, you can use the-f option to conveniently view the changing log files,
Alias command function description: some of the commands that we often use but are very long at system management. Then we can create an alias for these long strings of commands. This long string of commands can be directly replaced by an alias. The
#! /Bin/sh # set the variable bak_path =/root/bak_linuxdate = $ (date + % Y % m % d) log_file = $ bak_path/$ date # log. log # write the execution result to the log: exec1 & gt; $ log_file2 & gt; & amp; 1 # package the directory to be backed up in
Disable the ctrl + alt + del key combination & #8226; by default, ctrl + alt + del is a delay of 3 seconds to restart the system. the delay between sending an alarm message to the process and killing the process signal is 3 seconds. & #8226;
After Linux completes Kernel boot, the init initialization process will call the/etc/inittab configuration file (ps-aux | less, the init process number is always 1, is the starting point of all system processes. the init process also has a parent
Explain the output of the free command on Linux. The following is the free running result. There are 4 rows in total. For convenience, I added the column number. In this way, we can regard the free output as a two-dimensional array FO (FreeOutput ).
Overview when linux has been running for a long time and some partitions do not have available space, you need to delete some files. of course, you are preferred to delete large files. Check the usage of df-lh to find the large file that is larger
This method is useful in learning and work. The method is as follows: 1. first share the windows folder 2. use the following command in linux to mount the shared folder. Mount-tcifs // 192.168.1.102/studyshare/mnt-ousername = chocoleecifs indicates
If we manage enough servers, it is not difficult to enter the password every time. here we have a proxy method ssh-agent, the ssh-agent is actually a key manager. It can also be understood as a butler. we hand over the key to the butler to keep it.
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