Hard links and soft links for LinuxThere are two ways to link: hard links and soft linksIn a Linux file system, a file saved in a disk partition, regardless of the type, assigns a number to it, called the index node number (Inode index).(1) Hard
Su-Used to initialize environment variables $PATH $HOME, etc.sudo su to root requires input of root password is not securevisudo Edit/etc/sudoers config file no command required to install Yum install-y sudoformat: User host= (as_user) commandsFor
Just make out, the mood is very excited, from the installation of Ubuntu to run the compilation tool chain really got a week. With the version of UBUNTU14 and Vedon that version is really bad too much, so the problem is endless. Today, I started
Linux processing after P2V/boot/sh-3.2# mkinitrd-v-F initrd-2.6.18-164.el5.img $ (uname-r)Kernel file name kernel version number to package# #更新当前虚拟机的内核;#如果修复光盘与系统不一至的情况: $ (uname-r) here directly knocks the kernel version number of the virtual
1, operating system 1.1, the components of the Linux kernel (System):The kernel mainly consists of five parts: process scheduling, memory management, virtual file system, network interface and process communication. (1) Process schedulingProcess
Linux adds sudo permissions to the user:The root user for Linux is the Almighty God, any file can enter, any file can be modified, for our rookie is really dangerous ahSo there are times when you need to give the user sudo permissionsEnter Super
In order to make continuous integration with the previous ant+jenkins, a Jenkins platform needs to be built in a Linux environment. There are many examples of installation on the Internet, I mainly record the problems I encountered, really is
(from the Internet, non-original, easy to find)A. Linux network configuration frequently used commands1) #ifconfig//View the configured NIC/sbin/ifconfig2) # vi/etc/resolv.conf//Modify the DNS resolv.conf keywords are mainly four,
1.rpm Mode installation:Rpm-qa | grep JDK to see if the JDK is installed, or to view the Java version with Java-versionRPM-E--nodeps java-1.7.0-openjdk-1.7.0.45-2.4.3.3.el6.x86_64 forced uninstallation of previous JDKRPM-IVH jdk1.8.0_65.rpm
In Linux, use the PWD command to view the full path to the current working directory. Simply put, you will have a current working directory every time you operate in a terminal.When unsure of the current location, PWD is used to determine the exact
Shmgetint Shmget (key_t Key, size_t size, int flag); Key: Rules for identifiers Size: Number of bytes shared bucket flag: Read-Write permission return value: The ID of the shared store was successfully returned, failure returned-1key_t Key-------
RPM commandRPM is a powerful Redhat package management tool that allows you to create, install, query, validate, upgrade, and uninstall each package, which stores files, including the files and names, versions, descriptions, and other information
Process IntroductionProcedures and ProcessesA program is a software designed to accomplish a task, such as a OpenOffice program. What is a process? A process is a running program.A running program, there may be multiple processes. For example, the
Command formatSS [Options] [ FILTER ]Command parameters-H,--helpDisplays help information.-V,--versionDisplays version information.-N,--numericThe service name is not resolved.-R,--resolveTry to parse the address and port in digital form.-A,--allAll
1, with DF Check discovery/root directory free space is 0 [[Email protected]/] #df-H//view system disk space 2, with du inspection found that each directory occupies little space, there is about 3g of space inexplicably lost. [[Email protected]/]#
1. View the process: Ps-ef or Ps-auxGet the PID of the process:such as:PSgrepgrep"grep"awk'{print $ 2}'2. Query According to the process number:# pstree-p Process Number# TOP-HP Process Number3. Query According to the process name:# pstree-p ' ps-e |
Host windows7 virtual machine Debian 8 -bit1.vbox virtual machine Linux mount Windows folder -bit systemMount-t vboxsf/ shared Windows directory name /linux under the directory name you want to mountMount-o Loop The name of the directory under
Ubuntu ufw firewall rule sequence Problems
This article uses Ubuntu 14.04 as an example to explain the ufw firewall rule sequence.
------------------------------ Here we should use the split line elegantly --------------------------------
Let's talk
ITerm-enrich your command lines
Today we will introduce you to a tool:iTerm. This time we are talking about development technology, but it is just a tool. However, although it is a tool, it can improve your skill level. Let's take a look at it.
Getting started with Linux: how to force password change next time you log on to Linux
Q: I am managing a Linux Server shared by multiple users. I just created a new user using the default password, but I want to change the password when I log on
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