Rights Management of Linux Learning notes

Source: Internet
Author: User
Tags i18n

Umask
Catalog: 777-umask
Files: Permissions after 666-umask touch
umask=023
File does not have Execute permission by default
Touch A.txt mod=643---> Executable, automatically add 1. Becomes 644.
To directory: mkdir BB mod=754 does not change

Suid
Sgid
Sticky can only delete files that you have created

chmod U+s A

Suid the current user has file host permissions
Sgid The current user group has directory host permissions, directory host.
Sticky files created by multiple users in this directory can only be deleted by the host and appear in other bits. Just can't delete files, but can write files.

chmod O+t/myproject

IP Address
Ifconfig EthX ip/netmask Immediate effect, temporary useful. Not permanently valid.
System-config-network-gui &
Xmanager Open the Xserver on Linux
Setup Export lang=en
Locale localization.
/etc/sysconfig/i18n I18N International
BOOTP Permanently assigned IP address
DHCP temporarily assigns IP addresses, leases, and recycles.
Userctl whether the network card can be used or disabled by other users
Type network device types Ethernet POP
Ifdown EthX && ifup EthX
Redhat Support
Service Network restart
/etc/init.d/network restart

FQDN Full qualified Domain Name
/etc/resov.conf DNS resolver Specifies DNS
Hostname Define host name View host name
Hostname name defines host name
/etc/sysconfig/network define the host name of the system settings
Networking=yes|no restrict access to the Internet. Yes can surf the internet, no can not surf the Internet.
Hostname= system is still active after reboot
Agteway define the gateway scope must be a network card is generally based on the network card

One NIC multiple aliases:
Eth0 eth0:0 eth0:1
/etc/sysconfig/network-scripts/ifcfg-eth0:0
Ifconfig eth0:0 192.168.10.1/24
Vim!$ $ last parameter of last command
Specifies the route.
Route specifies routes.
Route add
Route-n
Route add-net 10.0.0.0/8 Gateway 192.168.10.1
0.0.0.0 Direct-Connect routing

Rights Management of Linux Learning notes

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.