2.23/2.24/2.25 Find commandWhich search for files and file aliases, command #which lsWhere according to the library, to be updated, there are limitations #whereis lsLocate fuzzy search, not accurate #locate lsInstall locate, command for #yum install-
2.18 Special Permissions Set_uidPermission S,set_uid, in addition to the owner of the user, the execution of an instantaneous temporary owner rights;The file to be satisfied is a binary executable file;User password file/etc/shadowFile plus Set_uid
Brief introductionIPC mainly has 3 kinds of mechanism: Message queue, semaphore and shared memory. As with files, IPC must be created before use, using the IPCS command to view the IPC tools currently in use by the system:As can be seen above, an
If we have more than one Linux server, and need to manage maintenance, if you are using putty, usually you will open multiple Windows without a window is a server account login. This can make you confused if we can manage through the following so is
1. $PATH2.ls-al ~ (~ Show hidden files)3 CD ~//back to your own master file4.cp/var/log/wtmp. Copy to current directory, last "." Don't forgetLs-l/var/log/wtmp wtmpCp-a/var/log/wtmp wtmp_2Ls-l/var/log/wtmp wtmp_2The entire data feature is exactly
1. Connect to the server, go to the folder where you want to store the files (my is cd/root/developer), download tomcat, get the apache-tomcat-9.0.4.tar.gz file.wget
After the basic system installation is complete, we need to install some applications for server management and desktop environments to further improve the usability of the server. What we have chosen here isHow to Install code package
1.find/data/-type f-exec rm-f {} \;Delete all files under directory/data2.\ let a meaningful character take off the vest. Current directory.. Parent Directory. Representative point number3.find/data/-type F|xargs rm-fDelete all files under directory/
Serial numberSymbolDescribe1> or 1>Output redirection, which clears the contents of the file before2>> or 1>>Append output Redirect, append content at the end of file, does not empty content before file3Error output redirection, which clears the
printf formatted output basic formatprintf [format] [text 1] [text 2]:Common format Substitutions
%s
String
%f
Floating-point format
%c
ASCII character, which is the first character that
1. Turn off SELinux function①selinux configuration file path/etc/selinux/config② View selinux Statusgetenforce③ Close SELinux
Method One: General method → Modify the configuration filevi /etc/selinux/configModify Selinux=enforcing to
#创建yum云, you need to mount the disc to the local path first:$sudo Mkdir/mnt/cdrom #创建挂载点, cdrom the folder you created for yourself$sudo mount-t iso9660/dev/sr0/mnt/cdrom #挂载光盘到/mnt/cdrom Path, the file type is: iso9660. Disc path:/dev/sr0
The virtual machine comes with the Firefox version is too old, so on the official web download the latest installation package, after running the prompt:$ Firefox for file/home/parallels/firefox-32/libmozgtk.so: libgtkor directory Couldn'Note
Linux second-week study notes (+)2.19 Special Permissions Set_gidSpecial Permissions Set_gid: This permission can be used on binary executables as well as in directories. The special permission set_gid permission bit is the function on the group
First, the directory file introduction: Everything under Linux files, hard disk is a file, CPU files, network card is also a file, and Linux does not have a suffix name this said, but in order to facilitate user operation, so the use of suffix name
Linux ssh service, linuxssh
To manage remote linux host services, the ssh service is used to manage remote hosts.
Run the command "rpm-qa | grep openssh" to view the linux host ssh package.
Ssh services are divided into server and client
Server:
Configuration details of zookeeper installation on a single machine in LinuxInstall ZookeeperZookeeper is installed in three modes: Standalone mode, cluster mode, and pseudo cluster mode.1. DownloadTo download the object, select .tar.gz.Environment:
How to install software packages in different formats in LinuxInstallation Methods of software packages in different formats in Linux 1. deb package
1. Double-click the software package in ubuntu and follow the instructions.
2. Run sudo dpkg-I
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