When I was learning my brother's teaching video of Linux, I recorded my linux commands in my blog and made it easy for me to check them.Rights Management Command: whichBasic commandsCommand name: whichThe path to the command:/usr/bin/whichExecute
SSH is a shorthand for Secure Shell protocol, and is mainly used for remote logins!Previously logged on with Telnet (port 23) He is not encrypted, and SSH (22 port) is encryptedSSH has two important functions1, Remote connection Logon service2,sftp
The composition of the Linux system
Linux kernel: The kernel is the "heart" of the system and is the core program for running programs and managing hardware devices like disks and printers.
Linux Shell:shell is the user interface of the
ifconfig is a command that is used to display or configure network devices in a Linux system.Ifconfig English full Name: Network interfaces configuring (Web interface Configuration)Under the Windows system, you need to use DOS command ipconfig to
The Linux sed command uses script to process text filesSED can process and edit text files according to script instructions.SED is mainly used to automatically edit one or more files, to simplify the repeated operation of the file, to write the
1 iptablesThe iptables command is used to create data filtering and NAT rules, and the policy of setting data filtering or processing packets in the Iptables command is called a rule, which synthesizes multiple rules into a chain. 1.1 Iptablestype
1. CD entry2. cd. Exit3, cd ~ Enter the root directory4. LS Display file5. Ls-a can show hidden files6, Ls-al display the file, and can see the type of the file; start with D is a folder7. mkdir + Name Create folder8. Touch + file name creation file9
Implementation ideas:1. Provide the client with input instructions;2. Provide the service side that returns the result of the execution instruction3. Find out the solution of the return result of the server one cannot receive allService-side code
How to view version information under Linux, including the number of bits, version information and CPU core information, CPU specific models, etc., the entire CPU information at a glance.1. # uname-a (Linux view version current operating system
1.cat command to view plain text files (shorter): (Cat [Options] [file])Appendix:-N Display Line number-B Displays line numbers (not including blank lines)-A shows "invisible" symbols, such as spaces, tab keys, and so on2.more Command View plain
It is understood that there are two ways to create swap space under Linux, one is to create a swap partition, and the other is to create a swap file. This article records the method of creating a swap file, because I'm using this method:To add a
Inter-thread synchronization Sync: Work with one another to accomplish somethingMutual exclusion: Guaranteed access to shared resources integrity (you don't have me) Synchronization in POSIX threads: using semaphore implementations Semaphore:
The Qt5.6 solution is a bit different from the previous version, as follows:Install FCITX-FRONTEND-QT5 first.Then execute:
123
sudo cp/usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.
1. Optimize the maximum listening queue for the port/proc/sys/net/core/somaxconnDefines the length of the maximum listening queue for each port in the system, which is a global parameter with a default value of 128The default of 128 is too small for
Linux also has three more special permissions, namely:setuid,setgid,stick bit .-: Indicates generic fileD: Represents a catalog fileL: Indicates a linked fileB: Represents a block deviceC: Indicates a character deviceP: Indicates pipelineS:
Modifying configuration aliases in Linux# # # #用到的命令:Alias is used to see what aliases are in the systemSource let configuration take effectMethods for temporarily canceling aliasesUnalias temporarily cancel aliases\cp/mnt/test.txt/tmp using \
Currently there is a jar running, after uploading a new jar, you need to delete the old, execute the new, accidentally may have deleted the new, wrote a script, do the next
UBUNTU12 is installed properly under the VM11 version of the virtual machine, UBUNTU14 is not resolved under the virtual machine 11-14 version because some file permissions are not sufficient for installation to fail (UBUNTU14 installation failed).
The current domestic Linux more is applied to the server, and the desktop operating system more use of Windows. The main differences are as follows
compare
Windows
Linux
interface
interface
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