Establish a soft link ln-s example: Ln-s b AExplanation: Associating folder A with folder B, accessing folder A, actually accessing the Ask price clip BDelete Soft connection RM-RF a directly deletes the soft connection of a folder with A and B.
Disk space-related commands1.mount: Mount file system (including hard disks, discs, floppy disks, etc.)MOUNT-T Device Type Storage directoryEg: under directory/mnt, mount the iso9660 file system: Mount-t Iso9660/dev/hdb/cdrom2.umount: Unmount The
1. Using this method is less efficient and is not aware of possible errorsFind. -name "*.pc" |xargs wc-lView total is not the correct value directly.Reason:There is a problem in this way, if the total number of PCs to millions of, will be
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
Some configuration under Noi-linux (C + +) VIM programmingFrom the ancient programming artifactSimplified configuration for other blogs on the webConfigurationset t_Co=256 //开启256色模式 默认是16色 让你的vim更好看set nu //显示行数set tabstop=4 //设置缩进为4格
1, chkconfig configuration BootCreate an executable script that executes the service in/ETC/INIT.D, giving the script executable permissions. If it is installed through Yum or RPM, and there is a corresponding startup script in that directory, you
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
Recently in the learning go language, want to install IDE liteide, in accordance with this tutorial to install, when the implementation ./build_linux.sh of the qmake commend not found word, so in the online search, said that the cause of this
In Linux, it is common to use crontab to do planning tasks. This document records a troubleshooting processFault descriptionSet up Scheduled Tasks in Crontab, execute the script 3 o'clock in the morning every dayConrtab (3 points) Tomcat
1. Upload2. UnzipMatch the environment variable.Go to the bin directory of jdk-9.0.4Execute the./jshell commandThe first time I have seen the following situationWait for a while no response to Ctrl + Z. And then re-execute the./shell commandTimed
Find CommandThe Find command is used to search for additional search commands: LS \whereis locate (yum install-y mlocate after installation received manual generation of corresponding database updatedb)Format: find[path [Type]Find [path]-name
Common commands and application scenarios in Linux and Common commands in linux1. Switch users
Command: su-paytest. Press enter to enter the password.2. view the File System
Command: df-a (used to view the usage of the file system)
Command:
Linux jar package background running command, linuxjar
Run the following command to run the jar package in Linux:
Method 1:
Java-jar shareniu. jar
Features: The current ssh window is locked. You can press CTRL + C to interrupt the program
Install mysql in Linux (yum and source code compilation methods) and mysqlyum
Here we will introduce two methods for installing mysql in Linux: yum installation and source code compilation and installation.1. Install yum
(1) first check whether the
Install nginx in linux.
Inux version: 64-bit CentOS7
Before installing nginx, ensure that gcc, pcre-devel, zlib-devel, and openssl-devel are installed in the system.
Check whether a software package has been installed in Linux.
Installation command:
LInux SSH connection error and solution, linuxsshThis may occur when the Linux system accesses a remote host:
[kiosk@fundation20 ~]$ ssh root@172.25.20.1 -X@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING: REMOTE HOST
Question: iptables filters the address of the mongodb link, iptablesmongodb
HOST: aws ec2 linux
Service: mongodb
Iptables rules:
1. The host allows the specified pc to access port 27017.
Iptables-I INPUT-p tcp -- dport 51376-m mac --
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