Special permissions for the Linux Foundation

Special permissions on Linux systemsSpecial privileges: SUID, SGID, STICKYSecurity context:1. The process runs as a user, and the process is the agent that initiates the user of this process, so all operations are done with this user's identity and

Linux w Command Detailed

WOptions and their descriptions-H does not display the caption of the output information-l output in long format-S output in short format, does not show logon time, Jcpu time, and pcpu time-V Display version informationExample[Email protected] ~]# W2

Manually Freeing Linux memory

Reprinted from: http://blog.csdn.net/wyzxg/article/details/7279986/Memory view of Linux:[Email protected] 0.1.0]# free-mTotal used free shared buffers Cachedmem:4032 694 3337 0 0 25Need to note is, mem used=free+buffers+cached, some cases is cached

Linux sort uniq command. Simple Application

-N #代表以数字方法排序 If reverse is added to-R-T ': ' #-t specify delimiter-K #指定第几列----------------------------------------------------------------------The text is as

Linux Common Commands Summary--ssh

1. SSH InstallationService side: Openssh-serverClient: Openssh-clientCan be installed directly using Yum Install2. SSH using ssh-l user_name-p port host3. SSH configurationConfiguring the SSH service's operating parameters is done by modifying the

linux:-tips for copying or transferring files

TAR-CF-./*--exclude= "nohup.out" | (cd/opt/&& tar-xf-) rsync--exclude= "Nohup.out"\CP-RFP Loggerserver/data/server/loggerserver_acc!:gs/loggerserver/nameserver/!-2:gs/loggerserver/sessionserver /TAR-CF-./*--exclude= "nohup.out" | Nc-l 13100NC 192.168

Linux basic Commands

Command format: command-option parameterLs-a L H i DFile type user rights belong to group permissions other people permissionsMkdir-p Creating a directory recursivelyCdPwdRmDir Delete Empty DirectoryCp-r Copy Directory-p retain original file

Linux View system commands

CPU Information1. View the number of logical CPU cores# cat /proc/cpuinfo| grep "Processor" | WC -L2. View the number of physical CPUs# Cat /proc/cpuinfo | grep "Physical ID" | Sort |uniq| WC –l3. CPU Details# Cat /proc/cpuinfo4, CPU utilization

QT Linux/ubuntu Platform Installation qt5.7.1 2016.12.25

QT Download:https://www.qt.io/download-open-source/View All Downloads:650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/8C/06/wKioL1hfvYvhnCF9AACLGCdAT6c626.png "style=" float: none; "title=" 01 download page. png "alt="

Linux Basic File View Class command

File View class commands: Cat, TAC, head, tail, more, lessSplit-screen view commands: More and lessMore commands:More FILEFeatures: Turn the screen to the end of the file automatically exit;Less command:Less FILEHead command:View the first n rows of

Linux-ubuntu Common subdirectories and their roles

Ubuntu system when locating files or directory locations, use "/" to separate them (different from the anti-\ in Windows). Throughout the tree structure, a separate "/" is used to denote the root directory, which is the starting point of the Ubuntu

The use of the Linux Base Access command helps

Get help with using the command:Internal command:Help COMMANDExternal command:(1) command to use Help with a brief format# COMMAND--help(2) User's Manual: manualLocation:/usr/share/man# Man COMMANDSection:NAME: Description of functionalitySynopsis:

View Linux partition space usage

[[Email protected] /]# df -hl File System                    capacity    used    available   used%  mount point/dev/mapper/ Centos-root   18g  855m   17g    5% /devtmpfs                  479m      0  479M    0% /devtmpfs                     489m     

Linux Common commands

Modify the Initdefault parameter in the/etc/inittab file can modify the default start graphical interface or text interface, 3 is the default to enter the text interface, 5 is the default to enter the graphical interface.Init 6Shutdown–r now

[Linux] Structured command IF

The syntax structure is as follows:1. If-then statementsIF-thenstatement if command #根据conmmand的退出状态码, select Execute statement then commandsfie.g.#! usr/bin/Bashtestuser=Richif grep $testuser/etc/passwdthen for user $testuser is:

Linux sort function

The sort command is very useful in Linux, which sorts the files and outputs the sort results standard. The sort command can get input from either a specific file or from stdin.From: Http://man.linuxde.net/sort-----------------------------------------

Startup, shutdown, kill process for Tomcat under Linux

Data Source:http://blog.csdn.net/justfornn413/article/details/4945899Execute the./shutdown.sh command in the Tomcat/bin directory when the Tomcat service cannot be closed:Open TerminalCd/java/tomcat#执行Bin/startup.sh #启动tomcatBin/shutdown.sh

Linux File Permissions property settings

1 file permission property settings2 3 1. Chown command4 chrep Command5 The chown command alters the owner of a file or directory and the group it belongs to, which can authorize a user to become the owner of the specified file or to change the

Linux Learning Notes

Apache's virtual host encryption and Apache web rewriteConfigure the underlying virtual host for cryptographic authentication(Virtual host news.westos.com)Cd/etc/httpd/conf.dVim news.confServername

Can & #39; t run roscore & amp; sudo, canrunroscore

Can't run roscore & sudo, canrunroscore I'm using ubuntu14 LTS. Problems: 1. When run roscore, got a mistake and an advice to ping the localhost. 2. Nearly every time I run a directive with sudo, I got a warning that unable to resolve host.   It

Total Pages: 5467 1 .... 3618 3619 3620 3621 3622 .... 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.