This digest from https://www.cnblogs.com/zzyoucan/p/7764590.htmlWhen we work in a terminal or console, we may not want to occupy the screen because of running a job, because there may be more important things to do, such as reading e-mails. For
Cat/etc/redhat-release #能看到是什么linux和版本1. # uname-a (Linux view version current operating system kernel information)Linux localhost.localdomain 2.4.20-8 #1 Thu Mar 17:54:28 EST 2003 i686 Athlon i386 Gnu/linux2. # cat/proc/version (Linux view current
Steps
Using ssh-keygen the Generate key pair
The prompt asks for information such as saved location, password, and so on. Use all default information to
Use to ssh-copy-id [email protected] copy the public key to the account of a server
3.7 su Command3.8sudo command3.9 Restricting root Telnet3.7SU commandThe SU command can switch identities. Not very safe.Plus the bar can be completely switched.Root can switch to a normal user.Normal users can switch to normal users.SU command
Mount the new hard disk after the input fdisk-l command to see the current disk information can be seen in addition to the current first hard disk and a second hard disk SDB, and then partition into the Fdisk command with FDISK/DEV/SDB, enter H can
Shared Memory IPC principleThe inter-process communication mechanism for shared memory is primarily used to implement large amounts of data transfer between processes, as shown by the use of shared memory between processes for large amounts of data
File Search command: locate Whereis which findString Search Command grepLocateUsage: Locate file name -Because the locate command searches in the background database by file name, it does not need to search the entire system file, all searches are
1. Hierarchy of Linux file systems1) understand the tree structure of the Linux file system:In a Linux or Unix operating system, all files and directories are organized into an inverted tree structure that starts with the root node.2) Master the
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
Download the Python3.6.4 installation package using the wget commandwget https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tgzUnzip the Python3.6.4 using the tar commandTar zxvf python-3.6. 4. tgzEnter the Python-3.6.4 directoryCD python-3.6.
1. View how files are encoded: File commandfile Test_file.txttest_file.txt:ISO-8859longfile train_model.py Train_model.py:Python script, UTF-8file+However, the file command is not reliable, and a gb2312 encoded document is judged to be ISO-88592.
will beWindowsin theF:\sadocfolder Right click Set as shared directory, share user asAdministrator# yum-y Install cifs-utils # installing the Mount.cifs package# mkdir/windows # Create mount directory windows# mount.cifs//10.0.0.1/sadoc/windows/-o
In Linux, how does one view the developed port ?, View development ports in linux
Introduction: on Linux servers, it is often necessary to check whether certain ports of the system are enabled normally, or to know which processes occupy specific
Practical tutorial on online project configuration of Linux system cluster architecture (I): linux practice
Project Overview
The entire project includes the following application projects:
1. User APP
2. Merchant APP
3. Business Platform management
Share common Linux Bash and Vim commands, bashvim
I am a Linux cainiao. I only use some basic commands and record them here.Bash shortcut
Command
Description
Ctrl +
Move to the beginning of the command line
Ctrl +
The date and week condition test in crontab in linux, linuxcrontab
Crontab expression. The relationship between the first four items is "and", which must be met before execution;
However, the week and the date of the previous month are in or
Differences between ps aux, ps-aux, and ps-ef in Linux:-aux-ef
The ps command in Linux is short for Process Status. The ps command is used to list the processes currently running in the system. The ps command lists the snapshots of the current
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:
Set and linuxset in linux
1. set-e
"Exit immediately if a simple command exits with a non-zero status ."
The code that appears after "set-e". Once the return value is non-zero, the entire script exits immediately.
2. set-o pipefail
"If set, the
Brk () and mmap () memory ing, brkmmap memory ing
Reference blog: http://www.cnblogs.com/huxiao-tee/p/4660352.html
Virtual Address Space Distribution of linux processes on the x86 Platform (versions earlier than 2.6.7)
The mmap and stack
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