Simple description of Linux file permissions

Each file or directory in Linux contains access rights that determine who can access and how to access these files and directories.by setting permissions, you can restrict access from the following three types of access: Allow only the user to

Operations encountered under Linux (continuous update ...) )

1. The job lets write an input and output redirect, pipe connection. That's not what I'm talking about here. But I wanted to write a program to demonstrate these features: But I found out that my virtual machine was not loaded with the GNU g++

Configuration and use of NFS under Linux

NFS, a networked file system (network filesystem) that allows computers in a network to share resources across TCP/IP networks. In an NFS application, a local NFS client application can transparently read and write to files located on the remote NFS

Linux Extended Swap partition

One, view existing memory and swap# free-mTotal used free shared buffers CachedMEM:2026 1931 95 0 15 1789-/+ buffers/cache:127 1899swap:3074 2 3071Second, create a 2G file with the DD command (2g=1024*1024*2=2097152)#dd If=/dev/zero of=/var/swapfile

Linux display memory statistics for maximum and minimum details

Linux display memory statistics for maximum and minimum details[Email protected]:~$ free-l Total used free shared buffers cachedmem: 3103064 1547152 1555912 7412 66264 647296Low: 3103064 1547

Linux network communication

The earliest instant communication in the history of network commands1 Write LinzhilingContentCtrl+d EndSuch a letter is written out, note: Only users can send the online2wall (Write All)Write to all the users3ping commandPing 192.168.1.1Note: The

Linux file permissions

The core of Linux security system is the user account, each person who accesses the Linux system should have the assigned, unique user account,/ETC/PASSWD contains several information related to Linux users;; As follows:User name: User password: uid:

Linux Learning Recommendations

Advice for BeginnersPrecautions:1 strictly case-sensitive, including commands and folders, Windows and Linux systems are not the same2 All content is saved with the file, including the hardware, the file to be permanent, all write to the file, so

Linux displays memory size in GB

Linux displays memory size in GB[Email protected]:~$ free-g Total used free shared buffers Cachedmem: 2 1 1 0 0 0-/+ buffers/cache: 0 2Swap:

Linux Help commands

Help commandsMan (manual) can be used to view 1 command 2 configuration filesFormat Man ls1 Viewing commandsLook at the first line nameIf you want to see-l, then enter/-l directly2 Viewing configuration filesMan View profile information (Note:

Linux Switch port issues

Linux Switch port issues:We know some common ports, such as MySQL Port 3306,sql port is: 1433, and Tomcat port is8008 and so on!When these ports are not opened under Linux, we are unable to use them, the database is unusable, the browser has noUse

The extraction of locks and semaphores used in Linux

1. Semaphore (synchronization between two processes)struct semaphore Power_sem; Sema_init (&pdata->power_sem,1); down (&pdata->power_sem); up (&pdata->power_sem); 2. Mutex Amountstruct mutex Led_mutex; Mutex_init (&led_mutex); Mutex_lock

Poll functions for multi-user chat under Linux

Client:#define _gnu_source 1#include #include #include #include #include #include #include #include #include #include #include #define BUFFER_SIZE 64int Main () {const CH Ar *ip= "127.0.0.1"; int port=12345; struct sockaddr_in

Linux Common commands

command [options] [parameters]------------------------Positioning------------------------CD webapps/--Navigate to WebAppsCd.. --Go back to the parent directoryCD---go back to the previous directoryCD--Back to home directory--Displays the full path

How to enable the CentOS service automatically upon startup

How to enable the CentOS service automatically upon startup 1. Use chkconfig to configure the startup levelIn other CentOS or RedHat systems, if services are installed later, such as httpd, mysqld, and postfix, the system will not start

Add a new hard disk to CentOS

Add a new hard disk to CentOS Connect the hard disk to the server, start linux, and log on as root.For example, if I add a new SCSI hard disk, We need to divide it into three areas: # Fdisk/dev/sdb enters the fdisk mode: Command (mforhelp): p //

Add hard disks and resize CentOS7 LVM

Add hard disks and resize CentOS7 LVM I. Introduction to LVM LVM is short for Logical Volume Manager (Logical Volume management). It is a mechanism for managing disk partitions in Linux. LVM virtualizes one or more disk partitions (PVs) into one

Set grub Password in CentOS6.6

Set grub Password in CentOS6.6 There are three methods to set the grub Password: 1. Set the plaintext Password Edit the grub configuration file # vi/etc/grub. conf Open it and enter it in the next line of hiddenmenu. Password = 123456 Save and exit.

Batch replacement of strings in Vi

Batch replacement of strings in Vi Replace strings in batches in Vi. A. replace all in the file: % S # abc # def # g (replace all abc files with def) For example, replace "bkjia.com" in a text file with "bkjia.net ": : % S # bkjia.com #

Share (copy and paste) with the host in VMware Workstation Virtual Machine Ubuntu)

Share (copy and paste) with the host in VMware Workstation Virtual Machine Ubuntu) After the Virtual Machine Ubuntu is installed in VMware Workstation, it cannot be shared with the host at first, that is, the copy and paste functions can be

Total Pages: 5467 1 .... 5058 5059 5060 5061 5062 .... 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.