before very little contact with Linux, so there is little understanding of this, and slowly contact to understand a little more, just use a blog to record my understanding of the growth of the Linux process.
About LinuxLinux operations and
SystemUNAME-A # View kernel/Os/cpu info head-n 1/etc/issue # view OS version Cat/proc/cpuinfo # view CPU Information hostname # view computer name LSPCI-TV # List all PCI devices LSUSB-TV # list all USB devices Lsmod # list loaded kernel Modules env
In the process of learning Linux, we will generally use virtual machines to build the Linux environment we need, because the system will die in various test situations, and the installation of the environment is a waste of time, on the virtual
First, the development process of Linux1. The world's first computer, born in 1946, was during the Second World War.2, the Linux kernel version is composed of three parts, namely the main version number, minor version number, the minor version
Windows的最基本操作就是双击打开加上一些文件的复制粘贴,创建文件/文件夹 和删除文件/文件夹以及关机等等。同样,Linux也有一样的功能,只不过是从鼠标的左右键变成了键盘的字符去实现这些功能首先打开终端,在Linux图形界面空白处点击鼠标右键,选择Open Terminal,弹出窗口如下:
ls Options Parameters ls 命令是显示当前目录下所有的文件及目录的,ls 后面跟的选项 -a 是显示隐藏文件及目录的, -l 是显示文件的详细信息(
As a beginner of Linux, a variety of errors occurred during the installation process. Here to share the mistakes I have encountered with you, but also hope to have some help for beginners. Several common network configuration problems are listed
One, command prompt format1. Default format:[Email protected] ~]#[user name @ hostname prefix directory path suffix]#|$ (Root is #, $ for normal user)2. Query the current prompt format[Email protected] ~]# echo $PS 1[\[email protected]\h \w]\$ can
When we need to pull the remote server code to the local server, we first have to make sure that the correct git account has been configured, from the ~/.gitconfig file (for hidden files, need to use Ls-a view), and ~/.ssh under Id_ Rsa.pub to
1. Boot the system with the Linux boot CD or the U-disk and go to the console interface2. Mount the glibc unmounted hard drive, assuming the/dev/sda2.
If it is a LVM2 file system, you need to find the name of the logical volume and activate
Kickstart unattended InstallationThe first step is that the PXE server Yum is configured as a rhel6.5 CD-* hung on rhel CD------CP media/ /var/ftp/rhel6.5**-Install System-config-kickstart prior to configurationImplement kickstart unattended
program Process Daemon Process
1 The program is just a set of ordered sets of instructions, which itself does not have any meaning of running, it is just a static entity. 、
The 2 process is different, which is the execution of a program on
* * Linux Basic Operations common commands (iv) * * Linux System administration commands1, Top: View system resources, refresh every three seconds, press Q: Exit the browsing State2. Free: View memory information,-m, display in MB units3, Netstat:
PWD Displays the current pathCD to switch directories. .. ~LS display file (clamp)-L Show more information-a show all, including hidden files (clips)mkdir Creating a Folder-P Recursive creationTouch Create a blank fileEchoCat, TAC, more, tail view
* * Some other questions before starting:* Motherboard Virtualization Open: To run some operating systems, virtualization software and virtual machines, hardware virtualization needs to be enabled. In most cases, operating systems that do not
Configure permanent hostname/etc/hostname permanently modifies IP address, subnet mask, gateway address NIC profile/etc/sysconfig/network-scripts/ifcfg-eth0 display current network interface (NIC) Information nmcli Connection show uses commands to
View version[[email protected] Python-2.7.8]# pythonPython 2.6.6 (r266:84292, Aug 18 2016, 14:53:48) [GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] on linux2Type "help", "copyright", "credits" or "license" for more information.
Operation:
wget
First the project Maven clean and then the MAVEN install on the project to hit the jar package, and then to the Linux to delete the previous version of the processView command ps-ef for Java processes | grep javaKill Process Kill-9 Process numberRun
Remote Management commands of wubantu and remote management commands of wubantu1. shutdown/restart1. shutdown command
The shutdown command can safely shut down or restart the system.
-R restarts PS (no options or parameters are specified. The
Supervisor installation (sentos7), supervisorsentos7
In fact, there are a lot of supervisor tutorials on the network, which are complicated. I have found some helpful tutorials for me and made some notes based on my own understanding.
Link:
Linux system programming: Process Control (fork), linuxfork
In linux, fork is used to create a sub-process. This function has the following features:
1) execute once and return twice. the return value in the parent process is the PID of the child
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