Linux common commands and descriptions miscellaneous

Systemctl command: Systemctl is the primary tool for policing services, integrating Chkconfig with service functionality.Example:Systemctl is-enabled Iptables.service #查询服务是否开机启动Systemctl Enable *.service #开机运行服务Systemctl Disable *.service

Learning Journey to Linux

Linux file system hierarchy standard FHS /etc===== and host-related system configuration file edit the Configure /home===== User Home Directory /usr====== a two-tier hierarchical directory. The default is the largest. /dev=====

Linux Network commands

The number of times a 1.ping command is followed by the-c parameter to connect to a flat linkPing-c 10 127.0.0.1means to stop after PING10 times2. nslookup command to see how many IP addresses the domain name resolves[Email protected]:/etc$ nslookup

OA environment for Linux system issued

View the system release version of LinuxCat/etc/issueCat/etc/redhat-releaseView the system of the CPUTop (Press the number keys 1, 2, 3 to switch the case of each CPU, if only 1 CPUs represent a single core)To see the remaining memory size, there is

7. Memory knowledge and Linux Basic principles

其实我们的操作系统也可以理解为一个虚拟机,因为他是把硬件资源虚拟成文件系统可以识别使用的程序The swap partition for Linux is also equivalent to Windows virtual memory:Computer three major key:1, Cpu:time Slice2. Memory:3. I/O device:Cpu:time SliceI/O devicesMemory Work ModelIf the memory is 4G,

Pthread Linux Mutet:example1

#include #include#include#includestring>using namespacestd;#defineSTART 1#defineEND 0intStatus =START;void* Queuewhile (void*);void* DoSomething (void*);p thread_mutex_t mutexes;intMain () {//int status = START;cout "Please,enter Something, if the

Linux Learning Note 1.0

Terminal (terminal)Physical Terminal Console Console (/dev/console)Virtual Terminal (/dev/tty[1-6]) tty:teletypewriters, can have N, ctrl+alt+f[1-6]Graphics Terminal (/DEV/TTY7)Serial Terminal (/dev/ttys#)Pseudo Terminal (/dev/pty/#)

Linux-Service Basics

/etc/init.d/sendmail Start # Start service /etc/init.d/sendmail Stop # Close service /etc/init.d/ SendMail Status # View the current status of the serviceecho Content | /bin/mail-s "title"

Linux Automated Installation JDK

I. Automated deployment of JDK ideasA, you can use a Linux machine as an HTTP server, JDK version resources can be placed on the HTTP server, so that the unified use of wget to download the JDK.The official JDK is downloaded directly using wget

Surface install Linux Pit record: Grub cannot be installed

Recently prepared for the interview, very want to expand their own technology stack, and then found on the Linux.Then install Linux of course, it is their own SP3, anyway, usually used as a netbook, and finally can explore the potential of 233But

How Linux looks for a specific character file or directory

1. Display all files or directories with L, ending with a lowercase letter, and with at least one digit in the middle of the/var directory2. display files or directories that start with any digit in the/etc directory and end with a non-digit3,

More and less command usage in Linux

One, more instructionsMore features like cat, the Cat command is the entire contents of the file displayed on the screen from top to bottom. More will be a page-by-page display to facilitate users to read pages, and the most basic instruction is to

009_ shut down the Linux THP

Background:Company A large business system feedback the recent database server is always down (described here is not accurate, explained later), finally, the customer, operation and maintenance personnel feel really unbearable, the project manager

Linux common commands (i)

Command: LS (list)Permissions: All users (then all users, if not shown thereafter)Description: Show file directorySyntax: LS option [-al] [file or directory]A: Show all files, including hidden filesL: Show detailed informationCommand: TouchSyntax:

Linux Screen command usage tips

First look at screen's official note:GNU ' s screen official site: http://www.gnu.org/software/screen/In simple terms, screen is primarily used to perform long, uninterrupted backups, test and transfer tasks (recovery sessions), and shared Terminal

Linux Storage Management

First, mechanical hard disk1. Mechanical hard disk is the main storage medium of the current computer, composed of magnetic head and magnetism platter, the main term of mechanical hard disk:A projection of the running trajectory of the magnetic head

Linux Common commands

First, the user1 su Switch User2 Su-with slash indicates permission to replace User configuration informationSecond, network card1 Ps-efPs-ef|grep sshd to see if the SSH service is started (process number PID)2 kill-9 Lorekill-9 pid forced stop SSH

Installing JDK8 in Linux

1. First go to Oracle website to download the latest version of the JDK, posted here: http://www.oracle.com/technetwork/java/javase/downloads/ Jdk8-downloads-2133151.html, as shown, be sure to select "Accept License agreement", otherwise you cannot

n Methods for killing process (kill) under Linux

First, use PS to view the process as follows:$ ps-ef......Smx 1822 1 0 11:38? 00:00:49 gnome-terminalSmx 1823 1822 0 11:38? 00:00:00 Gnome-pty-helperSmx 1824 1822 0 11:38 pts/0 00:00:02 bashSmx 1827 1 4 11:38? 00:26:28/usr/lib/firefox-3.6.18/firefox-

Centos7 sets logon Failure to automatically lock users for 10 minutes, centos710 minutes

Centos7 sets logon Failure to automatically lock users for 10 minutes, centos710 minutes Vim/etc/ssh/sshd_config modify UsePAM to yes UsePAM yes Restart sshd service Vim/etc/pam. d/login add Auth required pam_tally2.so deny = 3 lock_time = 600

Total Pages: 5467 1 .... 2930 2931 2932 2933 2934 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.